[GRASS-dev] Use 'from=' parameter in python script
Nikos Alexandris
nik at nikosalexandris.net
Wed Mar 21 16:57:06 PDT 2018
Dear all,
how can I use the 'from' parameter in a python script? The following
```
from_range=0,255
to_range=0,511
cls.runModule('r.rescale', input=band, output=output_map_name,
from=from_range, to=to_range, overwrite=True)
```
causes expectedly
```
SyntaxError: invalid syntax
```
Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180322/30043106/attachment.sig>
More information about the grass-dev
mailing list