Hi Maciej > But I asked similar question in other place and I get answer to > use Ramer-Douglas-Peucker algorithm for simplifying shapes. I think > this will also eliminate too small shapes.
JTS offers the DP algorithm for simplifying geometries by modifying the set of vertices in a geometry to reduce its detail. I didn't think it removed a geometry if it was small - though I haven't checked that. If it does, I guess you could choose the algorithm that gives you the best performance. 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