[MapServer-users] Well-know SLD symbols
TC Haddad
tchaddad at gmail.com
Wed Nov 15 03:39:59 PST 2023
Hi Jukka,
Here are some that I have, hopefully they work for what you are looking
for, I never compared to the SLD so I don't know if they match SLD
definitions. The arrow for example may not.
Tanya
---------------------fwd---------------------------- >>
Symbol
Name 'square'
Type VECTOR
FILLED TRUE
Points
0 1
0 0
1 0
1 1
0 1
END
END
Symbol
Name 'x'
Type VECTOR
Points
0 0
1 1
-99 -99
0 1
1 0
END
END
SYMBOL
NAME "arrow"
TYPE vector
FILLED true
POINTS
0 0.4
3 0.4
3 0
5 0.8
3 1.6
3 1.2
0 1.2
0 0.4
END # POINTS
ANCHORPOINT 0 0.5
END # SYMBOL
On Wed, Nov 15, 2023 at 2:33 AM Rahkonen Jukka via MapServer-users <
mapserver-users at lists.osgeo.org> wrote:
> Hi,
>
>
>
> The SDL standard defines some well-known symbols: circle, square,
> triangle, arrow, cross, star, and x. Can I find somewhere the mapfile
> versions of these symbols? I found circle and star from GitHub
> https://github.com/MapServer/MapServer/blob/2b263e96d1b44fb74caf20581256c71419da802c/msautotest/sld/data/symbols.map.include#L11
>
> and I also found code that probably generates the well-know symbols
> https://github.com/MapServer/MapServer/blob/2b263e96d1b44fb74caf20581256c71419da802c/src/mapogcsld.cpp#L48
> but that code is rather useless for me.
>
>
>
> Triangle and cross can be found here
> https://mapserver.org/mapfile/symbology/examples.html If somebody has
> ready-made square, arrow, and x and is willing to share them I would be
> grateful.
>
>
>
> -Jukka Rahkonen-
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20231115/7bbf15bd/attachment.htm>
More information about the MapServer-users
mailing list