[mapserver-users] WMS layer example

Ian Walberg ian.walberg at airborne.aero
Fri Sep 7 06:34:35 PDT 2012


Just in case anyone else needs this here is the working map file.


MAP
  NAME 'Simple'
  STATUS ON
  SIZE 640 480

	EXTENT -121 32 -100 45

  UNITS MILES
  SHAPEPATH "shp"
  IMAGECOLOR 40 40 40
  IMAGETYPE PNG

	CONFIG "MS_ERRORFILE" "c:/ms4w/Apache/htdocs/mapserver.log"
	
	DEBUG 5

 LAYER
		DEBUG 5
    NAME         weather_radar
    TYPE         RASTER
    STATUS       DEFAULT
    CONNECTIONTYPE WMS
    CONNECTION "http://nowcoast.noaa.gov/wms/com.esri.wms.Esrimap/obs?"

    METADATA
      "wms_srs" "EPSG:4326"
      "wms_name" "RAS_RIDGE_NEXRAD"
      "wms_server_version" "1.1.1"
      "wms_format" "image/png"
    END

    PROJECTION
      "init=epsg:4326"
    END
  END

  PROJECTION
  	"proj=latlong"
		"ellps=WGS84"
		"datum=WGS84"
  END

END

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Friday, August 31, 2012 9:02 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] WMS layer example

Hello folks,

We had weather layers working ok previously and now cannot find the map
file we used.

Anyone got an example that works with the AS_RIDGE_NEXRAD layer from
here http://nowcoast.noaa.gov/help/mapservices.shtml

Works with QGIS but cannot get the syntax correct for mapserver.

Thanks

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



More information about the MapServer-users mailing list