[mapserver-users] mapserver 6.0.1 and cairo SVG

Raivo Alla snaperski at gmail.com
Wed Sep 14 02:47:47 EDT 2011


Hello!

Friends, I have some issues with getting SVG output working here...
I have latest MS4W install:
MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML
SUPPORTS=PROJ
SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=FRIBIDI
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS
SUPPORTS=GEOS
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
I don't see  OUTPUT=SVG there, but I guess its normal, since this MS version
has non-native (Cairo) SVG support.

Well, but even if I have configured in my mapfile the outputformat like
that:
IMAGETYPE svg
OUTPUTFORMAT
  NAME "svg"
  DRIVER CAIRO/SVG
  MIMETYPE "image/svg+xml"
  IMAGEMODE RGB
  EXTENSION "svg"
END

...and get correct GetCapabilities request, where SVG format is listed as
first, then I still cant see SVG format listed when
using ArcMap as WMS-client (there are PNG24, JPEG and PNG8 listed though).
Also when I send GetMap request (setting FORMAT=image/svg+xml) through
browser, I get response:
msWMSLoadGetMapParams(): Image handling error. Unsupported output format
(image/svg xml).

Where should I dig into?


Thank you in advance,
Raivo Alla,
Estonia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110914/f8fd3b65/attachment-0001.html


More information about the mapserver-users mailing list