[mapserver-users] Odd warning in WFS GetCapabilities ~ what's missing in the config?

Passmore, James H. jpass at bgs.ac.uk
Thu Mar 12 08:54:17 PDT 2015


Hi Jukka,

Thanks you are correct.

I added "WFS_OWS" "EPSG:4326" to the LAYER > METADATA section as a quick hack after getting those errors and it was too quick a hack.

So changing the incorrect "WFS_OWS" "EPSG:4326" to the "WFS_SRS" "EPSG:4326" in the LAYER > METADATA makes the error message go away, but not having "WFS_SRS" "EPSG:4326" set in the LAYER > METADATA, but having the MAP > PROJECTION, and LAYER > PROJECTION, and LAYER > METADATA as "OWS_SRS" "list of SRS...", set results in the warning:

<!--
WARNING: Mandatory mapfile parameter: (at least one of) MAP.PROJECTION, LAYER.PROJECTION or wfs/ows_srs metadata was missing in this context.
-->

So as I understand it this is still a bit buggy.

The message should really read:

<!--
WARNING: Mandatory mapfile parameter: wfs_srs metadata is missing in this context.
-->

thanks again

James

This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.


More information about the mapserver-users mailing list