This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

State is missing in search

0

I installed a local nominatim database with North and Central America version 3.1.0 with tiger data. Most of my searches are working correctly, however, Quebec and Ontario are not being returned as states. Searching for them directly just shows a point with no boundaries. All other Canadian states are working as expected. I found an older post that had directions to run the following script: ./utils/update.php --import-relation 61549 --index However this script returns an error. I feel its probably due to being outdated. Is there any other way to get the missing states into my database? Thanks

asked 31 May '18, 16:07

delongboy's gravatar image

delongboy
21112
accept rate: 0%


One Answer:

0

So I found the fix for this. I edited the update.php and ran the script and it works properly now. Line 161 sets $sContentURLsModifyXMLstr which is never used, I changed it to $sContentURL which is used everywhere else and it works now.

answered 06 Jun '18, 18:54

delongboy's gravatar image

delongboy
21112
accept rate: 0%

Source code available on GitHub .