[mapserver-users] wms with Elevation Parameter

Kralidis,Tom [Ontario] Tom.Kralidis at ec.gc.ca
Thu Nov 4 10:50:02 EDT 2010


1./

The dimension and extent elements are in the right place; there are slight changes needed based on the 1.1.1 DTD [1].  Here is a snippet from http://schemas.opengis.net/wms/1.1.1/capabilities_1_1_1.xml:

<Dimension name="time" units="ISO8601"/>
<Dimension name="elevation" units="EPSG:5030"/>
<Extent name="time" default="2000-08-22">1999-01-01/2000-08-22/P1D</Extent>
<Extent name="elevation" default="0" nearestValue="1">0,1000,3000,5000,10000</Extent>

2./

I don't know of any WMS client that supports the elevation parameter.  You _could_ always do a GetMap request with an SLD as a workaround.

..Tom

[1] http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd

________________________________

	From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Waberzeck, Thomas
	Sent: Thursday, 04 November 2010 09:48
	To: mapserver-users at lists.osgeo.org
	Subject: [mapserver-users] wms with Elevation Parameter
	
	
		Hi,
	at first, I know that mapserver doesn't support wms with Elevation parameters. But maybe some could give me some Hints.
	What I'm going to do is set up a wms which should deliver maps for a given Depth.
	So I wrote a script which generates an referenced jpg of the demanded Dimensions (x/y and Depth) and modifies the Datasource of my Rasterlayer. Then Mapserver works as an normal wms.
	So by now, I'm able to call my wms like this:
	http://localhost/geotis_wms.php?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=epsg:31467&bbox=3704120,5915103,3737294,5944356&layers=Horizontalschnitt_farbige_Isolininen&format=image/png&width=600&height=600&elevation=2500styles
	 
	The Layerdefinition from the getCababilities is like:
	<Layer queryable="0" opaque="0" cascaded="0">
	<Name>Horizontalschnitt_farbige_Isolininen</Name>
	<Title>Horizontalschnitt_farbige_Isolininen</Title>
	<Abstract>
	Darstellung der Temperatur einer gebenen Tiefe durch farbige Isolininen
	</Abstract>
	<SRS>epsg:4326</SRS>
	<SRS>epsg:31467</SRS>
	<LatLonBoundingBox minx="5.35586" miny="47.0265" maxx="15.6606" maxy="55.0755"/>
	<BoundingBox SRS="EPSG:31467" minx="3.267e+006" miny="5.225e+006" maxx="3.927e+006" maxy="6.105e+006"/>
	<Dimension name="Elevation" units="meter"/>
	<Extent name="Elevation" unitSymbol="m">0/5000/100</Extent>
	</Layer> 
	 
	My Questions are:

	1.	Is my Layerdefinition ok? 
	2.	If yes, which clients support wms in this way? I tried to use QuantumGIS and ArcMap10 without any success - but maybe my Layerdefintion is wrong.

	 
	 
	Thomas Waberzeck
	 
	Leibniz-Institut für Angewandte Geophysik (LIAG)
	im
	GEOZENTRUM HANNOVER
	Stilleweg 2
	30655 Hannover
	 
	Telefon +49 (0)511 643 3352
	Telefax +49 (0)511 643 3665
	 
	Thomas.Waberzeck at liag-hannover.de <mailto:Thomas.Waberzeck at liag-hannover.de> 
	 
	 
	


More information about the mapserver-users mailing list