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 <[EMAIL PROTECTED]> 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 > [email protected] ___________________________________ Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione! http://www.ymailblogit.com/blog/
valerio.map
Description: Binary data
|
restart
Section Boundaries Select Background: No Background floor1 Map Control:
Recenter Zoom In 4x Zoom In 3x Zoom In 2x Zoom Out 2x Zoom Out 3x Zoom Out 4x Map Mode:
Browse Map |
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
