-
Hi thanks for doing a great work for geo community. I have noticed you have tested the Daylight Distribution. # running apply-changes I notice that i ran out of memory when I include building
# DO 24cpu 192GB 3xSSD
osmium apply-changes planet-v1.34.osm.pbf admin-v1.34.osc.gz ml-buildings-v1.34.osm.pbf -o everything.osm.pbf
osmium renumber everything.osm.pbf -o planet-daylight.osm.pbf
java -Xmx150g \
`# return unused heap memory to the OS` \
-XX:MaxHeapFreeRatio=40 \
-jar planetiler.jar \
--area=planet --bounds=planet --osm_path=/home/uesr/planet-daylight.osm.pbf \
--maxzoom=15 --render_maxzoom=15 \
`# Accelerate the download by fetching the 10 1GB chunks at a time in parallel` \
--download-threads=10 --download-chunk-size-mb=1000 \
`# Also download name translations from wikidata` \
--fetch-wikidata \
--output=output.mbtiles \
`# Store temporary node locations in memory` \
--nodemap-type=array --storage=ram |
Beta Was this translation helpful? Give feedback.
Answered by
msbarry
Nov 21, 2023
Replies: 1 comment 3 replies
-
The process has changed a bit recently as the daylight distribution has gotten bigger. Try these steps: https://gist.github.com/tyrauber/ad03568f399521e9c3b3189aa99e3b51 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
hadminh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The process has changed a bit recently as the daylight distribution has gotten bigger. Try these steps: https://gist.github.com/tyrauber/ad03568f399521e9c3b3189aa99e3b51