<div dir="ltr"><div><div>Ritvik,<br><br></div>You can use gdal_calc.py to perform computations with multiple rasters. It is not among the officially released scripts.<br><a href="http://trac.osgeo.org/gdal/browser/branches/1.10/gdal/swig/python/scripts/gdal_calc.py">http://trac.osgeo.org/gdal/browser/branches/1.10/gdal/swig/python/scripts/gdal_calc.py</a><br>
</div>You can download the script from that page. The usage is described in the comments.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 2:24 AM, Ritvik Sahajpal <span dir="ltr"><<a href="mailto:ritvik@umd.edu" target="_blank">ritvik@umd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><h1 style="margin-top:0px;margin-right:0px;margin-left:0px;padding:12px 0px;border:0px;font-size:22px;vertical-align:baseline;color:rgb(68,68,68);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;background-color:rgba(248,248,248,0.6);margin-bottom:0px!important">
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-weight:normal;line-height:18px">Is there a GDAL command which can combine multiple rasters so that so a unique output value is assigned to each unique combination of input values, like the combine command in ArcGIS?</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-weight:normal;line-height:18px">gdal_merge seems to mosaic rasters so it is not exactly what I need.</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-weight:normal;line-height:18px">thanks!</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-weight:normal;line-height:18px">
rit</p></h1></div>
</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</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
</div>