Skip to main content

CoordTransform

The coordinate system transformation object.

Attributes

AttributeTypeDescription
destructorcallable = capi.destroy_ctThe coordinate system transformation object.

Constructor

Signature

def CoordTransform(
source: [SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference),
target: [SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference)
)

Parameters

NameTypeDescription
source[SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference)The source spatial reference system.
target[SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference)The target spatial reference system.

Signature

def CoordTransform(
source: [SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference),
target: [SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference)
) - > null

Parameters

NameTypeDescription
source[SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference)The source spatial reference system from which coordinates will be transformed
target[SpatialReference](spatialreference.md?sid=django_contrib_gis_gdal_srs_spatialreference)The target spatial reference system to which coordinates will be transformed