Yep - good idea Martin. I guess we could add an extra parameter to the image operation to control the degree of simplification, with a default value.
Did you use a DP simplifier ? Michael On 4 October 2012 10:02, Martin Davis <[email protected]> wrote: > Is there any way the simplification can be improved in the Contour process? > I have a dataset that produces fairly smooth contours, and they are emerging > as extremely dense linestrings with far more vertices that are needed for > visual faithfulness. > > The current JAITools ContourOpImage appears to apply a light simplification > of removing collinear vertices. One way to make this slightly more > effective is to remove vertices which deviate from a straight line by a > small percentage of the overall geometry envelope (e.g. 0.1 %). For > example, using this approach caused a contour line to reduce from 1835 > vertices to 81 vertices, with little or no impact on appearance. > > -- > Martin Davis > OpenGeo - http://opengeo.org > Expert service straight from the developers. > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ GeoTools-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
