[Mapserver-dev] creating some default symbols
Yewondwossen Assefa
assefa at dmsolutions.ca
Wed Jun 16 11:53:03 EDT 2004
The code is in mapogcsld.c. As I mentionned, they were only created when
using sld and a reference to the symbol inside the sld. So I guess the
code have to be moved to the proper location.
Later,
Steve Lime wrote:
> I didn't see them when looking through the code, at least not in a place
> where they would
> be generally useful to CGI and MapScript. They should be added when a
> symbol set is initialized.
> Thanks for the tip though, I'll poke around a bit more...
>
> Steve
>
>
>>>>pagameba at magma.ca 6/15/2004 10:35:26 PM >>>
>
> I'm pretty sure Assefa added this for SLD support so the symbols are
> probably already built in. I suspect he used names like
> 'sld_mark_square' for them, though. It might be nice if all this
> symbology stuff was consolidated :>
>
> Sean Gillies wrote:
>
>
>>On Jun 15, 2004, at 4:59 PM, Steve Lime wrote:
>>
>>
>>>Anyone see a problem with creating some basic symbols (circle,
>
> square,
>
>>>triangle, star) when the symbolFileObj is initialized? Users could
>>>reference them by names like _circle or _star so as not to break
>
> old
>
>>>apps. Then we could do things like using the built-in circle in
>
> cases
>
>>>when a user specifies a size but no symbol.
>>>
>>>Steve
>>
>>
>>According to the SLD spec, well known symbol names are "square",
>
> "circle",
>
>>"triangle", "star", "cross", and "x".
>>
>>Sean
>>
>>_______________________________________________
>>Mapserver-dev mailing list
>>Mapserver-dev at lists.gis.umn.edu
>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
>>
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the mapserver-dev
mailing list