Quantcast
Channel: ArcMap Raster Calculator with Python code - Geographic Information Systems Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by user2856 for ArcMap Raster Calculator with Python code

The error tells you exactly what is wrong and where IndentationError: expected an indented block (line 7). You need to indent lines in your if clause:if value > 1: outraster = (f1 + f2 + f3)/3else:...

View Article


ArcMap Raster Calculator with Python code

I'm trying use raster calculator that can export a raster to do different average values for for multiple layers. For example, I want to do averages for only the values and layers that are greater than...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>