Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering how I can retrieve places near a given location?

For example, if I pass the osm API the location "Paris" is it possible to retrieve all the main biggest cities around Paris within a given distance? (For example: "osm give me please all the biggest cities near Paris, in a range of 50 kilometers").

Is it possible?

Any idea?


share|improve this question
up vote 1 down vote accepted

Do you want all of the geographic data within those big cities near Paris? If so, you should download an extract of the metropolitan area of Paris and which may also include (or if it's not enough, an extract of all of France).

Do you just want a list of the cities and their geographic coordinates ?

(The query may take 5-10 minutes, You can use the OSM API, specifically the Overpass implementation, to craft an around call such as the following:

<osm-script timeout="600" element-limit="1073741824">
<bbox-query e="2.86" n="49.1" s="48.7" w="1.94"/>
<query type="node">
<has-kv k="name" v="Paris"/>
  <query type="node">
 <around radius="100000"/>
<has-kv k="place" regv="town|city"/>
share|improve this answer
well if it takes too long not thanks, i'll accept this answer if nobodyelse will show any other way to do that, thanks – Badaboooooom Dec 24 '12 at 16:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.