| 661 | } |
| 662 | |
| 663 | static 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. |
no test coverage detected