This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Get just street names around 1000 meters of a street in a city

0

Hi,

I need to have a list of just street name around a given street ina given city in a certain range. Is it possible? I wuold need in json format

asked 18 Jan '18, 09:18

mikfaina's gravatar image

mikfaina
11112
accept rate: 0%

edited 18 Jan '18, 09:35


One Answer:

1

Here's an example Overpass API script that searches the visible area for a particular named street and then outputs the names of nearby streets:

http://overpass-turbo.eu/s/v4f

Click "Run" there without moving the map much (or "Bluegrass Drive" won't be found). I don't think there is a way to make the output any simpler.

You could adjust the script to use some other method of finding the starting street. There's quite a few options https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL.

answered 19 Jan '18, 04:15

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

Source code available on GitHub .