Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Question about passing arguments #1460

Unanswered
stoffy28 asked this question in Q&A
Discussion options

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 ?

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

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

You must be logged in to vote
1 reply
Comment options

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 ^^

Comment options

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 !

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /