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
What version of postgresql do you use?
I am using 9.6.
And which version of Nominatim?