PostGIS  3.4.0dev-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 793 of file lwgeom.c.

794 {
795  return lwgeom_force_dims(geom, 0, 0, 0, 0);
796 }
LWGEOM * lwgeom_force_dims(const LWGEOM *geom, int hasz, int hasm, double zval, double mval)
Definition: lwgeom.c:817

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_force_2d().

Here is the call graph for this function:
Here is the caller graph for this function: