[gdal-dev] [OSGeo-Discuss] how to use gdal_calc.py?
Chaitanya kumar CH
chaitanya.ch at gmail.com
Fri Jul 20 02:46:19 PDT 2012
We should have this discussion in the gdal-dev list.
Try this at the command prompt; not the python command prompt.
$ gdal_calc.py -A cknp_dem_30m.tif --calc A/2 --outfile t.tif
Also, make sure you did not make any inadvertent changes to the script.
On Fri, Jul 20, 2012 at 2:00 PM, dhonjuh <dhonjuh at yahoo.com> wrote:
> thanks for your reply. I tried as you suggested but still I am getting
> error like
> >>> gdal_calc -A /cknp_dem_30m/.tif --calc A/2 --outfile t.tif
> SyntaxError: invalid syntax
> is there any lib missing? I hope.
> View this message in context:
> Sent from the OSGeo Discuss mailing list archive at Nabble.com.
> Discuss mailing list
> Discuss at lists.osgeo.org
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev