PostGIS  3.4.0dev-r@@SVN_REVISION@@
flatgeobuf.c File Reference
#include <math.h>
#include "flatgeobuf.h"
#include "pgsql_compat.h"
#include "funcapi.h"
#include "parser/parse_type.h"
#include "pgtime.h"
#include "utils/timestamp.h"
#include "miscadmin.h"
#include "utils/date.h"
#include "utils/datetime.h"
#include "utils/jsonb.h"
Include dependency graph for flatgeobuf.c:

Go to the source code of this file.

Functions

static uint8_t get_column_type (Oid typoid)
 
static void inspect_table (struct flatgeobuf_agg_ctx *ctx)
 
static void ensure_properties_size (struct flatgeobuf_agg_ctx *ctx, size_t size)
 
static void ensure_items_len (struct flatgeobuf_agg_ctx *ctx)
 
static void encode_properties (flatgeobuf_agg_ctx *ctx)
 
void flatgeobuf_check_magicbytes (struct flatgeobuf_decode_ctx *ctx)
 
static void decode_properties (struct flatgeobuf_decode_ctx *ctx, Datum *values, bool *isnull)
 
void flatgeobuf_decode_row (struct flatgeobuf_decode_ctx *ctx)
 
struct flatgeobuf_agg_ctxflatgeobuf_agg_ctx_init (const char *geom_name, const bool create_index)
 Initialize aggregation context. More...
 
void flatgeobuf_agg_transfn (struct flatgeobuf_agg_ctx *ctx)
 Aggregation step. More...
 
uint8_t * flatgeobuf_agg_finalfn (struct flatgeobuf_agg_ctx *ctx)
 Finalize aggregation. More...