[Geocoding] Nominatim behaviour in case of sequential import-index

Sarah Hoffmann lonvia at denofr.de
Wed Jun 27 19:54:43 UTC 2018


Hi,

On Wed, Jun 27, 2018 at 04:23:59PM +0200, Mumins Trollis wrote:
> Dear geocoder,
> 
> I'm importing >1 custom-made OSM files by import-index sequences
> 
> utils/update.php --import-file <osm-file-1>.osm
> utils/update.php --index
> utils/update.php --import-file <osm-file-2>.osm
> utils/update.php --index
> 
> It appears that only the lastest import is being used in searches by
> nominatim.
> 1) is it true?

No, the above should be working. You say that the OSM files are
custom made. Did you make sure that both files use different OSM ids?
Otherwise, the second file will be considered an update of the first
file and then the second file will indeed overwrite the first.

> 2) is there a way to load >1 osm files and have objects from all of them
> appearing in the search?

I strongly recommend to merge the files first and then import them into
Nominatim in one go. This is always faster than using the update function.
You can also then check if the size of the combined file this way and
check if that makes sense before the lengthly import.

Kind regards

Sarah

> 
> Best regards,
> Uldis

> _______________________________________________
> Geocoding mailing list
> Geocoding at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/geocoding




More information about the Geocoding mailing list