Definition at line 808 of file lwout_gml.c.
References LWPOINT::flags, FLAGS_GET_Z, IS_DIMS, lwpoint_is_empty(), LWPOINT::point, and pointArray_toGML3().
Referenced by asgml3_collection_buf(), asgml3_multi_buf(), and asgml3_point().
815 ptr += sprintf(ptr,
"<%sPoint", prefix);
816 if ( srs ) ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
817 if (
id ) ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id);
820 ptr += sprintf(ptr,
"/>");
824 ptr += sprintf(ptr,
">");
825 if (
IS_DIMS(
opts)) ptr += sprintf(ptr,
"<%spos srsDimension=\"%d\">", prefix, dimension);
826 else ptr += sprintf(ptr,
"<%spos>", prefix);
828 ptr += sprintf(ptr,
"</%spos></%sPoint>", prefix, prefix);
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
static size_t pointArray_toGML3(POINTARRAY *pa, char *buf, int precision, int opts)
int lwpoint_is_empty(const LWPOINT *point)