[mapserver-users] 3D Building Howto?
Brent Fraser
bfraser at geoanalytic.com
Mon Feb 14 15:34:00 PST 2011
Steve,
A few months back there was a similar question in the Mapnik mailing
list
(http://www.mail-archive.com/mapnik-users@lists.berlios.de/msg03000.html).
A couple of links (but no solution) given in response:
http://trac.mapnik.org/wiki/BuildingSymbolizer
http://wiki.openstreetmap.org/wiki/OSM-3D
Best Regards,
Brent Fraser
On 2/14/2011 4:11 PM, Stephen Woodbridge wrote:
> Hi all,
>
> Has anyone been able to render 3D building with mapserver?
>
> I have a polygon layer with the building outlines and a height attribute.
>
> Any thoughts on how to render nice buildings like Google does?
>
> I can preprocess the data and extrude it into 3D shapes, but I'm not
> sure that gets me anywhere.
>
> My one thought was to draw the polygon, then draw it again with an xy
> offset based on a function of the height. But this does not generate
> the vertical edges of the building.
>
> I suppose I could generate all the vertical faces and the top of the
> build and then sort them all based on the z value of the centroid. I
> could event remove all the back facing polygons faces.
>
> It would be cool if mapserver had:
>
> LAYER
> TYPE POLYGON3D
> HEIGHT [height]
> ...
> END
>
> Thoughts?
> -Steve W
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list