Hmmm, can the OFFSET values be database driven to fake heights of buildings?  
Talking to myself here, I could even make a building shadow too with another 
STYLE . . . .

Actually, I guess a better question is, can any value anywhere in the MAPFILE 
be data driven, or is OFFSET not capable?  Didn't there used to be some values 
that couldn't be passed in this manner?

Bobb



-----Original Message-----
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Wednesday, September 25, 2013 8:22 AM
To: Rahkonen Jukka
Cc: Mapserver-Users (mapserver-users@lists.osgeo.org)
Subject: Re: [mapserver-users] Pseudo-3D buildings

CLASS
      STYLE
         COLOR _building_clr
         OUTLINECOLOR _building_ol_clr
         WIDTH 1
         GEOMTRANSFORM (buffer([shape],2))
      END
      STYLE
         COLOR 255 0 0
         OPACITY 25
      END
      STYLE
         COLOR _building_clr
         OUTLINECOLOR _building_ol_clr
         WIDTH 1
         OFFSET 3 3
      END
END

works for me ...

On 25 September 2013 14:44, Rahkonen Jukka <jukka.rahko...@mmmtike.fi> wrote:
> Hi,
>
> See these buildings which Andrei Nacu has drawn with OpenJUMP 
> http://img855.imageshack.us/img855/8340/b072.png
>
> Buildings are constructed from 3 layers:
> - OSM building polygons (orange)
> - underneath them buffered polygons (buffer 2, round join) with dark 
> grey outline and light grey fill
> - above a copy of the building polygons with offsets dx=3 , dy=3, 
> again with dark grey outline and light grey fill
>
> I would like to see mapserver CLASS which gives the same result.
>
> -Jukka Rahkonen-
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to