PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_extent_to_gml3()

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

Definition at line 213 of file lwout_gml.c.

214{
215 const GBOX* bbox = lwgeom_get_bbox(geom);
216 /*
217 if ( ! bbox ) {
218 lwerror("lwgeom_extent_to_gml3: empty geometry doesn't have a bounding box");
219 return NULL;
220 }
221 */
222 return gbox_to_gml3(bbox, srs, precision, opts, prefix);
223}
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:725
static char * gbox_to_gml3(const GBOX *bbox, const char *srs, int precision, int opts, const char *prefix)
Definition lwout_gml.c:130

References gbox_to_gml3(), lwgeom_get_bbox(), 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: