When learning MapBasic I found the most useful way to learn how to do certain tasks was to do them using the GUI and then watch the MapBasic window in MapInfo to see how they were achieved in code. It was also very useful for repeating repetitive tasks.
I was wondering if QGIS had something similar for python?
Answer
Most of the commands in QGIS are hard-coded rather than scripted, so you can't get the output you want. That's not to say it wouldn't be possible for the developers to add such a feature because pretty much the entire API has Python bindings, but it wouldn't be trivial.
Plugins (at least Python ones which are encouraged over C++ ones) could possibly be scripted, but it depends how the plugin developer has coded it, and what sort of features are exposed.
I agree it would be a useful feature, but I suspect it'd require funded development.
No comments:
Post a Comment