[mapserver-users] Dynamic Pie Piece Marker

Robert Sanson Robert.Sanson at asurequality.com
Mon Jun 25 21:09:51 PDT 2012


You could create 36 symbols covering pie wedges in 10 degree increments,  then select which one by rounding your attribute to the nearest 10 degrees and selecting the appropriate symbol. Fill color could be selected by the second attribute.

regards,

Robert

>>> Ryan Dussiaume <ryan.dussiaume at mentum.com> 26/06/2012 2:25 p.m. >>>
Hi,

I'm trying to create a point marker shaped like a pie piece where the pie piece can be various sizes based on an attribute of the point.  For example, it could look like a piece of pie when the attribute is 30 degrees or it could look like Pacman if the attribute is 300 degrees.  The color of the pie piece would be determined by an attribute as well.

Does anyone know if this is possible with MapServer and how to do it?

I was hoping that I could layer two lines on top of a circle and then somehow define a mask for the circle symbol so that the unwanted piece is cut out.  After some research, it doesn't seem like it's possible.  Has anyone done anything similar?

Thanks,
Ryan



This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted Security.
www.websense.com



More information about the MapServer-users mailing list