Same "distortion" happens to me sometimes too. If I try to export my SVG from 
InkScape using Optimized SVG, sometimes the shapes don't come out right and 
have to save the file as InkScape SVG or Plain SVG instead. Never fully 
investigated what went on there. Also, I find that setting the actual size of 
the image in the <svg> tag using the width and height attributes is necessary 
for GeoServer to properly render the SVG.

Edward


> Date: Wed, 13 Jan 2016 00:01:19 -0800
> From: [email protected]
> To: [email protected]
> Subject: Re: [Geoserver-users] Displaying SVG external graphic issue
> 
> Edward,
> 
> Thanks for help!
> 
> Yes, I can indeed display the SVG symbol in my browser with the URL.
> 
> The question remains: *why do PNG files display correctly and SVG files
> don't* (both being placed in the same directory)? I would prefer solving
> this issue rather than having two different directories for PNG files and
> SVG files...
> 
> I tested storing the SVG file in the same directory as SLDs and using a
> relative path to call the file. This works but the symbol displayed is not
> good. It seems to be distorted...
> 
> SVG file :
> 
> <http://osgeo-org.1560.x6.nabble.com/file/n5244885/svg_file.png> 
> 
> 
> SVG file as displayed in QGIS :
> 
> <http://osgeo-org.1560.x6.nabble.com/file/n5244885/svg_file_qgis.png> 
> 
> 
> Thanks again in advance for help!
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Displaying-SVG-external-graphic-issue-tp5244529p5244885.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
                                          
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to