PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwgeom_force_2d()

LWGEOM* lwgeom_force_2d ( const LWGEOM geom)

Strip out the Z/M components of an LWGEOM.

Definition at line 739 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().

740 {
741  return lwgeom_force_dims(geom, 0, 0);
742 }
LWGEOM * lwgeom_force_dims(const LWGEOM *geom, int hasz, int hasm)
Definition: lwgeom.c:763
Here is the call graph for this function:
Here is the caller graph for this function: