Hi Eric There may be an easier way, but the JTS class CoordinateArrays has a method ensureOrientation which might help you.
Michael On Thu, Jun 5, 2008 at 1:43 PM, Angel, Eric <[EMAIL PROTECTED]> wrote: > Does anyone know of a way to determine if a Coordinate[] is CW or CCW? My > assumption of CW ordering creates really bad polygons from the US Census > shapefiles (Current Place). > > > Thanks, > > Eric > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
