[mapserver-users] svg format
valerio vianello
valerio.vianello at yahoo.it
Mon Jun 2 02:22:41 PDT 2008
Hi Guillaume,
Thanks for the reply.
I followed the procedure described in
http://mapserver.gis.umn.edu/docs/howto/svg-howto
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....
what's wrong?
in attach there is the map and the template file.
thanks
Valerio
--- Lun 2/6/08, Guillaume Sueur <guillaume.sueur at neogeo-online.net> ha scritto:
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
> mapserver-users at lists.osgeo.org
___________________________________
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
http://www.ymailblogit.com/blog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080602/71574e9b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: valerio.map
Type: application/octet-stream
Size: 5121 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080602/71574e9b/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080602/71574e9b/attachment.html>
More information about the MapServer-users
mailing list