CoordTransform
The coordinate system transformation object.
Attributes
| Attribute | Type | Description |
|---|---|---|
| destructor | callable = capi.destroy_ct | The 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
| Name | Type | Description |
|---|---|---|
| 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
| Name | Type | Description |
|---|---|---|
| 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 |