[MapServer-dev] Question regarding the WFS client layers support
Tamas Szekeres
szekerest at gmail.com
Thu Nov 6 11:46:08 PST 2025
Hi Devs,
What is the current status of the WFS client support in mapserver? We are
trying to utilize that in a project, but I've run into quite some issues
which make it pretty unusable, like:
1. According to the documentation only WFS 1.0.0 is supported where the SRS
is not provided with the BBOX in the GetFeature queries. (So the server
default SRS has to be used as the layer projection)
2. By using the GET method, WFS 1.1.0 seems to be supported and SRSNAME may
also be provided if the wfs_srs metadata is set. (But this is not
documented)
3. WFS 2.0.0 is not supported entirely.
4. When using EPSG:4326 with the default 1.0.0 (POST) setting, the axis
order is not properly considered when drawing the layers
For example the following layer is rendered vertically:
LAYER
CONNECTION "
https://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WFSServer
"
CONNECTIONTYPE WFS
EXTENT -180 -89.90002441 180.00012207 83.62371826
METADATA
"wfs_geometryname" "Shape"
"wfs_srs" "EPSG:4326"
"wfs_maxfeatures" "10000"
"wfs_typename" "esri:Continent"
"wfs_version" "1.0.0"
END # METADATA
NAME "Continent"
PROJECTION
"EPSG:4326"
END # PROJECTION
STATUS ON
TILEITEM "location"
TYPE POLYGON
UNITS METERS
CLASS
NAME "Class (0)"
STYLE
COLOR 255 255 255
OUTLINECOLOR 0 0 0
SIZE 8
END # STYLE
TEMPLATE "query.html"
END # CLASS
END # LAYER
But this one seems to be ok:
LAYER
CONNECTION "
https://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WFSServer
"
CONNECTIONTYPE WFS
EXTENT -180 -89.90002441 180.00012207 83.62371826
METADATA
"wfs_geometryname" "Shape"
"wfs_srs" "EPSG:4326"
"wfs_request_method" "GET"
"wfs_maxfeatures" "10000"
"wfs_typename" "esri:Continent"
"wfs_version" "1.1.0"
END # METADATA
NAME "Continent (1)"
PROJECTION
"EPSG:4326"
END # PROJECTION
STATUS OFF
TILEITEM "location"
TYPE POLYGON
UNITS METERS
CLASS
NAME "Class (0)"
STYLE
COLOR 255 255 255
OUTLINECOLOR 0 0 0
SIZE 8
END # STYLE
TEMPLATE "query.html"
END # CLASS
END # LAYER
Best regards,
Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20251106/cc24029f/attachment.htm>
More information about the MapServer-dev
mailing list