[mapserver-users] Polygons 3D effect
Simon Mercier
smercier at mapgears.com
Wed Mar 16 16:42:07 PDT 2016
I try inside shading on the water bodies but didn't succeed yet. Is there any doc or anyone have a working example?
LAYER
NAME 'lakes'
TYPE POLYGON
PROJECTION
'init=epsg:4326'
END
DATA '../data/ne_10m_lakes'
COMPOSITE
END
COMPOSITE
COMPFILTER "whiten()"
COMPFILTER "blur(4)"
COMPOP "soft-light"
OPACITY 50
END
CLASS
STYLE
COLOR "#999999"
END
END
END
--
Simon Mercier
mapgears.com
Quebec: +1 418.476.7139 #101
Toll Free: +1 888.696.5056 #101
evouala.com - Location Intelligence Made Easy
> On Mar 16, 2016, at 9:19 AM, Schylberg Lars <lars.schylberg at saabgroup.com> wrote:
>
> Thomas B. described how to do it in this post:
>
> http://lists.osgeo.org/pipermail/mapserver-dev/2015-October/014614.html <http://lists.osgeo.org/pipermail/mapserver-dev/2015-October/014614.html>
>
> It is just available today if You compile master branch yourself, since it was developed after the 7.0 release.
>
> /Lars Schylberg
>
> ==
> Hi,
>
> Draw a shadow below the polygon with something like this
>
> CLASS
> MAXSCALEDENOM 11000
> STYLE
> COLOR "#AB9E89"
> OFFSET 1 1
> END
> STYLE
> COLOR "#AB9E89"
> END
> END
> CLASS
> STYLE
> COLOR "#AB9E89"
> OUTLINECOLOR "#AB9E89"
> WIDTH 0.5
> END
> END
>
> Style is probably made by Thomas Bonfort for OSM buildings.
>
> -Jukka Rahkonen-
>
> Marco Afonso wrote:
>
>
> Hello all,
>
> How to get a 3D style effect or a shadow effect for Polygons? The idea is to give a user feeling of 3D effect.
>
> Thanks!
>
> --
> Best Regards,
> Marco Afonso
> http://goo.gl/ZDtQjm <http://goo.gl/ZDtQjm>
> <image001.jpg>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org <mailto:mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users <http://lists.osgeo.org/mailman/listinfo/mapserver-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160316/1bb037a0/attachment.htm>
More information about the MapServer-users
mailing list