[openstreetmap/openstreetmap-website] Api: Get /api/0.6/trackpoints returns gpx version 1.0 (#2350)

blackboxlogic notifications at github.com
Sun Aug 18 03:15:41 UTC 2019


When calling
Get /api/0.6/trackpoints?bbox=left,bottom,right,top&page=pageNumber
The result 
`<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.0" creator="OpenStreetMap.org" xmlns="http://www.topografix.com/GPX/1/0">
	<trk>...`
Is gpx version 1.0 which is "old" as of 2004. See https://www.topografix.com/gpx.asp
Could the call take another optional parameter specifying the gpx version to return? (either 1.0 or 1.1 which is current)
For backward compatibility, default to current behavior (1.0) if the value is ommited. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2350
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190817/6c395630/attachment.html>


More information about the rails-dev mailing list