I have a MapServer version 6.4.1 service set-up and was looking at the WFS 
GetCapabilities response:

http://194.66.252.155/cgi-bin/BGS_OGE_Bedrock_and_Surface_Geology_in2/ows?service=WFS&request=GetCapabilities&;

All my FeatureTypes have the following warning:

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

The WFS is working though as far as I can see, for example, I get features when 
loading in QGIS.

Is this a bug or have I got something wrong in the config?

MAP.PROJECTION is set as:

MAP
    CONFIG "PROJ_LIB" "C:/.../gisinternals/bin/proj/SHARE"
    CONFIG "MS_ERRORFILE" "C:/.../OGE2/ms_error.log"
    CONFIG "PGEO_DRIVER_TEMPLATE" "DRIVER=Microsoft Access Driver (*.mdb, 
*.accdb);DBQ=%s"
    CONFIG "OGR_SKIP" "ODBC"
    EXTENT -8.7 49.8 1.8 60.9
    PROJECTION
        #Default service projection
        "init=epsg:4326"
    END

LAYER.PROJECTION (for example for GE.GeologicFault.BGS.EN.1M.Surface) is set as:

    LAYER
        NAME GE.GeologicFault.BGS.EN.1M.Surface
        EXTENT -8.01697 49.9678 0.715821 60.8368
        PROJECTION
            "init=epsg:4326"
        END

In addition I have:

        WEB
                METADATA
                        "OWS_SRS" "CRS:84 EPSG:27700 EPSG:3034 EPSG:4258 
EPSG:4326"

and:

    LAYER
                METADATA
                    "OWS_EXTENT" "-8.01697 49.9678 0.715821 60.8368"
                    "OWS_SRS" "CRS:84 EPSG:27700 EPSG:3034 EPSG:4258 EPSG:4326"
                 "WFS_OWS" "EPSG:4326"

Thanks

James Passmore
GIS and WWW Specialist
-------------------------------
British Geological Survey,
Environmental Science Centre,
KEYWORTH,
United Kingdom,
NG12 5GG
Linked Data (vCard):http://data.bgs.ac.uk/ref/BritishGeologicalSurvey
w3w:http://w3w.co/firmly.legs.craftsmen
-------------------------------
Phone:+44 (0)115 936 3125
Fax:+44 (0)115 936 3200
-------------------------------
[email protected]
http://www.bgs.ac.uk/
-------------------------------
Skype:BGSjames
@nmtoken


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.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to