** Wrappers for the format specific encoding functions. */
| 645 | ** Wrappers for the format specific encoding functions. |
| 646 | */ |
| 647 | static 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 | |
| 663 | static int gmlWriteGeometry(FILE *stream, gmlGeometryListObj *geometryList, int format, shapeObj *shape, const char *srsname, char *namespace, char *tab) |
| 664 | { |
no test coverage detected