[OSM-dev] Download invalid xml data with bbox request

Thomas Emge temge at esri.com
Thu Aug 5 22:11:52 BST 2010


Every now and then I run into some invalid xml document being downloaded when I request data with a bounding box like

http://www.openstreetmap.org/api/0.6/map?bbox=9.97014,53.57199,10.02984,53.59460

The downloaded xml document contains a section where the response looks like it is starting a second xml document within the first xml response.

Any idea why this is happening?

Thanks,

Thomas


.....snip......
<node id="835615933" lat="53.5901994" lon="10.0080467" user="!i!" uid="25720" visible="true" version="1" changeset="5331741" timestamp="2010-07-27T17:38:32Z">
  <tag k="leisure" v="pitch"/>
  <tag k="sport" v="multi"/>
 </node>
 <node id="835615953" lat="53.5905807" lon="10.0156611" user="!i!" uid="25720" visible="true" version="1" changeset="5331741" timestamp="2010-07-27T17:38:32Z">
  <tag k="amenity" v="fa<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="CGImap 0.0.2">
 <bounds minlat="53.5719900" minlon="9.9701400" maxlat="53.5946000" maxlon="10.0298400"/>
 <node id="15738670" lat="53.5900548" lon="10.0131039" user="ajeba" uid="167616" visible="true" version="5" changeset="4448816" timestamp="2010-04-17T15:30:16Z">
  <tag k="highway" v="traffic_signals"/>
 </node>
<node id="15915165" lat="53.5944770" lon="9.9987421" user="ajeba" uid="167616" visible="true" version="12" changeset="4170629" timestamp="2010-03-19T14:37:24Z"/>
.......snip....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100805/d7c1c19d/attachment.html>


More information about the dev mailing list