Is there a way to calculate zonal statistics outside of polygon?
I want to extract the mean values outside of the polygon. In this case, instead of calculating for the land, I want to use the ocean.
I use ArcMap 10.5 for my analysis.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
You could create an "ocean" polygon to use for Zonal Statistics. Create a polygon from the boundaries of your entire raster, and then clip out the land, leaving only ocean behind.
Not sure but maybe you could use the Select tool for selecting your shp file. Then use the Zonal Statistics as Table tool which will get the mean value from the database using the selected polygon in raster format to define the zone. The resulting table with a single record in it will be used to store and pass the desired values back to the database. Finally, the table will be deleted and the next polygon will be selected to repeat the process.
You may check this link, they have done something similar.