PostGIS  2.5.7dev-r@@SVN_REVISION@@
lwout_gml.c File Reference
#include <string.h>
#include "liblwgeom_internal.h"
Include dependency graph for lwout_gml.c:

Go to the source code of this file.

Functions

static size_t asgml2_point_size (const LWPOINT *point, const char *srs, int precision, const char *prefix)
 
static char * asgml2_point (const LWPOINT *point, const char *srs, int precision, const char *prefix)
 
static size_t asgml2_line_size (const LWLINE *line, const char *srs, int precision, const char *prefix)
 
static char * asgml2_line (const LWLINE *line, const char *srs, int precision, const char *prefix)
 
static size_t asgml2_poly_size (const LWPOLY *poly, const char *srs, int precision, const char *prefix)
 
static char * asgml2_poly (const LWPOLY *poly, const char *srs, int precision, const char *prefix)
 
static size_t asgml2_multi_size (const LWCOLLECTION *col, const char *srs, int precision, const char *prefix)
 
static char * asgml2_multi (const LWCOLLECTION *col, const char *srs, int precision, const char *prefix)
 
static size_t asgml2_collection_size (const LWCOLLECTION *col, const char *srs, int precision, const char *prefix)
 
static char * asgml2_collection (const LWCOLLECTION *col, const char *srs, int precision, const char *prefix)
 
static size_t pointArray_toGML2 (POINTARRAY *pa, char *buf, int precision)
 
static size_t asgml3_point_size (const LWPOINT *point, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_point (const LWPOINT *point, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_line_size (const LWLINE *line, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_line (const LWLINE *line, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_circstring (const LWCIRCSTRING *circ, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_poly_size (const LWPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_poly (const LWPOLY *poly, const char *srs, int precision, int opts, int is_patch, const char *prefix, const char *id)
 
static char * asgml3_curvepoly (const LWCURVEPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_triangle_size (const LWTRIANGLE *triangle, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_triangle (const LWTRIANGLE *triangle, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_multi_size (const LWCOLLECTION *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_multi (const LWCOLLECTION *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_psurface (const LWPSURFACE *psur, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_tin (const LWTIN *tin, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_collection_size (const LWCOLLECTION *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_collection (const LWCOLLECTION *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_compound (const LWCOMPOUND *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_multicurve (const LWMCURVE *cur, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static char * asgml3_multisurface (const LWMSURFACE *sur, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t pointArray_toGML3 (POINTARRAY *pa, char *buf, int precision, int opts)
 
static size_t pointArray_GMLsize (POINTARRAY *pa, int precision)
 
static char * gbox_to_gml2 (const GBOX *bbox, const char *srs, int precision, const char *prefix)
 
static char * gbox_to_gml3 (const GBOX *bbox, const char *srs, int precision, int opts, const char *prefix)
 
char * lwgeom_extent_to_gml2 (const LWGEOM *geom, const char *srs, int precision, const char *prefix)
 
char * lwgeom_extent_to_gml3 (const LWGEOM *geom, const char *srs, int precision, int opts, const char *prefix)
 
char * lwgeom_to_gml2 (const LWGEOM *geom, const char *srs, int precision, const char *prefix)
 VERSION GML 2 takes a GEOMETRY and returns a GML2 representation. More...
 
static size_t asgml2_point_buf (const LWPOINT *point, const char *srs, char *output, int precision, const char *prefix)
 
static size_t asgml2_line_buf (const LWLINE *line, const char *srs, char *output, int precision, const char *prefix)
 
static size_t asgml2_poly_buf (const LWPOLY *poly, const char *srs, char *output, int precision, const char *prefix)
 
static size_t asgml2_multi_buf (const LWCOLLECTION *col, const char *srs, char *output, int precision, const char *prefix)
 
static size_t asgml2_collection_buf (const LWCOLLECTION *col, const char *srs, char *output, int precision, const char *prefix)
 
char * lwgeom_to_gml3 (const LWGEOM *geom, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_point_buf (const LWPOINT *point, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_line_buf (const LWLINE *line, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_circstring_size (const LWCIRCSTRING *circ, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_circstring_buf (const LWCIRCSTRING *circ, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_poly_buf (const LWPOLY *poly, const char *srs, char *output, int precision, int opts, int is_patch, const char *prefix, const char *id)
 
static size_t asgml3_compound_size (const LWCOMPOUND *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_compound_buf (const LWCOMPOUND *col, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_curvepoly_size (const LWCURVEPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_curvepoly_buf (const LWCURVEPOLY *poly, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_triangle_buf (const LWTRIANGLE *triangle, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_multi_buf (const LWCOLLECTION *col, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_psurface_size (const LWPSURFACE *psur, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_psurface_buf (const LWPSURFACE *psur, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_tin_size (const LWTIN *tin, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_tin_buf (const LWTIN *tin, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_collection_buf (const LWCOLLECTION *col, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_multicurve_size (const LWMCURVE *cur, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_multicurve_buf (const LWMCURVE *cur, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_multisurface_size (const LWMSURFACE *sur, const char *srs, int precision, int opts, const char *prefix, const char *id)
 
static size_t asgml3_multisurface_buf (const LWMSURFACE *sur, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)