[OSM-dev] Malformed API results

Mike Parfitt m_parfitt at hotmail.com
Fri Dec 13 18:09:07 UTC 2019


The https://api.openstreetmap.org/api/0.6/user/gpx_files call returns a long stream of <description> tag values before the xml that it is supposed to return.  See below for an extract :-

by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle Exploring roads by vehicle
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<osm version="0.6" generator="OpenStreetMap server" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
<gpx_file id="3165163" name="20191213140001.gpx" user="Mike Parfitt" visibility="identifiable" pending="false" timestamp="2019-12-13T17:11:02Z" lat="50.713699032783" lon="-2.43588242669799">
<description>Exploring roads by vehicle</description>
</gpx_file>
<gpx_file id="3165163" name="20191213140001.gpx" user="Mike Parfitt" visibility="identifiable" pending="false" timestamp="2019-12-13T17:11:02Z" lat="50.713699032783" lon="-2.43588242669799">...</gpx_file>
<gpx_file id="3165161" name="20191213093936.gpx" user="Mike Parfitt" visibility="identifiable" pending="false" timestamp="2019-12-13T17:10:23Z" lat="50.799848844305" lon="-2.27696078478123">
<description>Exploring roads by vehicle</description>
</gpx_file>
<gpx_file id="3165161" name="20191213093936.gpx" user="Mike Parfitt" visibility="identifiable" pending="false" timestamp="2019-12-13T17:10:23Z" lat="50.799848844305" lon="-2.27696078478123">...</gpx_file>
<gpx_file id="3165160" name="20191212170117.gpx" user="Mike Parfitt" visibility="identifiable" pending="false" timestamp="2019-12-13T17:10:09Z" lat="50.851468952236" lon="-2.16716561275977">
<description>Exploring roads by vehicle</description>
</gpx_file>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20191213/2018516d/attachment.html>


More information about the dev mailing list