<span class="go">dhonjuh,<br><br>Try this:<br></span>gdal_calc -A cknp_dem_30m.tif --calc A/2 --outfile t.tif<br><br><div class="gmail_quote">On Fri, Jul 20, 2012 at 12:07 PM, dhonjuh <span dir="ltr"><<a href="mailto:dhonjuh@yahoo.com" target="_blank">dhonjuh@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">how to use gdal_calc.py? I am getting a syntax error in inputfile. Can<br>
anybody help me? please suggest me how can I use gdal_calc.py.<br>
<br>
error is like<br>
<br>
>>> gdal_calc -A 'D:\\Softwares\\GDal\\Samples\\cknp_dem_30m.tif'<br>
>>> -outfile=t.tif --calc=A/2<br>
SyntaxError: invalid syntax<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/how-to-use-gdal-calc-py-tp4989528.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/how-to-use-gdal-calc-py-tp4989528.html</a><br>
Sent from the OSGeo Discuss mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/discuss" target="_blank">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>