[mapserver-users] Can map server do this?

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Mon Apr 26 23:33:25 EDT 2010


Probably a bit of overkill for what amounts to a visual effect. I was thinking about this a bit more this evening and wonder if we could use the GEOMTRANSFORM
functionality and create an "extrude" geometry transform. A little trickier than the ones currently supported since this one would produce multiple shapes rather
than a single multi-polygon. Would be kinda neat though and totally self contained. Think about turning a line into a curtain for instance.

Steve
________________________________________
From: Jan Hartmann [j.l.h.hartmann at uva.nl]
Sent: Monday, April 26, 2010 10:31 AM
To: Lime, Steve D (DNR)
Cc: Jackey Cheung; Lars Lingner; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Can map server do this?

Looks a bit like Sketchup. How about a driver for Sketchup 3D? It has already input- en output facilities for DXF and DEM

Jan

On 04/26/10 16:51, Lime, Steve D (DNR) wrote:

I can't tell from the example but it doesn't look like the map itself is oblique rather that the buildings are drawn in 2.5D.

If so, this probably can be reduced to a data pre-processing exercise. I created a small test case (see attached) where a the pieces of a cube are
drawn by MapServer. It was quick and dirty but it shows MapServer can possibly render like the example you referenced. Key is producing the
cube (sides, top, and bottom) data. I would expect that could be done ahead of time via a script where you offset the footprint in the y direction
by a height value and then compute the sides- each as a separate shape. I suppose it would be possible to create a plugin layer for this type of
data (footprint + height) but easiest route is probably data pre-processing....

Something to try anyway.

Steve
___________________________________
From: mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> [mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>] On Behalf Of Jackey Cheung [cheung.jackey at gmail.com<mailto:cheung.jackey at gmail.com>]
Sent: Monday, April 26, 2010 2:53 AM
To: Lars Lingner
Cc: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] Can map server do this?

Your effect is shadow like effects, not the "cube" like effect.

On Mon, Apr 26, 2010 at 3:38 PM, Lars Lingner <ml at lingner.eu<mailto:ml at lingner.eu><mailto:ml at lingner.eu><mailto:ml at lingner.eu>> wrote:
Jackey Cheung schrieb:


Just found a web site today. The map looks pretty like Google map, except
that it's not on Google. Can map server do this? Or anyone has any idea
which application can render this kind of image?




I got a similar result using opacity and offset with MapServer. See
 image http://www.lingner.eu/mydownloads/pics/icc_building.png

Lars

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org><mailto: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<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list