Closed mbjones closed 6 years ago
Original Redmine Comment Author Name: Matthew Perry (Matthew Perry) Original Date: 2006-09-18T23:49:42Z
revision 1.4 on SpatialDocument should fix this. Centroids are now calculated correctly for these cases.
Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:20:34Z
Original Bugzilla ID was 2550
Author Name: Matthew Perry (Matthew Perry) Original Redmine Issue: 2550, https://projects.ecoinformatics.org/ecoinfo/issues/2550 Original Date: 2006-09-11 Original Assignee: Matthew Perry
Unfortunately for cartographers the world is not flat. When a feature crosses the dateline or the polar regions, the cartesian coordinate system and all the assumptions that go with it are invalid. For instance the west bounding coordinate would be greater than the east bounding coordinate for a bounding box that crossed the international date line.
This is taken care of in the polygon code by splitting such polygons into multi-polygons.
We need to update the point centroid generation code to reflect this reality as well.