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

I have installed my own instance of Nominatim. I followed the instructions per the openmap Nominatim docs. I imported north-america-latest.osm.pbf into my database.

All went well with installation, however, when I query the information i need (i.e. using extratags=1) on my server I do not get a maxspeed returned in the extratags. I have tried querying multiple records and none have the maxspeed tag. When I query http://nominatim.openstreetmap.org I get maxspeed returned.

Examples: http://nominatim.openstreetmap.org/reverse?format=json&lat=28.5383331&lon=-82.3792121&zoom=18&addressdetails=1&extratags=1

Returns:

{"place_id":"105669388","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","osm_type":"way","osm_id":"158732182","lat":"28.5382777","lon":"-82.3808788","display_name":"Cortez Boulevard, Brooksville, Hernando County, Florida, 34603, United States of America","address":{"road":"Cortez Boulevard","village":"Brooksville","county":"Hernando County","state":"Florida","postcode":"34603","country":"United States of America","country_code":"us"},"extratags":{"hgv":"designated","lanes":"2","oneway":"yes","surface":"asphalt",**"maxspeed":"50 mph"**},"boundingbox":["28.5381558","28.5427913","-82.3938975","-82.3680374"]}

My local instance: http://192.168.1.75/nominatim/reverse?format=json&lat=28.5383331&lon=-82.3792121&zoom=18&addressdetails=1&extratags=1

{"place_id":"23114698","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","osm_type":"way","osm_id":"158732182","lat":"28.5382777","lon":"-82.3808788","display_name":"Cortez Boulevard, Brooksville, Hernando County, Florida, 34603, United States of America","address":{"road":"Cortez Boulevard","village":"Brooksville","county":"Hernando County","state":"Florida","postcode":"34603","country":"United States of America","country_code":"us"},**"extratags":{}**,"boundingbox":["28.5381558","28.5427913","-82.3938975","-82.3680374"]}

My question is where can I get a the maxspeed for Nominatim records in my local database? Is there a separate osm.pbf file containing this? Would I be able to obtain the maxspeed by re-importing the data using --hstore or adding "node,way maxspeed text linear" to the default.style?

Thanks

asked 26 Jul '17, 17:12

ddd_ddd's gravatar image

ddd_ddd
26112
accept rate: 0%

edited 26 Jul '17, 18:43

scai's gravatar image

scai ♦
33.3k21309459

What version of postgresql do you use?

(26 Jul '17, 19:57) lonvia

I am using 9.6.

(27 Jul '17, 01:43) ddd_ddd

And which version of Nominatim?

(27 Jul '17, 08:27) lonvia

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:

×710
×689
×263
×230
×46

question asked: 26 Jul '17, 17:12

question was seen: 3,036 times

last updated: 27 Jul '17, 08:27

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