Hi Nisha,
 
Here is a sample of a .map file that consumes a WMS service.  In this
case, it consumes a WMS service containing orthoimagery.  The wms_name
element contains the names of the layers within the service that you
want to display...
 
LAYER
  GROUP "Imagery"
  NAME "naip2007"
  TYPE raster
  STATUS OFF
  CONNECTIONTYPE WMS
  CONNECTION
"http://your-server-name/wms/mapserv.exe?map=c:/wms/orthos.map
<http://your-server-name/wms/mapserv.exe?map=c:/wms/orthos.map> &"
 
  METADATA
    "wms_server_version" "1.1.1"
    "wms_format" "image/png"
    "wms_title" "NAIP"
    "wms_abstract" "NAIP 2007 imagery"
    "wms_srs" "EPSG:26919"
    "wms_onlineresource" "MaineOrthos-NAIP"
    "wms_name" "naip2007,naip10moverview,naip100moverview"
  END
END

________________________________

From: Nisha P [mailto:nisha...@gmail.com] 
Sent: Friday, February 13, 2009 6:14 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] WMS layer in mapserver


Hi All...

I have added a WMS layer in mapguide open source successfully..

Now i want to add WMS layer in mapserver...My ms4w version is 2.2.6..

Is it supports WMS? From where can i get WMS CAPABILITIES Document?

Anybody please send me WMS mapfile..i m newer in mapserver..So plz help
me..




Regards
Nisha P


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to