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

org.openstreetmap.osmosis.core.OsmosisRuntimeException

0

When I try to download osm data with the api using this link:

http://jxapi.openstreetmap.org/xapi/api/0.6/map?bbox=-73.60100000000001,45.399,-73.559,45.440999999999995

I got an org.openstreetmap.osmosis.core.OsmosisRuntimeException?

Someone could help me!?

Thanks

asked 12 Jan '12, 18:53

Maxime's gravatar image

Maxime
16113
accept rate: 0%


One Answer:

2

There are a few issues with that request. The first is that You need some square brackets around the bbox, the second is that you've got a spurious "map" in there and the third is that I don't think that jxapi.openstreetmap.org has woken up from hibernation yet. If you try instead:

http://open.mapquestapi.com/xapi/api/0.6/*[bbox=-73.60100000000001,45.399,-73.559,45.440999999999995]

it should work.

answered 12 Jan '12, 19:15

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 12 Jan '12, 19:16

Source code available on GitHub .