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
added new projection function for Navionics Mercator #391
Conversation
Is there some documentation on this projection (such as a link)? Is it intentional that all four of the test points are exactly the same? |
I have a pdf documentation that I can share no links, |
double tolerance_lp = 1e-10; | ||
double tolerance_xy = 1e-7; | ||
|
||
char e_args[] = {" -w6 +proj=nav_merc +a=6378388.0 +rf=297"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+a=6378388.0 +rf=297
could be replaced with the shorthand +ellps=intl
. This is a slight preference.
Here is how I looked that up from the command line.
$ proj -le
[..snip..]
helmert a=6378200. rf=298.3 Helmert 1906
hough a=6378270.0 rf=297. Hough
intl a=6378388.0 rf=297. International 1909 (Hayford)
krass a=6378245.0 rf=298.3 Krassovsky, 1942
kaula a=6378163. rf=298.24 Kaula 1961
[..snip..]
Could you elaborate a bit on the intended use of this? It seems to be an mercator-approximation with hard coded ellipsoidal parameters. What is gained by not just using proj=merc ellps=intl? |
…7 after micahcochran advise. Hoping for coveralls green flag
Hi, @busstoptaktik The initial intention, from the original developer, was to have a internal projection system compatible with our SDK and protect the data, now 17 years later doesn't make any sense. So we ask to move to open projects and become a little more standard. |
The calculations are close but there are 10s of meters difference for I assume that Navionics uses this projection for navigation charts and I, also, assume that Navionics is one of just a few companies in that market. Are their other maps or applications that is projection is used for? This seems like a single use projection. calcofi seems to be another single use projection, which is really only applicable in one area for a handful of organizations. Satellite projections are single use, but many use that data. Is there a better approach to accomplish this while maintaining precision? |
Yes, it is. We cannot permit our clients to crash against marine rocks while sailing, worst case... We cannot. We have no proj4 at the moment, so we are forced to transform before market in half cases. Most of the projections have limitations or specific usage. I don't know if there is, for what I've tested there isn't. Thanks. |
I'm sorry to see that PJ_nav_merc_NAVIONICS.pdf has a bogus |
@mpasquini You answered the questions to my satisfaction.
That question was not specifically directed to you. I was asking everyone if there is a better approach.
So, if |
... whatever, |
Closing this, since the submitter has not responded with further information as requested on the mailing list. |
Hi all, thanks to everyone of you.
This is the adding of a really new and quite uncommon projection function called "Navionics Mercator"
The projection uses it's own fixed "KC" constant.
Changes are very few so long explanation seems to be not needed
It is expected to have an error (10E-5 degrees) using e_inverse,
something can be corrected using the '-w6' option while calling proj
For use and precision needed this is considerable acceptable.
Please comment and feel free to offend me, also using weapons if you like that way,
from my side I'm quite excited doing this thing...
Thanks.