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 <[email protected]> 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/discuss > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
