PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ lwgeom_extent_to_gml2()

lwvarlena_t* lwgeom_extent_to_gml2 ( const LWGEOM geom,
const char *  srs,
int  precision,
const char *  prefix 
)

Definition at line 240 of file lwout_gml.c.

241 {
242  const GBOX* bbox = lwgeom_get_bbox(geom);
243  return gbox_to_gml2(bbox, srs, precision, prefix);
244 }
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:743
static lwvarlena_t * gbox_to_gml2(const GBOX *bbox, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:109

References gbox_to_gml2(), lwgeom_get_bbox(), and precision.

Referenced by do_gml2_extent_test(), and LWGEOM_asGML().

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