NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 ♦
36.9k71370866


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 ♦
36.9k71370866
accept rate: 16%

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 ♦
82.5k927201273
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

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
13.2k87143285
accept rate: 4%

edited 15 Nov '12, 09:19

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:

×362

question asked: 15 Nov '12, 08:49

question was seen: 16,709 times

last updated: 15 Nov '12, 10:46

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum