MCPcopy Index your code
hub / github.com/MapServer/MapServer / gmlWriteBounds

Function gmlWriteBounds

mapgml.c:647–661  ·  view source on GitHub ↗

** Wrappers for the format specific encoding functions. */

Source from the content-addressed store, hash-verified

645** Wrappers for the format specific encoding functions.
646*/
647static int gmlWriteBounds(FILE *stream, int format, rectObj *rect, const char *srsname, char *tab)
648{
649 switch(format) {
650 case(OWS_GML2):
651 return gmlWriteBounds_GML2(stream, rect, srsname, tab);
652 break;
653 case(OWS_GML3):
654 return gmlWriteBounds_GML3(stream, rect, srsname, tab);
655 break;
656 default:
657 msSetError(MS_IOERR, "Unsupported GML format.", "gmlWriteBounds()");
658 }
659
660 return(MS_FAILURE);
661}
662
663static int gmlWriteGeometry(FILE *stream, gmlGeometryListObj *geometryList, int format, shapeObj *shape, const char *srsname, char *namespace, char *tab)
664{

Callers 2

msGMLWriteQueryFunction · 0.85
msGMLWriteWFSQueryFunction · 0.85

Calls 3

gmlWriteBounds_GML2Function · 0.85
gmlWriteBounds_GML3Function · 0.85
msSetErrorFunction · 0.85

Tested by

no test coverage detected