Hi, I�??d like to normalize map data in raster format to the data range using Raster Calculator. I'm not so much concerned with the accuracy of the method.e.g. v�??(i) = (v(i) - minA) / (maxA - minA) What is the syntax I need to do this? I am getting problems using the following script:("raster" - min("raster")) / (max("raster") - min("raster"))Thanks!
import arcpy my_raster = arcpy.Raster(r'obj\objecten') result = (my_raster - my_raster.minimum) / (my_raster.maximum - my_raster.minimum)
result.save('yourNameGoesHere')
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.