PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lwgeom_transform | ( | LWGEOM * | geom, |
projPJ | inpj, | ||
projPJ | outpj | ||
) |
Transform (reproject) a geometry in-place.
geom | the geometry to transform |
inpj | the input (or current, or source) projection |
outpj | the output (or destination) projection |
Transform (reproject) a geometry in-place.
Definition at line 74 of file liblwgeom/lwgeom_transform.c.
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, LWCOLLECTION::geoms, LINETYPE, LW_FAILURE, LW_SUCCESS, lwerror(), lwgeom_is_empty(), lwgeom_transform(), lwtype_name(), MULTICURVETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, MULTISURFACETYPE, LWCOLLECTION::ngeoms, LWPOLY::nrings, LWLINE::points, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, ptarray_transform(), LWPOLY::rings, TINTYPE, TRIANGLETYPE, and LWGEOM::type.
Referenced by lwgeom_transform(), transform(), and transform_geom().