MCPcopy Create free account
hub / github.com/MapServer/MapServer / gmlWriteGeometry

Function gmlWriteGeometry

mapgml.c:663–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663static int gmlWriteGeometry(FILE *stream, gmlGeometryListObj *geometryList, int format, shapeObj *shape, const char *srsname, char *namespace, char *tab)
664{
665 switch(format) {
666 case(OWS_GML2):
667 return gmlWriteGeometry_GML2(stream, geometryList, shape, srsname, namespace, tab);
668 break;
669 case(OWS_GML3):
670 return gmlWriteGeometry_GML3(stream, geometryList, shape, srsname, namespace, tab);
671 break;
672 default:
673 msSetError(MS_IOERR, "Unsupported GML format.", "gmlWriteGeometry()");
674 }
675
676 return(MS_FAILURE);
677}
678
679/*
680** GML specific metadata handling functions.

Callers 2

msGMLWriteQueryFunction · 0.85
msGMLWriteWFSQueryFunction · 0.85

Calls 3

gmlWriteGeometry_GML2Function · 0.85
gmlWriteGeometry_GML3Function · 0.85
msSetErrorFunction · 0.85

Tested by

no test coverage detected