[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.
dhonjuh,
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
> syntax
> 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:
> http://osgeo-org.1560.n6.nabble.com/how-to-use-gdal-calc-py-tp4989528p4989563.html
> Sent from the OSGeo Discuss mailing list archive at Nabble.com.
> _______________________________________________
> Discuss mailing list
> Discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
--
Best regards,
Chaitanya kumar CH.
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120720/a5c2de5b/attachment-0001.html>
More information about the gdal-dev
mailing list