PostGIS  2.1.10dev-r@@SVN_REVISION@@
LWGEOM* lwgeom_force_2d ( const LWGEOM geom)

Strip out the Z/M components of an LWGEOM.

Definition at line 646 of file lwgeom.c.

References lwgeom_force_dims().

Referenced by geom_from_kml(), LWGEOM_force_2d(), lwgeom_from_geojson(), lwgeom_from_gml(), RASTER_asRaster(), RASTER_clip(), RASTER_nearestValue(), RASTER_setPixelValuesGeomval(), and test_misc_force_2d().

647 {
648  return lwgeom_force_dims(geom, 0, 0);
649 }
LWGEOM * lwgeom_force_dims(const LWGEOM *geom, int hasz, int hasm)
Definition: lwgeom.c:670

Here is the call graph for this function:

Here is the caller graph for this function: