Is This Content Helpful?
We're glad to know this article was helpful.
Why is the output raster empty when extracting a raster using the IExtractionOp::Polygon method?
If the input raster and the polygon object are in different spatial references, the polygon object used to clip the image does not get projected.
Make sure the input raster and the polygon object have the same spatial reference. If they have different spatial references, or you require an output with a different spatial reference than the inputs, then project the inputs to the required spatial reference before performing the extract operation.