[mapserver-users] Polygons 3D effect
Lars Schylberg
lars.schylberg at blixtmail.se
Thu Mar 17 00:15:36 PDT 2016
Simon,
I guess that You need to do a GEOTRANSFORM with a buffer as shown here:
https://lists.osgeo.org/pipermail/mapserver-users/2015-October/078302.html
I haven't verified this myself yet. It is on my "want to do list".
/Lars Schylberg
Den 2016-03-17 kl. 00:42, skrev Simon Mercier:
> 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 <http://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 <mailto: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
>> 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
>> <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
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160317/728fd613/attachment.htm>
More information about the MapServer-users
mailing list