[mapserver-users] WMS GetCapabilities warnings

Fischer, Brian bfischer at houstonengineeringinc.com
Tue Oct 21 14:52:26 EDT 2008


Does anyone have an idea why I am getting this warning in the
GetCapabilities?  I have the projection defined at the map level and in
the wms_srs metadata.  Do I need to define the full projection and not
the epsg code to get rid of the warning?

 

<Title>parcelwms</Title> 

- <!-- 

 WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION,
LAYER.PROJECTION or wms_srs metadata' was missing in this context. 

  --> 

 

Full GetCapbilities URL:
http://douglas.houstoneng.com/cgi-bin2/mapserv.exe?map=/ms4w/apps/GeoMOO
SE/douglas/maps_douglas/douglas_ogc.map&SERVICE=WMS&VERSION=1.1.1&REQUES
T=GetCapabilities 

 

Mapfile is shown below:

MAP

                NAME 'DouglasOGC'

                SIZE 800 650

                STATUS ON

                EXTENT 285288 5069486 334186 5109721

                UNITS METERS

                FONTSET 'fonts/fontset.list'

                SYMBOLSET 'symbols/symbol.sym'

                CONFIG "PROJ_LIB" "C:\proj\nad"

                IMAGETYPE PNG

                PROJECTION

                "init=epsg:26915"

                END

                WEB

                                IMAGEPATH "/ms4w/tmp/ms_tmp/"

                                IMAGEURL "/ms_tmp/"

                                METADATA

                                  "wms_title" "Douglas County WMS
Server"

                                  "wms_conlineresource"
"http://douglas.houstoneng.com/cgi-bin2/mapserv.exe?map=/ms4w/apps/GeoMO
OSE/douglas/maps_douglas/douglas_ogc.map&"

                                  "wms_srs" "EPSG:26915"

                                  "wms_abstract" "The Douglas County WMS
server has been setup for testing purposes only. The data should not be
used for any official decisions"

                                  "wfs_title" "Douglas County WFS
Server"

                                  "wfs_onlineresource"
"http://douglas.houstoneng.com/cgi-bin2/mapserv.exe?map=/ms4w/apps/GeoMO
OSE/douglas/maps_douglas/douglas_ogc.map&"

                                  "wfs_srs" "EPSG:26915"

                                  "wfs_abstract" "The Douglas County WFS
server has been setup for testing purposes only.  The data should not be
used for any official decisions"

                                END

                END

                

 

                LEGEND

                                STATUS ON

                END

 

                

                LAYER # Parcel Polygon Layer

                    NAME parcelwms

                    METADATA

                                "wms_title" "parcelwms"

                                'WMS_FEATURE_INFO_MIME_TYPE'
'text/plain'

                                "wfs_title" "parcels"

                                "gml_featureid" "FID"

                                "gml_include_items"
"PIN,GIS_ACRES,TAXPAYER"

                    END

                    DATA 'ogc/parcels_utm15'

                    DUMP TRUE

                    STATUS OFF

                    TYPE LINE    

                    CLASS

                      NAME "Parcels"

                      SYMBOL 'plainline'

                      COLOR 153 255 153

                      SIZE 1.5

                    END

                    

  END # Parcels Polygon Layer

 

END ## end Map

 

Thanks,

Brian

 

Brian Fischer, CFM

GIS Project Manager
Houston Engineering, Inc. | Leave Nothing to ChanceTM
6901 East Fish Lake Road, Suite 140
Maple Grove, MN 55369
Phone:  763.493.4522 / Fax:  763.493.5572
Email:  bfischer at houstonengineeringinc.com
<mailto:bfischer at houstonengineeringinc.com> 
Website: www.houstonengineeringinc.com
<http://www.houstonengineeringinc.com/>  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081021/3797f02f/attachment.html


More information about the mapserver-users mailing list