Hi, as some of you may know, since release 1.6.0 GeoServer uses shapefile renderer to render shapefiles, and falls back on streaming renderer to render any other vector data source.
This has been done because of the very good performance of shapefile renderer... however, in the last months I had to fix quite a few bugs that were specific to it, and other bugs that were specific to streamging renderer, or bugs that affect both, but in different ways. However, having two renderers with most of the code duplicated is proving to be a maintenance nightmare. As far as I remember, the only major performance advantage of shapefile renderer is that it's able to extract geometries based on double[] instead of ones based on Coordinate[] by direcly reading from the shapefile (bypassing the datastore). Streaming render does provide a hint to the datastores to use packed coordinate sequencs, but the shapefile datastore does not handle it, because the packed coordinate sequence reading is unfortunately stuck in the shapefile renderer. I was wondering if there is any interest from Jesse or someone else on helping out with a port of the shape handlers from shapefile renderer to shapefile datastore, putting an end to the current code duplication. Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
