Skip to content

Commit

Permalink
fix: fix for wfs requests with geos 3.8 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebaptiste authored Dec 28, 2020
1 parent 3163c83 commit 1b46b28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mapserver.h
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 2 additions & 0 deletions test_datas/test.map
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b46b28

Please sign in to comment.