Definition at line 267 of file mvt.c.
270 int32_t px = 0, py = 0;
271 size_t c = 0, offset = 0;
273 feature->
type = VECTOR_TILE__TILE__GEOM_TYPE__POLYGON;
274 for (i = 0; i < lwmpoly->
ngeoms; i++)
275 for (j = 0; poly = lwmpoly->
geoms[i], j < poly->
nrings; j++)
278 for (i = 0; i < lwmpoly->
ngeoms; i++)
279 for (j = 0; poly = lwmpoly->
geoms[i], j < poly->
nrings; j++)
static uint32_t encode_ptarray(enum mvt_type type, POINTARRAY *pa, uint32_t *buffer, int32_t *px, int32_t *py)
VectorTile__Tile__GeomType type
References encode_ptarray(), feature_builder::geometry, LWMPOLY::geoms, MVT_RING, feature_builder::n_geometry, LWMPOLY::ngeoms, POINTARRAY::npoints, LWPOLY::nrings, LWPOLY::rings, and feature_builder::type.
Referenced by encode_feature_geometry().