i want to check if the polygon is full with a image
in this case, the polygon has image
and here the grey area is missing.
is there a way to solve this?
Best answer by jdh
View originali want to check if the polygon is full with a image
in this case, the polygon has image
and here the grey area is missing.
is there a way to solve this?
Best answer by jdh
View originalYou have a couple of options, if you just want the rectangular footprint of the image you can use the boundingBoxReplacer. Alternatively you can the RasterExtentsCoercer to get just the portion of the image that has data (excluding the white edges in the above image).
In either case you end up with a polygon representing the raster, that you can then check against your AOI polygon. You could use a spatialRelator (AOI is within Raster), or get more detailed results using the AreaOnAreaOverlayer in combination with other transformers. For example what percentage of the AOI is covered by the image.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.