-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Reprojection issue #110
Comments
The library returns
So it does seem like its an intended change in how certain functions work and there is a migration guide. |
OK so I answered my own question but I will leave this here for those that are encountering the same issue. here is how I adjusted my code for this change in GDAL:
and the debug output:
|
Indeed, this behaviour is related to incompatible changes between major GDAL versions. Here's another related issue - #13. |
Describe the bug
Using TransformTo() method results in an exception: System.ApplicationException: Invalid coordinate.
Possible issue with GDAL: OSGeo/gdal#1546
Steps to reproduce
I am trying to reproject a point from one CRS to another CRS and am using this simple example. From what I can deduce most of these functions act like a typical Windows API where if the result is successful then it returns a zero.
I have translated to C# as follows:
and the results in Debug
Environment information:
The text was updated successfully, but these errors were encountered: