MapScript SetSymbolSet

Christopher Condit condit at SDSC.EDU
Wed Feb 15 19:03:48 EST 2006


Hi Sean-
Is there a way to accomplish this with MapScript?  All I see is a way to
set the symbolset.

Thanks,

Chris

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Sean Gillies
Sent: Wednesday, February 15, 2006 3:58 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] MapScript SetSymbolSet

On Feb 15, 2006, at 3:19 PM, Christopher Condit wrote:

> Hi Julien-
> Thanks for your response.  Here are the contents of the symbol file:
> SYMBOLSET
>   SYMBOL
>     NAME 'circle'
>     TYPE ELLIPSE
>     POINTS 1 1 END
>     FILLED TRUE
>   END
> END
>
> The problem I'm having is intermittent and I can't reliably reproduce
> it.  My only thought was that for some reason mapscript couldn't read
> the file.  Is there any way to embed these symbols directly in the
> mapfile instead of referencing the symbolset file?
>
> Thanks,
>
> Chris

Yes, just add any SYMBOL block as a child of the top-level map.

Sean

---
Sean Gillies
sgillies at frii dot com
http://zcologia.com/news



More information about the mapserver-users mailing list