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

mmd notifications at github.com
Sun Aug 18 08:26:36 UTC 2019


Right, we don't use the header fields in https://api.openstreetmap.org/api/0.6/trackpoints?bbox=0,51.5,0.25,51.75&page=0 

I see a small incompatibility on the <trk> element:

The previous <url> element has moved to a link element:

```
    <link href="http://www.xsd2xml.com">
      <text>str1234</text>
      <type>str1234</type>
    </link>
```



```XML
  <trk>
    <name>2019_06_22.gpx.gz</name>
    <desc>Bike ride</desc>
    <url>https://api.openstreetmap.org/user/TomH/traces/3026889</url>
    <trkseg>
      <trkpt lat="51.7443750" lon="0.0000117">
        <time>2019-06-22T14:56:39Z</time>
      </trkpt>
      <trkpt lat="51.7443833" lon="0.0000500">
```

-- 
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#issuecomment-522301988
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190818/b3c6aa27/attachment.html>


More information about the rails-dev mailing list