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.5k453209
accept rate: 6%

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:

×162
×116
×8

question asked: 14 Sep '12, 18:18

question was seen: 3,418 times

last updated: 15 Sep '12, 14:53

powered by OSQA