[mapserver-users] Mapserver as WFS 1.1.0 client

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Mon Dec 22 07:09:50 PST 2014


Looking at the mapwfslayer.c code it's a little confusing. I see references to 0.0.14 and 1.0.0 for POST requests and 0.0.14, 1.0.0 and 1.1 for GET requests.  You can try setting:

  "wfs_request_method"   "GET"

In the layer metadata and see if that works for you.

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lars Fricke
Sent: Monday, December 22, 2014 12:58 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as WFS 1.1.0 client

Hello List,

can you please give me a quick feedback on which version WFS MapServer supports as CLIENT (see below)? I can't really find it in the docs. 
Thank you.

Lars Fricke


Am 18.12.2014 um 08:29 schrieb Lars Fricke:
> Hello,
>
> I am trying to access an external WFS with MapServer as client to 
> cascade it. I get the following error message:
> msBuildWFSLayerPostRequest(): WFS connection error. MapServer supports 
> only WFS 1.0.0 or 0.0.14 (please verify the version metadata 
> wfs_version).
>
> Indeed the external server only sends version 1.1.0 and my mapfile has:
> ...
> METADATA
>       "wfs_version"    "1.1.0"
> ...
>
> Now when I search on the net, I find bug reports about WMS 1.1.0 and 
> MapServer but no information if I can use it as a 1.1.0 client at all.
> And if so, do I need to use something specific to activate it?
>
> I'm on a German Ubuntu 14.04 64bit with Apache2 and mapserv -v says:
>
> MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML 
> SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE 
> SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV 
> SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER 
> SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS 
> INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>
> Thanks for looking into this.
>
> Best
>
> Lars
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list