Hello, I'm trying to create a Nominatim DB with data for the US and Europe. I looked around for a merged PBF but couldn't find one, so I created a merge myself using 1.
2.
In both cases, I get the same error:
The original .osm.pbf files are downloaded from Geofabrik. I should also note that I've successfully run the import with the same setup using the individual us-latest.osm.pbf file. Is there something wrong with the merge? Should I create it some other way? Any ideas are welcome. Thank you asked 19 May '20, 23:58 Shai |
(The jQuery javascript library on help.osm.org sometimes doesn't load, it's infuriating. There are already github tickets open about this.) When I look at https://github.com/osm-search/Nominatim/blob/master/lib/setup_functions.php it looks more like your file exists, but can't be read due to file permissions? Or maybe it's 0 byte size? The answered 20 May '20, 14:45 mtmail |
You can use Osmium to merge one or more OSM files more easily: The important thing to remember with any kind of merging like this is that you must have files that come from the exact same point in time. If you have one extract from today and another from yesterday, chances are you get different versions of the same object in the output which Nominatim (or most other programs) will not be able to cope with. answered 20 May '20, 07:58 Jochen Topf Jochen, I came across Osmium but had trouble installing it on the AWS machine I'm using, so I stuck with osmconvert. I'll try installing it again. As for merging files coming from the exact same point in time, is that even possible when using different extracts like this? Or should I try to use two extracts that are as close to being from the same time as possible? I'd expect it not to matter for regions as disjoint as the US and Europe though. mtmail, thank you, I'll check out that script. From what I gather, it overall runs the same procedure I did manually, except for the creation of that sequence.state file. Could that be breaking the import? Sorry by the way, I tried to comment on your individual comments but wasn't able to.
(20 May '20, 14:32)
Shai
|
In the development branch of Nominatim documentation there's also an update script to deal with multiple countries and how to keep them updated. http://nominatim.org/release-docs/develop/admin/Advanced-Installations/ answered 20 May '20, 09:48 mtmail |