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

[closed] Whats the right way to add a second OSM file to your Nominatim instance?

-1

I've created a nominatim instance, run setup.php with the --all flag and imported one US city into it. I now want to add a second US city - whats the right way to do this? I referenced this post but run into the following dead ends:

a) Running import data leads to a hang where it says "Setting up table: planet osm ways"
Command ./utils/setup.php --osm-file <filename> --import-data

b) Running the update script results in an error where it expects an osc file:
Command: ./utils/update.php --import-file <filename>

Thanks for any help!

asked 10 Oct '12, 18:04

John%20Prefontaine's gravatar image

John Prefont...
0222
accept rate: 0%

closed 11 Oct '12, 09:02

lonvia's gravatar image

lonvia
6.2k25789

1

Please stop creating duplicate questions on the same topic. The post you referenced answers your question precisely. If update does not work for you, send a mail with the description of what you did and what went wrong (including the exact error message) to the geocoding mailinglist.

(11 Oct '12, 09:01) lonvia

The question has been closed for the following reason “Duplicate Question” by lonvia 11 Oct ‘12, 09:02

Source code available on GitHub .