Hi Michaël, I found another problem with the PolygonHandler routines I copied from geotools. It causes MultiPolygons to be created by default instead of simple Polygons. I restored the original code and inserted the modifications for clockwise holes. Now it is a much less radical change.
Note that I haven't committed any changes to OpenJump yet, only SkyJUMP. regards, Larry On Sun, Apr 20, 2008 at 2:12 PM, Larry Becker <[EMAIL PROTECTED]> wrote: > Hi Michaël, > > I've attached OJ's updated PolygonHandler for your review. It is a fairly > radical change so exhaustive testing of shapefile loading is recommended. > > regards, > Larry > > > On Fri, Apr 18, 2008 at 3:43 PM, Michaël Michaud <[EMAIL PROTECTED]> > wrote: > > > Hi, Larry > > > > I'm glad if I could help, thanks again for the hard work. > > It seems that you found a way to keep both correctness and performance. > > If you think you can commit, I am very confident. > > I'll be able to do more tests with complex polygons (but not with CW > > holes). > > > > Note : you can create a MultiPolygon with an island by selecting the two > > polygons, then right click and run Combine Selected Features. > > > > Regards, > > > > Michaël > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -- > http://amusingprogrammer.blogspot.com/ -- http://amusingprogrammer.blogspot.com/
PolygonHandler.java
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel