Extra Parameters in WMS Layer

Matthew Perry perrygeo at GMAIL.COM
Thu Oct 12 15:53:10 EDT 2006


Jeff,


On 10/12/06, Jeffrey Johnson <ortelius at gmail.com> wrote:
> I am retrieving some meteorological data from a WMS server at NASA.
> http://map06.gsfc.nasa.gov/cgi-bin/geos-wms.cgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=wind&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=1000&HEIGHT=500&FORMAT=image/png&TIME=2006-10-12T00:00&dim_mbar=1000
> http://map06.gsfc.nasa.gov/cgi-bin/geos-wms.cgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=wind&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=1000&HEIGHT=500&FORMAT=image/png&TIME=2006-10-12T00:00&dim_mbar=900
>
> Notice the last parameter dim_mbar=1000/dim_mbar_900 this allows the
> height or pressure level to be specified. How do I pass this info to
> the WMS using a mapserver mapfile? I can't seem to be able to specify
> it in the metadata section of the WMS layer. So, by default the server
> returns the 1000mb pressure level.
>
> Any ideas, or pointers to documentation on this sort of thing?


You can just add the pressure level to the CONNECTION url:

http://map06.gsfc.nasa.gov/cgi-bin/geos-wms.cgi?dim_mbar=900


-- 
Matthew T. Perry
GIS Analyst / Software Engineer
National Center for Ecological Analysis and Synthesis (NCEAS)
work: perry at nceas.ucsb.edu
web: http://www.perrygeo.net



More information about the mapserver-users mailing list