Hi, Micheal

Thanks for the reply. My use case is to add triangles between a pair of
polygons to get the amalgam. My polygons are in PostGIS
and what i do is, i get the union of polygon pair with a query in PostGIS
and output is converted into JTS and triangulated.
Then i find the triangles between them and add all of them with the union
pair. So the final result should be a polygon which does
not happen always. Where should i exactly apply geometry precision
reduction. Is it only to the union geometry from PostGIS or
do i need to apply it to output triangles as well?

Brian.


On Sat, Nov 16, 2013 at 6:43 PM, Brian Sanjeewa Rupasinghe <
[email protected]> wrote:

> Hi,
>
> I need to union adjoining polygons together. I use UnionWithUnionOp()
> method in JTS 1.13.
> However, sometimes, even if i reduce the geometry precision, it does not
> end up with a unique polygon resulting a multi-polygon. In such instances
> which method is the best to
> avoid creating multi-polygon? I used buffer(0), but it did not work. What
> about adding a small +- buffer?
>
> Brian.
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to