]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.gpx.builder
Merge remote-tracking branch 'upstream/pull/1973'
[rails.git] / app / views / notes / index.gpx.builder
index 5a7f34dbd59395a508fa5eef153d3330201c390f..58da357da5f6daa688ed27de65f333c2c83b9858 100644 (file)
@@ -1,6 +1,8 @@
 xml.instruct!
 
 xml.instruct!
 
-xml.gpx("version" => "1.1", 
+xml.gpx("version" => "1.1",
+        "creator" => "OpenStreetMap.org",
+        "xmlns" => "http://www.topografix.com/GPX/1/1",
         "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
         "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
   xml << (render(:partial => "note", :collection => @notes) || "")
         "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
         "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
   xml << (render(:partial => "note", :collection => @notes) || "")