> so there is no way to have in output an svg file with all the layer ? because
> if I understood Mapserver don't support svg file in input and according to the
> svg spec a png file is only linked by a svg file.

You can put a PNG inline inside SVG, but I do not see how that would help
you. I think the problem is that you use a Template, where the SVG gets
inserted into the HTML as an IMG object. Although I think it works sometimes
in some User Agents, that is not the correct way. Remember that an SVG
'picture' is a piece of XML to be interpreted, not a ratser image you can
just render directly to screen. So, if used inside (X)HTML it should be
embedded properly, eg. like:

<object data="sample.svgz" type="image/svg+xml"
        width="400" height="300">
    <embed src="sample.svgz" type="image/svg+xml"
            width="400" height="300" />
</object>

See http://wiki.svg.org/SVG_and_HTML for more possibilities and explanation.


-- 
Barend Köbben
International Institute for Geo-Information
Sciences and Earth Observation (ITC)
PO Box 6
7500AA Enschede, The Netherlands
+31 (0)53 4874253



International Institute for Geo-Information Science and Earth Observation (ITC)
Chamber of Commerce: 410 27 560

E-mail disclaimer
The information in this e-mail, including any attachments, is intended for the 
addressee only. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, distribution or action in relation to the content 
of this information is strictly prohibited. If you have received this e-mail by 
mistake, please delete the message and any attachment and inform the sender by 
return e-mail. ITC accepts no liability for any error or omission in the 
message content or for damage of any kind that may arise as a result of e-mail 
transmission.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to