Select to view content in your preferred language

Looking for Help: raster coverage across known polygon boundaries

163
1
03-03-2025 10:30 AM
Labels (2)
bermbiesamblers
New Contributor

Hey everyone,

I think my problem is simple but finding a solution that works for my purposes has been difficult. 

I have several polygons I have made that create boundaries. Inside these boundaries I have DEM rasters that SHOULD be covering the entirety of the interior of the boundaries inside those polygons. I have to ensure that is the case by finding out if any of my rasters are missing coverage inside those polygons. 

I could theoretically just use my eyes with both layers turned on, but they are massive and take a long time to load when I pan around.

I tried using "raster to polygon" but that was taking too long and seemed like it was making a more complicated polygon when I just wanted a flat polygon.

I tried using "create constant raster" using the extents of my raster to determine the size, but that just returned a massive blank square (which seems fine on paper, but to the point of this task; plenty of the area under that square extent does not have values/coverage by the raster).

I just need to know "does my raster cover all areas of this polygon". 

 

Please feel free to let me know if I am blind and missed an obvious solution here. Also, @DanPatterson_Retired , you rock and have helped me and my coworkers numerous times, thanks a million.

 

Dave

Tags (2)
0 Kudos
1 Reply
DavidPike
MVP Notable Contributor

Possibly https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/zonal-statistics-as-table.ht...

just choose any statistic, as you really just need the COUNT value.

Assuming your polygons are all the same size - the COUNT values will be very similar, but probably not identical unless polygons are perfectly aligned with the raster cells.  just sort the table by COUNT and you'll likely see the polygon OIDs that have missing data (i.e. less cell count).

If polygons not the same size - possibly calculate the area of your polygons and compare it to the combined area of the raster cells within the polygon (cell size * COUNT).  Apply the same logic as previously.

Maybe better ways.

0 Kudos