<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:rgb(255, 255, 255);width:100%;'><tr><td valign='top' style='font: inherit;'>Hi Guillaume,<br><br>Thanks for the reply.<br>I followed the procedure described in <br><pre>http://mapserver.gis.umn.edu/docs/howto/svg-howto<br></pre>but my example don't work. In the tmp directory I see 3 files, two in svg format with "floors" layer (type polygon) and one file with the "background" layer (type raster) and in the browser there is no image....<br>what's wrong? <br><br>in attach there is the map and the template file.<br><br>thanks<br>Valerio<br>--- <b>Lun 2/6/08, Guillaume Sueur <i><guillaume.sueur@neogeo-online.net></i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">Hi Valerio,<br><pre><br>MapServer can use SVG as an output format (see
<br>http://mapserver.gis.umn.edu/docs/howto/svg-howto), but not as an input <br>format for which it needs standard GIS formats like shapefile, MapInfo <br>files, PostGIS database, TIF...<br>for vector formats see : <br>http://mapserver.gis.umn.edu/docs/reference/vector_data/<br>for raster formats, you have gdal page here : <br>http://www.gdal.org/formats_list.html<br><br>Guillaume<br><br><br><br>valerio vianello a écrit :<br>> Hi,<br>> <br>> I'm new in this community and I'm starting to learn something<br>about <br>> mapserver. In my application I need to work with svg file. If I try to <br>> do a raster layer with a svg file I have the following error:<br>> <br>> "msDrawMap(): Image handling error. Failed to draw layer named<br>'modis'. <br>> msDrawRaster(): Image handling error. Unrecognized or unsupported image <br>> format drawEPP(): Image handling error. <br>>
/var/www/ms4w/apps/tutorial/data/ssap/maps/b1_f2_no_details.svg is not <br>> an EPPL file. " <br>> While if I start from a raster file in png format and in the map file I <br>> put the following code:<br>> <br>> OUTPUTFORMAT<br>> NAME svg<br>> DRIVER "svg"<br>> MIMETYPE "image/svg+xml"<br>> IMAGEMODE PC256<br>> EXTENSION "svg"<br>> END<br>> <br>> in output I have 2 file, one with raster layer in png format and another <br>> with POLYGON layer in svg format.<br>> <br>> The question is: Can MapServer process input/output svg file ? and if it <br>> can How I have to set mapserver ? <br>> <br>> Thanks<br>> Valerio<br>> <br>> <br>> ------------------------------------------------------------------------<br>> Scopri il Blog di Yahoo! Mail
<br>><br><http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/SIG=11djrg460/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F>:<br><br>> trucchi, novità, consigli... e la tua opinione!<br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> _______________________________________________<br>> mapserver-users mailing list<br>> mapserver-users@lists.osgeo.org</pre></blockquote></td></tr></table><br>
<hr size=1><font face="Arial" size="2">Scopri il <a href="http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/SIG=11djrg460/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F"> Blog di Yahoo! Mail</a>: trucchi, novità, consigli... e la tua opinione!</font>