[OSM-talk] Strange api behaviour
Etienne Cherdlu
openstreetmap-L at gj0.net
Tue Mar 14 22:08:12 GMT 2006
Can anyone explain this rather strange behaviour that I'm seeing when trying
to use the 0.2 api?
If I invoke the following GET request:
http://www.openstreetmap.org/api/0.2/map?bbox=-0.48,51.365,-0.422,51.39
Then I get a response that looks like this:
<?xml version="1.0" ?>
- <#> <osm version="*0.2*">
<node uid="*583259*" lat="*51.3659294083381*" lon="*-0.464632928371429*"tags
="" />
<node uid="*623637*" lat="*51.366738919219*" lon="*-0.437557249638777*"tags
="*created_by=JOSM;*" />
...
which is what I would expect to get. However, if I invoke the following GET
request:
http://www.openstreetmap.org/api/0.2/map?bbox=-0.48,51.36,-0.42,51.39
Then what I get back is a version 0.3 response. Like this:
<?xml version="1.0" ?>
- <#> <osm version="*0.3*" generator="*OpenStreetMap server*">
<node id="*583259*" lat="*51.3659294083381*" lon="*-0.464632928371429*"/>
- <#> <node id="*623637*" lat="*51.366738919219*" lon="*-0.437557249638777*
">
<tag k="*created_by*" v="*JOSM*" />
</node>
...
- <#>
Am I doing something wrong?
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20060314/5fcd2f96/attachment.html>
More information about the talk
mailing list