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

[closed] Get coodinates

-1

How do I get coordinates, please, I need some tutorials.

I need to get lat/long of thousands address.

asked 19 Dec '12, 13:37

guibovo's gravatar image

guibovo
7336
accept rate: 0%

closed 19 Dec '12, 14:47

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108

Dear Guibovo, didnt you asked this a day or so earlier ? And got some answers too ? Greetz

(19 Dec '12, 14:30) Hendrikklaas

The question has been closed for the following reason “Duplicate Question” by Jonathan Bennett 19 Dec ‘12, 14:47


One Answer:

5

You are probably looking for a geocoding service. The main OSM geocoding service is documented here:

https://wiki.openstreetmap.org/wiki/Nominatim

If you are bulk geocoding (which it sounds like you are) please note the usage policy:

https://wiki.openstreetmap.org/wiki/Nominatim_usage_policy

Unfortunately there isn't a bulk geocoding interface for this service, you will need to code something to send requests to the API one at a time with a second (or more) of delay between requests.

answered 19 Dec '12, 14:01

twain's gravatar image

twain
2.4k2538
accept rate: 40%

edited 19 Dec '12, 14:09

2

Another possibility is to install a local copy of Nominatim (and import the data into that). There are instructions here:

https://wiki.openstreetmap.org/wiki/Nominatim/Installation

And there's also a virtual machine image available that contains a version of Nominatim and a tile server:

https://wiki.openstreetmap.org/wiki/Virtual_machine_image

(you'd need to import data into that too).

(19 Dec '12, 15:25) SomeoneElse ♦

Can I store the feedback from nominatim?

(19 Dec '12, 17:07) guibovo

You can store the query results. The license is the same as any other OSM data:

Data © OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright

So see the various questions/answers on here about what you can do with OSM data - it is the same answer.

(19 Dec '12, 18:04) twain

Do nominatim give me street leevel coordinations or only city?

(19 Dec '12, 19:23) guibovo
1

twain already mentioned the Nominatim wiki page, the example on that page clearly answers your question.

(20 Dec '12, 13:30) scai ♦

Source code available on GitHub .