PS. I should have also mentioned that the code example assumes the pairs are in lon-lat order. If they're in lat-lon order just switch the indices in the loop.
Michael _______________________________________________ jts-devel mailing list jts-devel@lists.jump-project.org http://lists.refractions.net/mailman/listinfo/jts-devel