[mapserver-users] Don't Mapserver support srsName as OGC HTTP URI?

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Fri Oct 30 08:30:27 PDT 2015


Hi,

>From WFS 1.1.0 standard:

Any valid URI value can be assigned to the srsName attribute. However, in order to enhance interoperability, a web feature service must be able to process srsName attribute values with the following format models:
* EPSG:<EPSG code>
* http://www.opengis.net/gml/srs/epsg.xml#<EPSG code>
* urn:EPSG:geographicCRC:<epsg code>

Mapserver 7.0 WFS 1.1.0 does accept EPSG:4326 and it accepts also urn:ogc:def:crs:EPSG::4326. However, it does not accept srsName= http://www.opengis.net/def/crs/EPSG/0/4326

I have tested this both with GET and POST requests and I am almost sure that this is a bug but can somebody verify if my query is correct:

<?xml version="1.0" encoding="ISO-8859-1"?>
<wfs:GetFeature xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" maxFeatures="1000" outputFormat="text/xml; subtype=gml/3.1.1">
<wfs:Query srsName="http://www.opengis.net/def/crs/EPSG/0/4326" typeName="states_table">
</wfs:Query>
</wfs:GetFeature>

Similar query does work with Geoserver.

-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151030/182f6b74/attachment.html>


More information about the mapserver-users mailing list