PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lwgeom_transform | ( | LWGEOM * | geom, |
projPJ | inpj, | ||
projPJ | outpj | ||
) |
Transform given SERIALIZED geometry from inpj projection to outpj 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().