If you do not have access to spatial analyst, I will see if there is a way around using the Con function. If you just want to create a new raster, change the string in the save function. model layers and runs are easily compared using a raster calculator. Result was a raster with vegetation height data and no-data, which is what I want. Ras1 Con(Raster('condition'), Raster('Ras2'), Raster('Ras1')) Ras1.save('Ras1') This will replace Ras1 with your new raster. With the aid of GIS spatial analyses, grids of the modeled groundwater levels and. and i think you have to put the condition into the is for? And the example from the help (OutRas = Con(InRas1, 40, 30, "Value >= 2")) kind of represents what i tried in my second post, or am i wrong?Īctually the arroyo_h raster is floating point, the vcf_tree is 8bit unsigned (i think nearest neighbor was the right choice when i reprojected this?), where 0-100 is the percentage of tree coverage, 253 is water (which i still have to filter out of this). First I calculated a DEM for vegetation height and a binary image (0,1) for cover. In ArcMap, navigate to ArcToolbox > Spatial Analyst Tools > Map Algebra and open the Raster Calculator. ![]() You can also use the calculate statistics tool followed with the 'get raster properties' tool (note that calculate statistics may not be necessary because it is often computed when you add the data). ![]() Just make sure that the zone has the size of your raster. missing elevation data with mean values using the Raster Calculator. ![]() Thanks for your help! I had to change a few things (i think?) because no expression was allowed for the first parameter. you can use zonal statistics as table tools to extract the min and max. In this tutorial we use free open-source GIS software QGIS to prepare terrain data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |