-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Math transform bug #20
Comments
Further debug reveals the following in public ConcatenatedTransform Clone()
{
var clonedList = new List<ICoordinateTransformation>(_coordinateTransformationList.Count);
foreach (ICoordinateTransformation ct in _coordinateTransformationList)
clonedList.Add(ct);
return new ConcatenatedTransform(clonedList);
} Which causes the public override void Invert()
{
_coordinateTransformationList.Reverse();
foreach (ICoordinateTransformation ic in _coordinateTransformationList)
ic.MathTransform.Invert();
} I couldn't find a |
Using |
This is my plan in order to workaround this issue, but fixing it inside this library is important in order for other people not to experience this issue. |
The following is the code I'm using to create a math transform:
The following is the code, when I tried to run it from immediate window ,
_itmWgs84MathTransform
is the an instance created with the above factory:BTW calling the following code fixes the issue:
_itmWgs84MathTransform.Inverse().Inverse()
I can probably send a pull request if needed, assuming someone will direct me to the right place to look for this.
The text was updated successfully, but these errors were encountered: