Why not ask your question on the new OpenStreetMap Community Forum?

The following query provides the names of residential streets within the `distance' of the lat and lon. (as yet. my current understanding of the QL is too primitive to make the street names visible other than copying and editing the data screen).

<query type="way"
<around lat="lat_number" lon="lon_number" radius="distance_in_metres"/>
<has-kv k="highway" regv="residential"/>
</query>
<union>
<item/>
<recurse type="down"/>
</union>
<print/>

What would be the form of the query which would provide both the street and area in which the street is found.
The area is to be the area one would normally use in an address eg town, village, suburb etc.

asked 21 Nov '17, 11:28

rorylila's gravatar image

rorylila
41446
accept rate: 0%

edited 21 Nov '17, 11:46

scai's gravatar image

scai ♦
33.3k21308459

Be the first one to answer this question!
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:

×478
×209
×163
×63
×42

question asked: 21 Nov '17, 11:28

question was seen: 1,077 times

last updated: 21 Nov '17, 11:46

powered by OSQA