Hi Valerio,

MapServer can use SVG as an output format (see http://mapserver.gis.umn.edu/docs/howto/svg-howto), but not as an input format for which it needs standard GIS formats like shapefile, MapInfo files, PostGIS database, TIF... for vector formats see : http://mapserver.gis.umn.edu/docs/reference/vector_data/ for raster formats, you have gdal page here : http://www.gdal.org/formats_list.html

Guillaume



valerio vianello a écrit :
Hi,

I'm new in this community and I'm starting to learn something about mapserver. In my application I need to work with svg file. If I try to do a raster layer with a svg file I have the following error:

"msDrawMap(): Image handling error. Failed to draw layer named 'modis'. msDrawRaster(): Image handling error. Unrecognized or unsupported image format drawEPP(): Image handling error. /var/www/ms4w/apps/tutorial/data/ssap/maps/b1_f2_no_details.svg is not an EPPL file. " While if I start from a raster file in png format and in the map file I put the following code:

OUTPUTFORMAT
    NAME svg
    DRIVER "svg"
    MIMETYPE "image/svg+xml"
    IMAGEMODE PC256
    EXTENSION "svg"
  END

in output I have 2 file, one with raster layer in png format and another with POLYGON layer in svg format.

The question is: Can MapServer process input/output svg file ? and if it can How I have to set mapserver ?
Thanks
Valerio


------------------------------------------------------------------------
Scopri il Blog di Yahoo! Mail <http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/SIG=11djrg460/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F>: trucchi, novità, consigli... e la tua opinione!


------------------------------------------------------------------------

_______________________________________________
mapserver-users mailing list
[email protected]


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to