-
-
Notifications
You must be signed in to change notification settings - Fork 184
-
there are here https://github.com/onthegomap/planetiler/tree/main/planetiler-custommap/src/main/resources/samples some yaml samples.
But what planetiler command line do you run ?
Something like ?
java -jar planetiler.jar -input poland.pbf -config highway_areas.yaml ????
or something else ?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 1 reply
-
But what planetiler command line do you run?
I currently run this, but asking for which options one uses is fairly dependent on the environment and constraints.
They are config options for a reason..
docker run --rm --user=1001 -d --memory="50G" --memory-swap="50G" --cpu-shares 512 --pull always -e JAVA_TOOL_OPTIONS="-Xmx25g" -v /home/frank/map:/data -v /home/frank/dev/NavigaTUM/map/planetiler:/conf ghcr.io/onthegomap/planetiler:latest ../conf/shortbread_custom.yml --download --download-threads=10 --download-chunk-size-mb=1000 --free_natural_earth_after_read=true --free_water_polygons_after_read=true --free_lake_centerlines_after_read=true --fetch-wikidata --languages=de,en --Xmx25g --nodemap-type=array --storage=mmap --area=planet --bound=planet --force=true
Beta Was this translation helpful? Give feedback.
All reactions
-
Yep! You can run the generate-custom task (java -jar planetiler.jar generate-custom) then include --schema=highway_areas.yaml argument somewhere in the list, or as a shortcut you can use the schema name as the task like java -jar planetiler.jar highway_areas.yaml --other-args...
Beta Was this translation helpful? Give feedback.
All reactions
-
oh yes now it works, but what I don't understand :
- in output of java -jar planetiler.jar --help, I don't see --schema option ! Is it documented somewhere please ?
- does "generate-custom" you mentionned be an option as well ?
Beta Was this translation helpful? Give feedback.