Hi devs: I'm curious if folks have any ideas on 8.0 changes that might
have affected SVG rendering. The msautotest SVG file renders fine as
do some other files I've created (circle with hole, star with even/odd
fill rule). So, this isn't a complete regression but something
specific to a particular type of SVG graphic. Rendering issue is
consistent with AGG and Cairo.
--Steve
---------- Forwarded message ---------
From: *Lime, Steve D (MNIT) via MapServer-users*
<[email protected]>
Date: Wed, Dec 7, 2022 at 4:36 PM
Subject: Re: [MapServer-users] Filled SVG symbol after switching to
Mapserver 8
To: Marcin Niemyjski <[email protected]>, Marcin Niemyjski via
MapServer-users <[email protected]>
Interestingly the SVG-related regression tests all pass using a more
complex SVG file than what you had shared. Using 8.0, the
msautotest/misc/data/Road_Works.svg
(https://github.com/MapServer/MapServer/blob/branch-8-0/msautotest/misc/data/Road_Works.svg) file renders fine as a point symbol while your marker_customers.svg does not and matches your sample output. Using the current 7.6 branch, both symbols render as expected as point symbols.
More digging will be necessary. Are any devs aware of specific changes
relative to SVG (or vector) symbol support?
--Steve
*From:* Marcin Niemyjski <[email protected]>
*Sent:* Wednesday, December 7, 2022 11:27 AM
*To:* Lime, Steve D (MNIT) <[email protected]>; Marcin Niemyjski
via MapServer-users <[email protected]>
*Subject:* Re: Filled SVG symbol after switching to Mapserver 8
I am using the camptocamp/mapserver 8 image. I have not changed
anything in the default configuration provided as part of the image.
Wysyłane z aplikacji Outlook dla systemu iOS
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fo0ukef&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=s3w2L%2Fh%2FYw1IAxcY4cqoZeoF%2F6Q0snFT9%2F7yaQVjyqk%3D&reserved=0>
------------------------------------------------------------------------
*Od:*Lime, Steve D (MNIT) <[email protected]>
*Wysłane:* Wednesday, December 7, 2022 6:21:39 PM
*Do:* Marcin Niemyjski <[email protected]>; Marcin Niemyjski
via MapServer-users <[email protected]>
*Temat:* RE: Filled SVG symbol after switching to Mapserver 8
Which SVG library are you using – RSVG or Cairo?
*From:* Marcin Niemyjski <[email protected]>
*Sent:* Wednesday, December 7, 2022 9:38 AM
*To:* Lime, Steve D (MNIT) <[email protected]>; Marcin Niemyjski
via MapServer-users <[email protected]>
*Subject:* Re: Filled SVG symbol after switching to Mapserver 8
Steve,
link to my svgs:
https://cloudferro-my.sharepoint.com/:f:/p/mniemyjski/EobJZb14qXRHj34634dWZdgBnZa3r7Qztx4-Z2HVFvZO9A?e=L2hCXj
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcloudferro-my.sharepoint.com%2F%3Af%3A%2Fp%2Fmniemyjski%2FEobJZb14qXRHj34634dWZdgBnZa3r7Qztx4-Z2HVFvZO9A%3Fe%3DL2hCXj&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zJA2sroFd%2BwgsGdpctsC1p8GTgeMvoNWss5h54Xrul4%3D&reserved=0>
Thanks,
Marcin
------------------------------------------------------------------------
*From:*Lime, Steve D (MNIT) <[email protected]>
*Sent:* Wednesday, December 7, 2022 4:33 PM
*To:* Marcin Niemyjski <[email protected]>; Marcin Niemyjski
via MapServer-users <[email protected]>
*Subject:* RE: Filled SVG symbol after switching to Mapserver 8
Hmmm… I’m not aware of any obvious changes between v.7 and v.8 that
would account for the change and nothing jumps out looking at your
mapfile. Would you be able to share one of your SVG graphics? --Steve
*From:* MapServer-users <[email protected]> *On
Behalf Of *Marcin Niemyjski via MapServer-users
*Sent:* Wednesday, December 7, 2022 6:45 AM
*To:* Marcin Niemyjski via MapServer-users
<[email protected]>
*Subject:* [MapServer-users] Filled SVG symbol after switching to
Mapserver 8
Hello,
after switching to Mapserver 8 my svg symbols started to be rendered
as filled:
how it looks now:
https://pasteboard.co/4K4CIEW6oFIm.png
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2F4K4CIEW6oFIm.png&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aR2PwDSFeKRZ3y58GB2Zvgv65%2B8zwYF6vAXZGzA5SQU%3D&reserved=0>
how it was looking (the good way):
https://pasteboard.co/wDQGW0xzFGRg.png
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FwDQGW0xzFGRg.png&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FHhnXrUCQTmWUd1jLag7k68bXFn%2By5HHkDMv1%2FbvUGk%3D&reserved=0>
My mapfile:
https://pastebin.com/KRYDEAR2
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FKRYDEAR2&data=05%7C01%7Csteve.lime%40state.mn.us%7C10bb17d44aec4b17776a08dad8783ad5%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C638060308145753646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nDoL3dPscDV5Yct%2B8oWxia6CemvMRorxBfcLGiKKHDg%3D&reserved=0>
What can I do to render svg the good way?
Best,
Marcin
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
MapServer-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev