Re: [Jts-topo-suite-user] Polygon difference
Brought to you by:
dr_jts
From: Martin D. <mtn...@gm...> - 2013-12-01 15:11:12
|
Would be helpful to see the WKT for this case and perhaps the expected output. On Sat, Nov 30, 2013 at 5:41 AM, Brian Sanjeewa Rupasinghe < ji...@gm...> wrote: > I have a small rectangles inside a bigger one with one side almost > touching that of bigger rectangle. I need to get the difference which > should be another rectangle wiith JTS difference() method. Once obtained > the difference, output is not exactly a rectangle because > vertices of the touching edge of smaller rectangle do not exist on the > larger rectangle. Is there any possibility to clean the geometries so that > the two touching lines will collapse and > create new segments along that line with correct noding. I tried using > GeometrySnapper class with computeOverlaySnapTolerance() method. But it > did not work. Is there any other method to deal with this in JTS? > > Cheers, Brian > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Jts-topo-suite-user mailing list > Jts...@li... > https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user > > |