I'm trying to get a residential road using the reversegeocoding with nominatim. This is what I have constructed

https://nominatim.openstreetmap.org/reverse.php?format=html&lat=47.5&lon=-122&zoom=16&highway=residential

but the road returned is not residential, instead it's classified as "highway:track" how can I get the closest residential road when given gps coordinates?

asked 03 Aug '18, 14:27

Dave4784's gravatar image

Dave4784
16334
accept rate: 0%


Nominatim can't do it. It understands a couple of special phrases https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases for points-of-interest type searches, but not road types. https://wiki.openstreetmap.org/wiki/Overpass_API might work for your use case.

permanent link

answered 06 Aug '18, 11:24

mtmail's gravatar image

mtmail
2.6k644
accept rate: 26%

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:

×549
×205
×117
×72
×6

question asked: 03 Aug '18, 14:27

question was seen: 477 times

last updated: 06 Aug '18, 11:24

powered by OSQA