Skip to content
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 results seem to be too imprecise #105

Open
julienrf opened this issue Nov 2, 2023 · 0 comments
Open

Reprojection results seem to be too imprecise #105

julienrf opened this issue Nov 2, 2023 · 0 comments
Labels

Comments

@julienrf
Copy link

julienrf commented Nov 2, 2023

The issue might be the same as #104.

I noticed that transforming coordinates between projections does not give very precise results.

For instance, consider the following projection:

+proj=lcc +lat_1=45.849 +lat_2=45.849 +lat_0=46.0086 +lon_0=11.4 +R=6370

Projecting the point (-472.97925020089707, -94.67829995316788) from this projection to WGS84 should give:

(5.378868945208383, 44.996568013546536)

(which is the result I get from netCDF-java or proj4js)

But it gives:

(5.3891133171636625, 44.99522341452963)

Which is ~0.01 degrees of error on the longitude, and ~0.001 of error on the latitude.

@pomadchin pomadchin added the bug label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants