Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 522 Bytes

config.rst

File metadata and controls

25 lines (18 loc) · 522 Bytes

Pycoast from a configuration file

If you want to run to avoid typing the same options over and over again, of if caching is an optimization you want, you can use a configuration file with the pycoast options you need:

[cache]
file=/var/run/satellit/white_overlay

[coasts]
level=1
width=0.75
outline=white
fill=yellow

[borders]
outline=white
width=0.5

Then, you can just call:

>>> cw.add_overlay_from_config("my_config.cfg", area_def)