[OSGeo-Discuss] how to use gdal_calc.py?

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Jul 20 01:26:22 PDT 2012


dhonjuh,

Try this:
gdal_calc -A cknp_dem_30m.tif --calc A/2 --outfile t.tif

On Fri, Jul 20, 2012 at 12:07 PM, dhonjuh <dhonjuh at yahoo.com> wrote:

> how to use gdal_calc.py? I am getting a syntax error in inputfile. Can
> anybody help me? please suggest me how can I use gdal_calc.py.
>
> error is like
>
> >>> gdal_calc -A 'D:\\Softwares\\GDal\\Samples\\cknp_dem_30m.tif'
> >>> -outfile=t.tif --calc=A/2
> SyntaxError: invalid syntax
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/how-to-use-gdal-calc-py-tp4989528.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/discuss/attachments/20120720/8f0b126b/attachment-0002.html>


More information about the Discuss mailing list