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

I'm conducting some tests against, looking at reverse geocoding. Based upon my observations I have two questions:

1) Given that I'm looking at data generated from a vehicle, this request and response are unexpected:

{"place_id":"9146383198","licence":"Data \u00a9 OpenStreetMap contributors, ODbL 1.0.","osm_type":"way","osm_id":"60694393","lat":"52.506753","lon":"-1.9943365","display_name":"CLOSED for 60 weeks from Sep 2013, Londonderry, Warley, Sandwell, West Midlands, England, B70 6AS, United Kingdom","address":{"footway":"CLOSED for 60 weeks from Sep 2013","neighbourhood":"Londonderry","suburb":"Warley","city":"Sandwell","county":"West Midlands","state_district":"West Midlands","state":"England","postcode":"B70 6AS","country":"United Kingdom","country_code":"gb"}}

It seems that I need Nominatim to ignore ways with highway=footway - can I achieve this?

2) Can I ask for a reverse geocoded response to include other tag values? I have been able to find the maxspeed tag value by requesting an api lookup following the reverse geocode request, for example:

This is ok but it would be far better if I could obtain the information from a single reverse geocode call as it seems reasonable to expect to be able to obtain other tag values from Nominatim. Is this possible? I note the Extra Tags shown from the Nominatim data here:

If these things are not possible then I wonder if I could better achieve it I had my own Nominatim instance? I'm prepared to get into the Nominatim coding and make changes if necessary (but obviously need to consider the impact of the change and ensure it avoids any behavioural change for other contributors).

Thanks for any advice.

Note I also asked this question here:

asked 02 Dec '13, 16:18

Elliveny's gravatar image

accept rate: 0%

edited 02 Dec '13, 16:20

Neither of these two problems can be solved with the current API. However, solutions are fairly easy to implement and would be a welcome addition to the API. If you know a bit of PHP and like to get your hands dirty, they are a good place to start contributing to Nominatim. For a more in-depth discussion on how to best proceed, join the geocoding mailinglist or #osm-nominatim on IRC.

permanent link

answered 03 Dec '13, 09:14

lonvia's gravatar image

accept rate: 40%

if that way was named correctly (or not named at all). You would have gotten a better hit from a nearby source. I fixed that bad tagging for you in OSM in 5min. It will disappear eventually from nominatim too.

permanent link

answered 28 Dec '13, 02:25

gplv2's gravatar image

accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 02 Dec '13, 16:18

question was seen: 7,874 times

last updated: 28 Dec '13, 02:25

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