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

Hi, I'm just wondering if it is possible to only return ways using the reverse geocode method from longitude and latitude.

I'm currently using the query http://nominatim.openstreetmap.org/reverse?format=json&lat=53.3533634&lon=-6.363978&osm_type=W.

This however still returns nodes if that's what the co-ordinates point to.

I was wondering if there is a method for finding the way based on the node id, if this is what gets returned based on the query.

Any help on the matter will be most appreciated. Thanks

asked 13 Dec '16, 00:15

shayD's gravatar image

shayD
16112
accept rate: 0%

Sounds like Overpass API is the better approach here, isn't it?

(13 Dec '16, 07:47) scai ♦

Use the zoom parameter. For example http://nominatim.openstreetmap.org/reverse.php?format=html&lat=53.3533634&lon=-6.363978&zoom=16 (you want so change format=html into format=json)

permanent link

answered 13 Dec '16, 00:56

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

1

Thanks for the quick reply and the answer to the question, works perfect!

(13 Dec '16, 01:07) shayD

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:

×689

question asked: 13 Dec '16, 00:15

question was seen: 1,838 times

last updated: 13 Dec '16, 07:47

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