Hi Maciej Nice question :)
I think you're right that border length would be a better criterion than area if you're writing your own algorithm. But you might like to look at the code for the Decimator class in gt-main http://svn.osgeo.org/geotools/tags/2.6.1/modules/library/main/src/main/java/org/geotools/geometry/jts/Decimator.java This is a helper class for rendering that reduces the detail of geometries. It accepts an AffineTransform argument so you can use that to specify the map scale. I think you'd need to adapt the code for your own case but it may be a lot better than starting from scratch. Hope this helps. Michael ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users