Styled Layer Descriptor (SLD) code for creating a pseudo-3D building effect
Latest commit 27a79af Mar 31, 2014 @charleyglynn Update README.md
Permalink
Failed to load latest commit information.
Extruded-buildings.sld code and image added Mar 31, 2014
README.md Update README.md Mar 31, 2014
extruded-buildings.png code and image added Mar 31, 2014

README.md

Extruded buildings (SLD)

Styled Layer Descriptor (SLD) code for creating a pseudo-3D building effect in Geoserver

Example image:

Example

It is also possible to use a value from the attribution of your data which you may want to do in order to extrude each building with its unique height value. To do this, replace the literal tags with PropertyName tags and include the relevant field name from your data's attribute table.

It's also cool to play around with the colour and opacity values.

Other sources of information:

http://www.maptags.de/?p=148

http://mapping-malaysia.blogspot.co.uk/2010/07/pseudo-3d-buildings-in-geoserver.html

https://github.com/opengeogroep/NLExtract/blob/master/bag/style/sld/just_vd_broecke/bag-pand-25d.sld