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

Help with Osmosis API

0

I'm trying to use the Osmosis API (the Jar file not the command-line tool) in my Java application but not sure how to get started as there doesn't seem to be enough stuff on the web to help people with this. Specifically, I'm trying to extract all the highways for a particular area (which will be specified using a bbox).

Any ideas?

Thanks in advance.

asked 04 Apr '13, 22:58

Sadeer's gravatar image

Sadeer
1768914
accept rate: 0%


One Answer:

0

Hi Sadeer, did you search in the menu for an answer ? Just type the key words of your question. API Jar file and Java together in the command line just below the dark blue questions tab, good luck. Theres a lot to read. Greetz

answered 04 Apr '13, 23:47

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%

Tried that but most of the results are talking about how to use command-line tool to negotiate with the OSM API, they're not talking about how to use the Osmosis API. Can you please provide any pointers to useful content - appreciate it so much.

Thanks.

(05 Apr '13, 09:00) Sadeer

Source code available on GitHub .