PostGIS
2.4.9dev-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(), 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 transform(), and transform_geom().