PostGIS
3.4.0dev-r@@SVN_REVISION@@
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
c
d
f
g
i
l
m
p
q
w
Variables
a
b
c
d
f
g
h
i
l
n
o
p
r
s
t
u
v
x
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
w
y
Typedefs
_
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
y
Enumerations
Enumerator
a
c
d
e
f
g
i
j
l
m
p
r
s
t
u
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
◆
pgis_asgeobuf_finalfn()
Datum pgis_asgeobuf_finalfn
(
PG_FUNCTION_ARGS
)
Definition at line
93
of file
lwgeom_out_geobuf.c
.
94
{
95
#if !(defined HAVE_LIBPROTOBUF)
96
elog(ERROR,
"ST_AsGeobuf: Compiled without protobuf-c support"
);
97
PG_RETURN_NULL();
98
#else
99
uint8_t *buf;
100
struct
geobuf_agg_context
*ctx;
101
if
(!AggCheckCallContext(fcinfo, NULL))
102
elog(ERROR,
"pgis_asmvt_finalfn called in non-aggregate context"
);
103
104
if
(PG_ARGISNULL(0))
105
PG_RETURN_NULL();
106
107
ctx = (
struct
geobuf_agg_context
*) PG_GETARG_POINTER(0);
108
buf =
geobuf_agg_finalfn
(ctx);
109
PG_RETURN_BYTEA_P(buf);
110
#endif
111
}
geobuf_agg_finalfn
uint8_t * geobuf_agg_finalfn(struct geobuf_agg_context *ctx)
Finalize aggregation.
Definition:
geobuf.c:624
geobuf_agg_context
Definition:
geobuf.h:49
References
geobuf_agg_finalfn()
.
Here is the call graph for this function:
postgis
lwgeom_out_geobuf.c
Generated by
1.9.1