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

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%


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.

permanent link

answered 06 Jun '18, 18:54

delongboy's gravatar image

delongboy
21112
accept rate: 0%

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:

×88
×14

question asked: 31 May '18, 16:07

question was seen: 1,505 times

last updated: 06 Jun '18, 18:54

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