I'm tring to write an application that use REST operation to obtain data for web service. I want know what is the IP address of JOSM's web service (if it's possible). What is the URL that can I use? Can anyone help me?

asked 03 Jul '14, 22:59

scupetta18's gravatar image

accept rate: 0%

edited 03 Jul '14, 23:27

aseerel4c26's gravatar image

aseerel4c26 ♦


JOSM uses several web services (the OSM API and various sorts of imagery) and can use several others (e.g. Overpass).

Are you looking for "a source of map data", "a source of imagery" or "an example API"?

(03 Jul '14, 23:14) SomeoneElse ♦

what is "JOSM's web service"?

(03 Jul '14, 23:27) aseerel4c26 ♦

My purpose is select the car path between two Point and draw this path but I have use REST so I need a valid url to use.. What url can I use?

(03 Jul '14, 23:35) scupetta18

"My purpose is select the car path between two Point and draw this path" … so you are looking for a routing webservice? In this case your question is very confusing because JOSM is anything but routing. JOSM is an editor (to be used by OSM contributors).

(04 Jul '14, 00:15) aseerel4c26 ♦

Presumably you're either (a) looking for the URL of a router (which JOSM isn't) or (b) looking to download some OSM data so that you can write a router to route between two locations?

Assuming it's (b), the OpenStreetMap API is for mapping, so isn't really suitable for your purposes, but Overpass may do what you want. However do be aware that if you want a reasonably large amount of data it would be more efficient to just download an extract of the area you want once rather than continually accessing an API.

permanent link

answered 03 Jul '14, 23:42

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 15%

edited 03 Jul '14, 23:42

SomeoneElse thanks for your advices. I want to ask you how I can take the result of Overpass from java code. Have I to use HTTP request?

(04 Jul '14, 01:49) scupetta18

Yes, but how you do that will depend on the language and environment that you're using, and is out of the scope of this OpenStreetMap help site. In Java, for example, a web search finds half a million examples.

(04 Jul '14, 09:09) SomeoneElse ♦

Ok I use OSM API with REST operation to obtain data.. But do you know if I can obtain the car path between two Point?

(04 Jul '14, 17:21) scupetta18

I'd start by reading this answer to a previous question - it links to the information that we have available.

(04 Jul '14, 17:32) SomeoneElse ♦

Yes thank very much... I think that I can use OSM API to write the query!! Now I read some tutorial!! Thanks much!

(04 Jul '14, 17:48) scupetta18
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 03 Jul '14, 22:59

question was seen: 3,830 times

last updated: 04 Jul '14, 17:48

powered by OSQA