Hi, I do not use the mapserver SVG output much myself, mostly because last time I tried (over a year ago), the SVG output was not very good. It lacks graphic quality in that it does not really use the possibilties of SVG like I'd wish. But I am quite a bit biassed, firstly because I'm the WMS interface and secondly because we have our own RIMapperWMS that is a WMS exlusively for SVG output (kartoweb.itc.nl/RIMapper/)...
-- Barend Köbben International Institute for Geo-Information Sciences and Earth Observation (ITC) PO Box 6 7500AA Enschede, The Netherlands +31 (0)53 4874253 On 03-06-08 09:45, "valerio vianello" <[EMAIL PROTECTED]> wrote: > Ok thanks now it works but...... > > little background....To do my example I started from Mapserver tutorial > > (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&a > mp;program=/cgi-bin/mapserv.exe&map_web=template+example2-1.html) > > With png output it works fine. When I changed the output format to svg the > zoom setting is changed. > > 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. > The same thing happen when I try to execute a query on a layer. > > thanks for your help. > Valerio > > > > --- Mar 3/6/08, Barend Kobben <[EMAIL PROTECTED]> ha scritto: > Da: Barend Kobben <[EMAIL PROTECTED]> > Oggetto: Re: [mapserver-users] insert png image in svg output > A: [EMAIL PROTECTED], [EMAIL PROTECTED] > Cc: [email protected] > Data: Martedì 3 giugno 2008, 08:37 > > > 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. > 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
