Definition at line 1912 of file lwgeom.c.
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, LINETYPE, lwcircstring_grid(), lwcollection_grid(), lwerror(), lwgeom_subdivide_recursive(), lwline_grid(), lwpoint_grid(), lwpoly_grid(), lwtype_name(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, POINTTYPE, POLYGONTYPE, LWGEOM::type, and LWCIRCSTRING::type.
Referenced by lwcollection_grid(), LWGEOM_snaptogrid(), LWGEOM_snaptogrid_pointoff(), lwgeom_to_text(), mvt_geom(), and test_grid().
1914 switch ( lwgeom->
type )
1931 lwerror(
"lwgeom_grid: Unsupported geometry type: %s",
LWCIRCSTRING * lwcircstring_grid(const LWCIRCSTRING *line, const gridspec *grid)
LWLINE * lwline_grid(const LWLINE *line, const gridspec *grid)
LWPOINT * lwpoint_grid(const LWPOINT *point, const gridspec *grid)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
LWPOLY * lwpoly_grid(const LWPOLY *poly, const gridspec *grid)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
LWCOLLECTION * lwcollection_grid(const LWCOLLECTION *coll, const gridspec *grid)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.