[mapserver-users] The SVG symbols are not accepted in a symbolset file

Jeff McKenna jmckenna at gatewaygeomatics.com
Sat May 27 09:23:05 PDT 2017


On 2017-05-27 9:45 AM, Andrea Peri wrote:
> Hi,
> I notice the definition of an SVG  SYMBOL  is not recognized if inside
> a SYMBOLSET file.
> Instead it is accepted and recognize if it is in the mapfile.
> 
> I try using this definition:
> 
>    SYMBOL
>      NAME "photo"
>      TYPE SVG
>      IMAGE "/path-to-svg-file/macchina-fotografica-blu.svg"
>    END
> 
> I guess this could be an issue, but I like a confirm before to create it.
> 
> Thx,
> Andrea.
> 
> 

Hi Andrea,

I confirm that I am able to load SVG symbols that are referenced in the 
SYMBOLSET file, with MS4W 3.2.1 (MapServer 7.0.4) on Windows.  I am 
pointing to an SVG file relative to the symbsolset, such as:

   SYMBOL
     NAME "airport"
     TYPE SVG
     IMAGE "airport.svg"
   END


-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/








More information about the mapserver-users mailing list