-
-
Notifications
You must be signed in to change notification settings - Fork 184
-
About passing parameters to planetiler, which one of these will work ?
1/ --osm_lazy_reads=false
2/ -osm_lazy_reads=false
3/ --osm-lazy-reads=false
4/ -osm-lazy-reads=false
Also : do I expect an error message if I pass a wrong argument, or if the syntax is wrong ?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 1 reply
-
When in doubt, look at the output of Planetiler.
0:00:00 DEB - argument: osm_lazy_reads=true (Read OSM blocks from disk in worker threads)
means the parameter would be --osm_lazy_reads=false
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks! The CLI argument parser also should treat them all the same, but it won't emit an error if it's wrong, that line just won't show the value you expect ^^
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes that's what I suspected because by mistake I ran planetiler using some arguments like '--xxx-yyy-zzz=vvvvv', then I realized my mistake, then I ran another time with '--xxx_yyy_zzz=vvvvv' ==> running time and result were exactly the same !
Beta Was this translation helpful? Give feedback.