[Jts-topo-suite-user] Added GeometryPrecisionReducer
Brought to you by:
dr_jts
From: Martin D. <mb...@re...> - 2010-03-23 18:05:44
|
I have just added a GeometryPrecisionReducer class to SVN, to implement the logic I suggested in my earlier email. There's a test case for it to show how it works. This code could easily be extracted and used with JTS 1.11 as well. This isn't the final version of this class - it needs to be upgraded to use snap-rounding, and also to handle GeometryCollections containing polygons. But it should work for many useful cases. -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022 |