That seems odd, alright.

Can you provide some actual data that demonstrates the problem? Otherwise it's hard to say what's going on, and impossible to provide a fix.

On 8/8/2013 2:14 AM, Richmond, Tanya wrote:
Hi,
Would you be able to help me with a problem I have with unioning polygons? I am trying to union polygons that contain holes and I know this should work, as I have read previous entries on the forum, but no matter what I try, it does not work for me. When I am unioning polygons, this may result in one, two or more polygons, some of which may contain holes.
Here is a picture of what I am trying to union:
I am trying to merge the brown areas into single polygons, so, you can see that should result in two polygons, one of which contains a hole. What I get is this: The grey areas are the new polygons, but you can see that it has inserted extra holes and created a link between the polygons, where there shouldn't be one. I have tried three different approaches -- firstly, I iterated repeatedly through all the polygons, unioning them where there was an intersect. Secondly, I tried adding them to a collection, setting the buffer to zero and doing a collective union. Third, I tried using the CascadedPolygonUnion command and the above picture is the result of that. The other two approaches gave slightly different results, but none of them worked correctly.
Are you able to offer any alternative suggestions?
Many thanks


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&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