]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.gpx.builder
Merge remote-tracking branch 'openstreetmap/pull/1082'
[rails.git] / app / views / notes / show.gpx.builder
index e54d7724692b59d63b5c24951e73079e095feccf..8bb6c9688c60cae7f62113c813d23b5d9b6b4b40 100644 (file)
@@ -1,6 +1,8 @@
 xml.instruct!
 
 xml.gpx("version" => "1.1", 
 xml.instruct!
 
 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", :object => @note)
         "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", :object => @note)