PostGIS  2.5.0beta2dev-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 784 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().

785 {
786  return lwgeom_force_dims(geom, 0, 0);
787 }
LWGEOM * lwgeom_force_dims(const LWGEOM *geom, int hasz, int hasm)
Definition: lwgeom.c:808
Here is the call graph for this function:
Here is the caller graph for this function: