[GRASS-dev] how to do g.region n=n+(defined by user input option) in a python script?

Helmut Kudrnovsky hellik at web.de
Thu May 8 13:28:45 PDT 2014


>"regext" will be a string; you need to use e.g.
>
>        regext = float(regext)
>
>before you can do arithmetic with it. 

ah, I see it now.

>Also, unless the purpose of the script is to modify the region for
>subsequent commands, either use use_temp_region() to localise any
>changes to the script.

I'll have a look at this option. thanks. 



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/how-to-do-g-region-n-n-defined-by-user-input-option-in-a-python-script-tp5139216p5139310.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list