diff --git a/src/mapserver.h b/src/mapserver.h index d710145..ca52463 100644 --- a/src/mapserver.h +++ b/src/mapserver.h @@ -1,6 +1,10 @@ #ifndef MAPSERVERAPI_MAPSERVER_H_ #define MAPSERVERAPI_MAPSERVER_H_ +#ifndef USE_GEOS +#define USE_GEOS 1 +#endif + int msCGIHandler(const char *query_string, void **out_buffer, size_t *buffer_length); void msIO_resetHandlers(void); int msSetup(void); diff --git a/test_datas/test.map b/test_datas/test.map index 2f5c237..b5f67e1 100644 --- a/test_datas/test.map +++ b/test_datas/test.map @@ -10,6 +10,8 @@ MAP "wms_onlineresource" "http://demo.mapserver.org/cgi-bin/mapserv7?" "wms_srs" "EPSG:4326" "ows_enable_request" "*" + "wfs_onlineresource" "https://demo.mapserver.org/cgi-bin/mapserv/wfs?" + "wfs_enable_request" "*" END END PROJECTION