mediagis / nominatim-docker

100% working container for Nominatim
Creative Commons Zero v1.0 Universal
1.07k stars 437 forks source link

Import in Offline Environment #456

Closed devinfra1 closed 1 year ago

devinfra1 commented 1 year ago

Good afternoon!

I work with an internal development environment completely offline, without internet connection.

I copied the 'brazil-latest.osm.pbf' file to my offline machine and started the import process.

During the import process, I ended up getting stuck when the import tries to request to the address https://www.openstreetmap.org/api/0.6/node/10884626565/1

Is it possible to be carrying out this import process in a completely offline environment? Performing all the necessary downloads before and just passing the path of these files.

leonardehrenfried commented 1 year ago

I don't think that it's possible but if I'm honest I don't know why.

You can execute the import on a connected machine and then use docker import/export to move it to the offline one.

devinfra1 commented 1 year ago

It is possible to be doing the import without internet connection. Only with the 'osm.pbf' file locally.

I was able to do it using the --offline parameter

leonardehrenfried commented 1 year ago

Well done for figuring it out.

If you can leave more detailed documentation here, I can link to it from the Readme.