GeoObject¶
GeoObject is a base class for Band, BandCollection
and other raster classes.
It is an abstract class which contains all the georeference fields and features.
-
class
aeronet.dataset.raster.geoobject.GeoObject[source]¶ Bases:
objectGeo spatial object base interface.
Represents a set of metadata for the georeferenced raster object
-
bounds¶ The lower left and upper right bounds of the dataset in the units of its coordinate reference system.
Returns: (lower left x, lower left y, upper right x, upper right y) Return type: Tuple (float, float, float, float)
-
count¶ (int) number of channels/bands.
Type: Returns
-
crs¶ Geographic coordinate reference system of the object
Returns: rasterio.CRS object
-
height¶ Height of the raster data object
Returns: (int) image height in pixels.
-
nodata¶ The value that should be interpreted as ‘No data’. May be None or a value within dtype range
-
profile¶ A joint representation of the main properties
Returns: { ‘crs’: crs, ‘nodata’: nodata, ‘transform’: transform } Return type: Dict
-
res¶ Resolution or ground sampling distance along X and Y axes.
Returns: (x_resolution, y_resolution) Return type: Tuple [int, int]
-
shape¶ (count, height, width); or (height, width)
Type: A tuple of int
-
transform¶ Affine transform matrix This transform maps pixel row/column coordinates to coordinates in the dataset’s coordinate reference system.
Returns: affine.Affine object
-
width¶ Width of the raster data object
Returns: (int) image width in pixels.
-