PostGIS
2.5.7dev-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(), 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().