Move planet.osm license comment to proper XML attributes on <osm>
authorGrant Slater <openstreetmap@firefishy.com>
Tue, 11 Sep 2012 14:50:09 +0000 (14:50 +0000)
committerGrant Slater <openstreetmap@firefishy.com>
Tue, 11 Sep 2012 14:50:09 +0000 (14:50 +0000)
output_osm.c

index d26ab82..5a7ed24 100644 (file)
@@ -203,10 +203,10 @@ void osm_header() {
 
   printf("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
   printf("<osm version=\"0.6\" generator=\"OpenStreetMap planet.c\" "
-        "timestamp=\"%s\">\n", timestamp);
-  printf("<!-- copyright=\"OpenStreetMap and contributors\" "
-        "attribution=\"http://www.openstreetmap.org/copyright/\" "
-        "license=\"http://opendatacommons.org/licenses/odbl/1.0/\" -->\n");
+        "copyright=\"OpenStreetMap and contributors\" "
+         "attribution=\"http://www.openstreetmap.org/copyright/\" "
+         "license=\"http://opendatacommons.org/licenses/odbl/1.0/\" "
+         "timestamp=\"%s\">\n", timestamp);
   printf(INDENT "<bound box=\"-90,-180,90,180\" "
         "origin=\"http://www.openstreetmap.org/api/0.6\" />\n");
 }