geoutils.Raster.area_or_point#
- property Raster.area_or_point: Literal['Area', 'Point'] | None#
Pixel interpretation of the raster.
Based on the “AREA_OR_POINT” raster metadata:
If pixel interpretation is “Area”, the value of the pixel is associated with its upper left corner.
If pixel interpretation is “Point”, the value of the pixel is associated with its center.
When setting with self.area_or_point = new_area_or_point, uses the default arguments of self.set_area_or_point().