jonasstein / scanaerial

Fuzzy Select plugin for JOSM
44 stars 12 forks source link

Support multiple configurations under multiple names #17

Open ghost opened 9 years ago

ghost commented 9 years ago

it would be useful to have different configurations easily accessible without editing the cfg file. Could the tool be created multiple times with different names which would then select one of the available config files based on tool name?

ghost commented 9 years ago

Just noticed that this is already implemented, just not documented. Apparently scanaerial.py takes the name of a config file as its fourth argument so it could be specified eg as: /home/<username>/.josm/plugins/ext_tools/scanaerial/scanaerial.py {lat} {lon} {TZoom} my-cfgfile

Afaics the file is searched in /home/<username>/.josm/plugins/ext_tools/scanaerial

taranarmo commented 1 year ago

@jonasstein, look at my pull request please