-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxGUI: Add support for grass.pygrass API to Graphical Modeler #3369
Conversation
It looks very nice, thanks. I found only one little stain on this otherwise magnificent piece of art. When you have an output that is not intermediate and it thus generates
|
Fix in 25f007f. Now: Module("v.out.ogr",
input="jena_boundary_5km",
output=os.path.join(
tempfile.gettempdir(),
"jena_boundary_5km" + ".gml"),
format="GML") |
Currently the Graphical Modeler is using GRASS script API (
grass.script.core.run_command()
) when converting model into Python code. This cannot be changed by the user.This PR adds support for PyGRASS API (
grass.pygrass.modules.Module
). GRASS script package is still default. This can be changed in the settings.Compare sample model: