Mapserver SVG output
James Anderson
james at DANISAT.NET
Thu Apr 7 02:15:42 PDT 2005
Hi,
I am having this problem with mapserver trying it get it to make svg output:
In browser the mapfile produces:
loadOutputFormat(): General error message. OUTPUTFORMAT clause references driver svg, but this driver isn't configured.
How do I configure the svg driver?
Can anyone please help ?
Thanks,
James.
My Mapserver info:
./mapserv -v
MapServer version 4.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
----------------------------------------------------------------------------------------------------
Map File
........
IMAGETYPE svg
STATUS OFF # we don't want a raster map
OUTPUTFORMAT
NAME svg
MIMETYPE "image/svg+xml"
DRIVER svg
FORMATOPTION "GOSVG=TRUE"
FORMATOPTION "GOSVG_ZoomInTH=20"
FORMATOPTION "GOSVG_ZoomOutTH=40"
FORMATOPTION "GOSVG_ScrollTH=60"
END
WEB
IMAGEPATH "/home/httpd/html/test/temp/"
IMAGEURL "/test/temp/"
QUERYFORMAT 'image/svg+xml'
END
......................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050407/cc8a6e0d/attachment.htm>
More information about the MapServer-users
mailing list