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]<mailto:[email protected]>>
Wysłane: Wednesday, December 7, 2022 6:21:39 PM
Do: Marcin Niemyjski 
<[email protected]<mailto:[email protected]>>; Marcin Niemyjski 
via MapServer-users 
<[email protected]<mailto:[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]<mailto:[email protected]>>
Sent: Wednesday, December 7, 2022 9:38 AM
To: Lime, Steve D (MNIT) 
<[email protected]<mailto:[email protected]>>; Marcin Niemyjski via 
MapServer-users 
<[email protected]<mailto:[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]<mailto:[email protected]>>
Sent: Wednesday, December 7, 2022 4:33 PM
To: Marcin Niemyjski 
<[email protected]<mailto:[email protected]>>; Marcin Niemyjski 
via MapServer-users 
<[email protected]<mailto:[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]<mailto:[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]<mailto:[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

Reply via email to