-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maps-dockercompose with full planet #1
Comments
One smal issue. |
Hi Simon, thanks for the report. This is what I used to use before my job changed 7 months ago and I shared it in case others found it useful. I no longer use it myself, no one besides me used it as far as I know and it worked OK for me in my environment with a small subset of the planet. I haven't touched it in 6 months, all the images are out of date. I don't have the interest at this time to continue working on it. Feel free to fork it and fix all the problems. I hope you understand. |
@uwesimon |
I used a German mirror site but I think it should look everywhere the same, except the base URL. |
Some weeks ago I did my first tries with maps-docker.compose (with nominatim). I used Germany only and it worked fine.
The only issue I identified with this setup was that OSRM does not use my own nominatim-instance but still uses http://nominatim.openstreetmap.org/
This is caues by this.options.geocoder = new L.Control.Geocoder.Nominatim();
The next try was the whole planet. After adjusting the postgres setup I startet the environment on a 8core/64GB cloud-server. As expected the initial load took some time (rendered-initdb 4days). After this 1st step finished rendered-updatedb and nominatim-initdb startet. This
The file planet.osm.pdb is approx 50GB and the load took at least 1,5h. Sometime after midnight the file planet.osm.pdf and it's md5-file are updated on the source. When the download of the pdb-file was active at that time the md5 will not match, (it now matches to the new pdb-file).
Its better to first load the md5 (takes 1 second or so) and then the pdb-file, this could save some hours.
Because rendered-initdb took some days the container renderd-updatedb has to update sseveral days. A day for the whole planet took in my environment up to 14 hours. The last step for each day in rendered-updateddb is the merge the changes into planet.osm.pdb. This also cause an issue with the md5 of the pdb-file when nominatim-initdb is loadloading the file at the same time (nominatim-initdb will start the download again). Becuase the merge of the changes took >8hours/day I commented it out, so the procerssing of the
Infos on planet:
Storage 2.2TB (grow some 100MB/day).
Runtimes:
rendered-initdb 4days
nominatim-initdb 9days
next runs rendered-updatedb 3h/day
next runs nominatim-updatedb 3h/day without osmosis --apply-changes, otherwise 12h/day
I need 2 turns of nominatim-initdb because I started with a 2TB volume only, so it terminates during the indexing process. In this case it would be great when the processes are not only restartable - as now - but start at the step where the error occured, this could save a lot of time (in my case over one week).
Currently renderd and nominatim are working fine. osrm returns memory exceptions after some runtime (I have to investigae).
The text was updated successfully, but these errors were encountered: