NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
27 stars 13 forks source link

Dateline and polar handling for points #385

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

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.

mbjones commented 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.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:20:34Z


Original Bugzilla ID was 2550