Definition at line 463 of file geobuf.c.
References analyze_pa(), COLLECTIONTYPE, LWCOLLECTION::geoms, LINETYPE, lwtype_name(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, LWPOLY::nrings, LWLINE::points, POINTTYPE, POLYGONTYPE, LWPOLY::rings, ovdump::type, and LWGEOM::type.
Referenced by geobuf_agg_transfn().
474 lwline = (
LWLINE*) lwgeom;
478 lwpoly = (
LWPOLY*) lwgeom;
479 for (i = 0; i < lwpoly->
nrings; i++)
487 for (i = 0; i < lwcollection->
ngeoms; i++)
491 elog(ERROR,
"analyze_geometry: '%s' geometry type not supported",
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
static void analyze_pa(struct geobuf_agg_context *ctx, POINTARRAY *pa)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
static void analyze_geometry(struct geobuf_agg_context *ctx, LWGEOM *lwgeom)