From: Sean G. <se...@sm...> - 2003-10-10 15:44:02
|
A while ago I had a bit of play around with transforming GML into SVG. What I did was have a XML Stylesheet that transformed a Styled Layer Descriptor into another XML Stylesheet that would then transform GML into SVG based on the style defined in the SLD. However performance didn't scale. Any sizeable number of features and it would get VERY slow, XSLT is just not made for that amount of data, either that or the transform engine I used (XALAN) couldn't cope.. I think the best solution (performance wise) for producing SVG maps is to use something like the svg support currently available in Geotools. Sean > >> >> > Does that mean GeoServer is a good server to an SVG client? >> Well, GeoServer would ideally have a specialized WFS client that uses >> SVG. >> You can't go directly GML -> SVG, so the SVG client is going to have to >> know how to transform GML into SVG. This could be done efficiently with >> XSLT. > > > An alternative approach is to use an SVG enabled WMS server, an > extension to the WMS which has just been integrated into GeoServer is > under development and may make its way into the code base soon. > (Gabriel if your on this list, what state is that work in now? It > would be cool to get it up and running) > > The advantage of this approach is that you get to control the styling > of the output rather than just having a plain set of vectors. > >> If people on this list with experience with SVG and GML could sound in >> that'd be great, as I've never actually attempted it myself. If Mozilla >> had a way to transform XSLT transformations it might be possible to send >> GML straight to it. But I'm not sure. > > > Client side xslt is certainly possible in Mozila so it may be > something to experiment with: > http://www.surguy.net/articles/client-side-svg.xml > > I'm just not sure how you would handle styling... > > James > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Geoserver-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-devel |