Thanks!<br>A step forward!<br><br>This way it suggest me to declare TEMPLATE in the WEB section. Hence the question: how should I put this SVG output file in html template?<br>SVG file itself was generated in TMP folder, filename contains randomly generated numbers...<br>
I would like the browser to display the SVG output on the run. <br><br>Thanks again,<br>Raivo<br><div style="margin-left: 40px;"><br><br>Hi,<br><br>Works as an url encoded format=image%2Fsvg%2Bxml from browser.<br><br>I do not know if this is how it should be, though.<br>
<br>-Jukka Rahkonen-<br>________________________________<br>Lähettäjä: mapserver-users-bounces at <a href="http://lists.osgeo.org">lists.osgeo.org</a> [mapserver-users-bounces at <a href="http://lists.osgeo.org">lists.osgeo.org</a>] käyttäjän Raivo Alla [snaperski at <a href="http://gmail.com">gmail.com</a>] puolesta<br>
Lähetetty: 14. syyskuuta 2011 9:47<br>Vastaanottaja: mapserver-users at <a href="http://lists.osgeo.org">lists.osgeo.org</a><br>Aihe: [mapserver-users] mapserver 6.0.1 and cairo SVG<br><br>Hello!<br><br>Friends, I have some issues with getting SVG output working here...<br>
I have latest MS4W install:<br>MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ<br>SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI<br>SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT<br>
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS<br>INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br>I don&#39;t see  OUTPUT=SVG there, but I guess its normal, since this MS version has non-native (Cairo) SVG support.<br>
<br>Well, but even if I have configured in my mapfile the outputformat like that:<br>IMAGETYPE svg<br>OUTPUTFORMAT<br>  NAME &quot;svg&quot;<br>  DRIVER CAIRO/SVG<br>  MIMETYPE &quot;image/svg+xml&quot;<br>  IMAGEMODE RGB<br>
  EXTENSION &quot;svg&quot;<br>END<br><br>...and get correct GetCapabilities request, where SVG format is listed as first, then I still cant see SVG format listed when<br>using ArcMap as WMS-client (there are PNG24, JPEG and PNG8 listed though).<br>
Also when I send GetMap request (setting FORMAT=image/svg+xml) through browser, I get response:<br>msWMSLoadGetMapParams(): Image handling error. Unsupported output format (image/svg xml).<br><br>Where should I dig into?<br>
<br><br>Thank you in advance,<br>Raivo Alla,<br>Estonia<br></div>