PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ lwgeom_extent_to_gml3()

lwvarlena_t* lwgeom_extent_to_gml3 ( const LWGEOM geom,
const char *  srs,
int  precision,
int  opts,
const char *  prefix 
)
Parameters
optsoutput options bitfield, see LW_GML macros for meaning

Definition at line 247 of file lwout_gml.c.

248 {
249  const GBOX* bbox = lwgeom_get_bbox(geom);
250  return gbox_to_gml3(bbox, srs, precision, opts, prefix);
251 }
static uint8_t precision
Definition: cu_in_twkb.c:25
const GBOX * lwgeom_get_bbox(const LWGEOM *lwgeom)
Get a non-empty geometry bounding box, computing and caching it if not already there.
Definition: lwgeom.c:726
static lwvarlena_t * gbox_to_gml3(const GBOX *bbox, const char *srs, int precision, int opts, const char *prefix)
Definition: lwout_gml.c:169
opts
Definition: ovdump.py:45

References gbox_to_gml3(), lwgeom_get_bbox(), ovdump::opts, and precision.

Referenced by do_gml3_extent_test(), and LWGEOM_asGML().

Here is the call graph for this function:
Here is the caller graph for this function: