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

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


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.

permanent link

answered 19 Jan '18, 04:15

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

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:

×142
×111
×107
×16

question asked: 18 Jan '18, 09:18

question was seen: 3,169 times

last updated: 19 Jan '18, 04:15

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