30 #include "utils/builtins.h"
31 #include "utils/array.h"
32 #include "utils/typcache.h"
33 #include "utils/lsyscache.h"
34 #include "catalog/pg_type.h"
35 #include "catalog/namespace.h"
36 #include "executor/executor.h"
37 #include "access/htup_details.h"
38 #include "access/htup.h"
39 #include "../postgis_config.h"
42 #include "lwgeom_pg.h"
45 #ifdef HAVE_LIBPROTOBUF
47 #include "vector_tile.pb-c.h"
This library is the generic geometry handling section of PostGIS.
mvt_agg_context * mvt_ctx_combine(mvt_agg_context *ctx1, mvt_agg_context *ctx2)
mvt_agg_context * mvt_ctx_deserialize(const bytea *ba)
struct mvt_column_cache mvt_column_cache
bytea * mvt_agg_finalfn(mvt_agg_context *ctx)
Finalize aggregation.
bytea * mvt_ctx_serialize(mvt_agg_context *ctx)
LWGEOM * mvt_geom(LWGEOM *geom, const GBOX *bounds, uint32_t extent, uint32_t buffer, bool clip_geom)
Transform a geometry into vector tile coordinate space.
void mvt_agg_init_context(mvt_agg_context *ctx)
Initialize aggregation context.
void mvt_agg_transfn(mvt_agg_context *ctx)
Aggregation step.
struct mvt_agg_context mvt_agg_context
Datum buffer(PG_FUNCTION_ARGS)
struct mvt_kv_string_value * string_values_hash
struct mvt_kv_bool_value * bool_values_hash
struct mvt_kv_uint_value * uint_values_hash
VectorTile__Tile__Layer * layer
struct mvt_kv_float_value * float_values_hash
struct mvt_kv_sint_value * sint_values_hash
VectorTile__Tile__Feature * feature
struct mvt_kv_key * keys_hash
struct mvt_kv_double_value * double_values_hash
mvt_column_cache column_cache
uint32_t * column_keys_index