How can I convert a place name to its Latitude and Longitude values in OpenStreetMap?

asked 15 Nov '12, 08:49

Nightfury's gravatar image

Nightfury
11112
accept rate: 0%

edited 15 Nov '12, 10:46

SomeoneElse's gravatar image

SomeoneElse ♦
35.4k70362843


OSM uses Nominatim for geocoding. If you have a look at that wiki page you'll see some examples, and the output format can be varied, so that for example:

http://nominatim.openstreetmap.org/search?format=xml&q=london

produces these results.

If you plan to call it more than once you'll need to read the usage policy that goes with OSM's nominatim instance. Mapquest also run a Nominatim instance, with their own terms of use.

permanent link

answered 15 Nov '12, 10:44

SomeoneElse's gravatar image

SomeoneElse ♦
35.4k70362843
accept rate: 15%

Type place into search box, select correct one then right click permalink, then right click copy link address this can the be pasted into a doc so it can be emailed, or if you just want to read it paste it into the search box and scroll along it. The Potlatch2 editor will display lat long of the mouse pointer if you wish, it is in options drop down.

permanent link

answered 15 Nov '12, 09:10

andy%20mackey's gravatar image

andy mackey
12.9k85140280
accept rate: 4%

edited 15 Nov '12, 09:19

What you are looking for is called geocoding. Enter the term in the search box above and see what you find.

permanent link

answered 15 Nov '12, 09:09

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
79.7k907011232
accept rate: 23%

Sir I did that and I got the answer http://py-googlemaps.sourceforge.net/ but I don't want to use googlemaps thats y i came here. please help

(15 Nov '12, 09:14) Nightfury
3

Frederik was talking about the search box on this site.

(15 Nov '12, 09:41) sleske
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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:

×341

question asked: 15 Nov '12, 08:49

question was seen: 14,227 times

last updated: 15 Nov '12, 10:46

powered by OSQA