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

Hi everyone, I am just wondering if there is a way to use OSM for creating a radius search feature on a web-based app. The idea would be to input a City and a State and a predetermined "radius" value (measured in miles) to pop up results (basically rows) containing Cities and States within the radius of the initial City and State defined initially. So if I put in Los Angeles, CA; and a radius of 100miles, I would like for the app to look up cities within that area.

Thanks!

asked 14 Sep '12, 18:18

Sergiu's gravatar image

Sergiu
16111
accept rate: 0%


If I am not wrong this feature is at the OverpassAPI

Do a search there for the parameter "around" to get results limited by a radius.

But before, get familiar how to use OverpassApi at all, it seems not to be an easy toy for fresh OSM beginners :-)

permanent link

answered 15 Sep '12, 14:53

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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:

×193
×144
×12

question asked: 14 Sep '12, 18:18

question was seen: 6,466 times

last updated: 15 Sep '12, 14:53

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