Select to view content in your preferred language

Con Statement to combine multiple rasters

1694
1
03-09-2011 07:52 AM
MichaelFedak
Deactivated User
Hello,

I am trying to use the con statement in raster calculator to combine rasters. One of my rasters is a DEM and the other contains rasters made from line features depicting culverts. I would like to burn the culverts into the DEM.

The statement is Con("Culverts"< "DEM", "Culverts", "DEM")

The output it gives is just a raster of the culverts. The way I understand the syntax is that where the Culverts are lower than the DEM, use the values from culverts otherwise use DEM.

Also, the environment settings menu of the tool was used to set processing extent to union of outputs.

Thanks.
0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus
did you try the cell statistics tool in arctoolbox?  ignore the nodata cells and choose minimum
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z0000007q000000.htm
I think it will work, although there are other methods one could use particularly if you need to use the raster calculator.
0 Kudos