[mapserver-users] On-the-fly hillshade with Mapserver and gdaldem

Even Rouault even.rouault at spatialys.com
Mon Sep 11 03:22:55 PDT 2017


On lundi 11 septembre 2017 10:14:13 CEST Rahkonen Jukka (MML) wrote:
> Hi,
> 
> Could it be possible to generate multidirectional hillshade on-the-fly for
> example by running gdaldem http://www.gdal.org/gdaldem.html in the
> background?

Would require changes to MapServer. Either creating a CONNECTION HILLSHADE (ala 
CONTOUR), or something more generic that would enable to run an arbitrary executable 
with options

Another way of doing it with GDAL 2.2 is to use VRT with pixel functions in Python:
http://www.gdal.org/gdal_vrttut.html#gdal_vrttut_derived_python

There's actually one example to do (single direction) hillshading.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170911/b096ede7/attachment.html>


More information about the mapserver-users mailing list