Friday, 9 November 2018

Creating point at highest value in raster using ArcGIS Desktop


I am using ArcGIS Desktop 10.1.


I am trying to find the location of the highest value pixel in my Direct Solar Radiation Raster. I can see the extent of the data in my raster but don't know where the highest value pertains to.



Is there a way to simply select pixel with highest value or create a point at highest value?



Answer



At Arc Desktop 10.7.1, this works for me (note that it requires the Spatial Analyst extension):


Open the Raster Calculator and enter the following in the Map Algebra Expression pane:


Con("your_raster" == "your_raster".maximum, "your_raster")


[Note: this selects the cell with the maximum value from your_raster.]


Enter the name of the output raster that will contain the cell with the highest value. Voila!, the output raster with the maximum value is created. All other output cells are NoData.


If the output cell is too small to find, use the Raster to Point tool. Then symbolized the output point with a large, brightly colored dot.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...