Hi,
Do you use a constrained triangulation or not ?
How do you find triangles between your polygons ?
Possible problems I can see are :
Triangulation without constraint : some triangles may be
partly on your polygon (green) and partly in the gap (blue)
Triangulation with constraint : triangles "seem" to fill the gap,
but some vertices are not part of the original polygons. Depending
on
how you find the triangles lying in the gap, you may miss some.
Michaël
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.
------------------------------------------------------------------------------
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
|
------------------------------------------------------------------------------
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