I have found a problem when using DotSpatialMathTransform. There is a bug on
line 235 of
NetTopologySuite.CoordinateSystems.Transformation.DotSpatial.Projections
The current code reads:
234 ret.SetOrdinate(i, Ordinate.X, xy[j++]);
235 ret.SetOrdinate(i, Ordinate.X, xy[j++]);
When in fact line 235 should assign to Ordinate.Y.
The effect is that the Longitude value is placed in the Latitude and the
Longitude holds the original Longitude value.
I think its pretty easy to see the fault but I have posted test code on
stackoverflow at
http://stackoverflow.com/questions/17705061/error-when-using-nettopologysuite-tr
ansformgeometry
I also note that the NuGet package does not include this code, which is a pity.
Jon Smith - Selective Analytics
Original issue reported on code.google.com by jon.sm...@selectiveanalytics.com on 18 Jul 2013 at 8:08
Original issue reported on code.google.com by
jon.sm...@selectiveanalytics.com
on 18 Jul 2013 at 8:08