This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Cannot send XAPI query: “Bad Request”

0

Hello,

I try to get the list of ski slopes in this way in vain. The answer is file not found. Thank you for your help ...

http://api.openstreetmap.org/api/0.6/node[piste=downhill][bbox=6.5224,44.5101,6.8232,44.668]

asked 04 May '12, 07:30

iDevelopper's gravatar image

iDevelopper
11112
accept rate: 0%

edited 04 May '12, 12:23

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273


One Answer:

4

You are sending an XAPI style request to the Editing API. This does not work. Choose one of the servers listed on the XAPI page, or if those don't work, try the Overpass API.

answered 04 May '12, 07:36

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Oups !

Thank a lot, I have tried with jxapi.openstreetmat.org but this server is down.

With for example http://jxapi.osm.rambler.ru/xapi/api/0.6/way[piste:type=downhill][bbox=6.5224,44.5101,6.8232,44.668]

it's ok

Best Regards

(04 May '12, 11:35) iDevelopper

Source code available on GitHub .