What is the best way to create a footprint polygon in a shapefile of a single raster tiff using python?
I have tried using the Raster Domain tool in 3D analyst.
I have tried getting raster extents coords and plotting those to create a polygon
but neither of those produce a polygon that exactly matches the raster - it seems that Raster Domain rounds the lat long to 2 decimal places and drawing the shapefile using coords rounds the lat long to 6 dp.
- the reason I'm doing this:
I want to create polygons of where my raster contains Null pixels so I use RasterToPolygon to create polys of pixels that have values then I will delete these from the raster footprint to get Null pixels. Hope this makes sense.