<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;'>Ok thanks now it works but......<br><br>little background....To do my example I started from Mapserver tutorial<br><br>(example 2.1: http://biometry.gis.umn.edu/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example2.map&layer=states&zoom=0&mode=browse&root=/tutorial&program=/cgi-bin/mapserv.exe&map_web=template+example2-1.html)<br><br>With png output it works fine. When I changed the output format to svg the zoom setting is changed.<br><br>Before I could click on the image to zoom in and zoom out now with svg output format to zoom in and zoom out I have to click on refresh button because the image is no longer possible click on the image. <br>The same thing happen when I try to execute a query on a
layer.<br><br>thanks for your help.<br>Valerio <br><br><br><br>--- <b>Mar 3/6/08, Barend Kobben <i><kobben@itc.nl></i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">Da: Barend Kobben <kobben@itc.nl><br>Oggetto: Re: [mapserver-users] insert png image in svg output<br>A: valerio.vianello@yahoo.it, guillaume.sueur@neogeo-online.net<br>Cc: mapserver-users@lists.osgeo.org<br>Data: Martedì 3 giugno 2008, 08:37<br><br><pre>> so there is no way to have in output an svg file with all the layer ?<br>because<br>> if I understood Mapserver don't support svg file in input and<br>according to the<br>> svg spec a png file is only linked by a svg file.<br><br>You can put a PNG inline inside SVG, but I do not see how that would help<br>you. I think the problem is that you use a Template, where the SVG gets<br>inserted into the HTML as an IMG object. Although I think it works
sometimes<br>in some User Agents, that is not the correct way. Remember that an SVG<br>'picture' is a piece of XML to be interpreted, not a ratser image you<br>can<br>just render directly to screen. So, if used inside (X)HTML it should be<br>embedded properly, eg. like:<br><br><object data="sample.svgz" type="image/svg+xml"<br> width="400" height="300"><br> <embed src="sample.svgz" type="image/svg+xml"<br> width="400" height="300" /><br></object><br><br>See http://wiki.svg.org/SVG_and_HTML for more possibilities and explanation.<br><br><br>-- <br>Barend Köbben<br>International Institute for Geo-Information<br>Sciences and Earth Observation (ITC)<br>PO Box 6<br>7500AA Enschede, The Netherlands<br>+31 (0)53 4874253<br><br><br><br>International Institute for Geo-Information Science and Earth Observation (ITC)<br>Chamber of Commerce: 410 27 560<br><br>E-mail disclaimer<br>The information in this e-mail, including any
attachments, is intended for the<br>addressee only. If you are not the intended recipient, you are hereby notified<br>that any disclosure, copying, distribution or action in relation to the content<br>of this information is strictly prohibited. If you have received this e-mail by<br>mistake, please delete the message and any attachment and inform the sender by<br>return e-mail. ITC accepts no liability for any error or omission in the<br>message content or for damage of any kind that may arise as a result of e-mail<br>transmission.</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>