[mapserver-users] mapserver 6.0.1 and cairo SVG
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Wed Sep 14 04:45:31 PDT 2011
Hi,
Works as an url encoded format=image%2Fsvg%2Bxml from browser.
I do not know if this is how it should be, though.
-Jukka Rahkonen-
________________________________
Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] käyttäjän Raivo Alla [snaperski at gmail.com] puolesta
Lähetetty: 14. syyskuuta 2011 9:47
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] mapserver 6.0.1 and cairo SVG
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
More information about the MapServer-users
mailing list