aws.osml.gdal.gdal_sensor_model_builder module
- class aws.osml.gdal.gdal_sensor_model_builder.GDALAffineSensorModelBuilder(geo_transform: List[float], proj_wkt: str | None = None)[source]
Bases:
SensorModelBuilder
This builder is used to create sensor models for images that have GDAL geo transforms.
- build() GDALAffineSensorModel | None [source]
Use the GDAL GeoTransform to construct a sensor model.
- Returns:
affine transform based SensorModel that uses the GDAL GeoTransform
- class aws.osml.gdal.gdal_sensor_model_builder.GDALGCPSensorModelBuilder(ground_control_points: List[GCP])[source]
Bases:
SensorModelBuilder
This builder is used to create sensor models for images that have GDAL ground control points (GCPs).
- build() ProjectiveSensorModel | None [source]
Use the GCPs to construct a projective sensor model.
- Returns:
a projective transform SensorModel that uses the GDAL GCPs provided