SVG not working
Yewondwossen Assefa
assefa at DMSOLUTIONS.CA
Mon Dec 4 06:19:31 PST 2006
Hi there,
One possible problem (at least the way I could reproduce this) is if
the imagepath and imageurl in the map file are not set 'properly". Is
this a possibility in your case ?
Best Regards
Ernesto Vega wrote:
> Hi, I have a little problem with SVG and I'm not sure how to solve it.
> I have a map,
> where if I set IMAGETYPE as PNG it renders a correct image if I
> execute shp2img to debug it.
>
> When I set IMAGETYPE to SVG and run shp2img again, it fails, giving me
> this message on the map log file:
>
> "
> msDrawMap(): Image handling error. Unable to initialize image. <br>
> msPrepareImage(): GD library error. Unable to initialize image. <br>
> msImageCreateSVG(): Unable to access file. Failed to open temporary
> svg file. <br>"
>
> Any ideas ???
>
> Mapserver is built with the follwin options:
>
> MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
> SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER INPUT=EPPL7 INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>
> Hope you can help on this,
>
> Ernesto
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list