Coordinate Transformations - Point becomes Point3D

Topics: General Topics
Jul 14, 2008 at 7:59 AM

I've just stumbled on an issue in the Proj.NET library, when it is dealing with more complex transformations.  When the DegreesToMeters class runs, it makes a previously 2D point into a 3D point (as it is not a geocentric coordinate).  When it then changes this back from MetersToDegrees, the point stays as 3D and raises an exception in the SharpMap.Geometrics.Point class because it has more than 2 values in the array. 

Any ideas about how best to handle this?  Is there a change needed in the Point class, or more likely something in the transformation process.


Jul 14, 2008 at 9:26 AM
Edited Jul 14, 2008 at 9:30 AM
posted by mistake