[mapserver-users] RE: DEM display

Fawcett, David (MPCA) David.Fawcett at state.mn.us
Fri Nov 5 06:42:50 PDT 2010


David,

You can easily set up your hillshade image as one layer and turn it on for display.  In addition to that, you can have your DEM as a second layer that is not displayed, but is available for query.

I don't think that I have ever used the raster query functionality, but you can find some info here:
http://trac.osgeo.org/mapserver/wiki/RasterQuery
http://mapserver.org/input/raster.html#raster-query

Is this what you were thinking?

David.

From: David Hildebrand [mailto:David.Hildebrand at afsc.ca]
Sent: Thursday, November 04, 2010 4:26 PM
To: mapserver-users at lists.osgeo.org
Cc: Fawcett, David (MPCA)
Subject: RE: [mapserver-users] RE: DEM display

How can I combine a pre-rendered hillshade model with an elevation layer?  Can I set the transparency of a layer?  Is there a GDAL utility for rendering a combined hillshade/elevation model which will still retain the original elevation values for query?


===========================
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239

www.afsc.ca<about:www.afsc.ca> <http://www.afsc.ca<http://www.afsc.ca/>>
This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and/or privileged information. Please contact Agriculture Financial Services Corporation immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. Please consider the environment before printing this email.

________________________________
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Fawcett, David (MPCA)
Sent: Thursday, November 04, 2010 7:32 AM
To: David Hildebrand; mapserver-users at lists.osgeo.org
Subject: [mapserver-users] RE: DEM display

I would pre-render all of my hillshades and then add them as simple raster layers.

David.

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of David Hildebrand
Sent: Wednesday, November 03, 2010 6:25 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] DEM display

I have an SRTM file in TIF format which I want to display in a shaded relief but I'm not sure of the approach I should take.  Do I need to define classes and symbols for the layer (that would not help for the hillshade) or should I execute a script (PERL) on the server to create the image I need on the fly?

Thanks for the tips.


===========================
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239

www.afsc.ca<about:www.afsc.ca> <http://www.afsc.ca<http://www.afsc.ca/>>
This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and/or privileged information. Please contact Agriculture Financial Services Corporation immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. Please consider the environment before printing this email.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101105/6b8c9965/attachment.htm>


More information about the MapServer-users mailing list