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

Transverse Mercator first projection doc shot #437

Merged
merged 4 commits into from
Nov 4, 2016

Conversation

julien2512
Copy link
Contributor

First shot for transverse Mercator projection doc, for the spherical form only.

Because I don't get if proj4 have a full cover of the ellipsoidal form.
Evenden's doc tells about Gauss Boaga as an other projection, but it is not in proj4. EPSG docs tells Gauss Boaga and Gauss Kruber are the same transverse Mercator with different parameters.
But the proj4 sources seems to match exactly the Gauss Kruber.
Do the table with all the special cases I set in the doc a reality in proj4 ?

@julien2512
Copy link
Contributor Author

I guess the Gauss Boaga is a case where (λcosφ)^7 is about zero, that's why Evenden reports it as a distinct projection.
I am going to end the doc with the Gauss Kruber Elliptical projection.

@julien2512
Copy link
Contributor Author

My remark is true for the forward projection, but it seems there is true differences for the inverse projection that do not appear in proj4 sources ?
As an example (1 + η_1^2) do not appear in Gauss Kruber inverse projection, but appears in Gauss Boaga in Evenden maths.

@julien2512
Copy link
Contributor Author

tmerc doc complete for Gauss Kruber only.

Copy link
Member

@kbevers kbevers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for not getting to this sooner. See the inline comments.

@@ -1,10 +1,195 @@
.. _tmerc:

********************************************************************************
Transverse Mercator
Transverse Mercator (Gauss-Kruger)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to not mention Gauss-Krüger here since the name is ambiguous cf. https://en.wikipedia.org/wiki/Gauss%E2%80%93Kr%C3%BCger_coordinate_system

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Mathematical definition
#######################

The formulas describing the Transverse Mercator are all taken from proj4 sources.
Copy link
Member

@kbevers kbevers Oct 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the formulas used in tmerc are based on Snyders work. So credit were credit is due...

It might actually be a good idea to have a look at those and see if they describe the maths more clearly. Most times what's in the code has been rewritten because of numerical concerns.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a perfect match with Evenden's formula, despite of the rewritten.

But I will check Snyders too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It definitely better match Evenden's formulas rather than Snyders.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. Please mention that then, and add a citation for the relevant Evenden document.

@kbevers kbevers merged commit 68f5dba into OSGeo:master Nov 4, 2016
@julien2512
Copy link
Contributor Author

julien2512 commented Nov 4, 2016

Yes !

The next will be the Gall stereographic projection.

But I need to end wikipedia's review first. It's a bit harder than in proj4 !

@julien2512
Copy link
Contributor Author

I'm stuck on Gall projection. I guess the formula come from Snyder. But I definitely need to buy Flattening the Earth to confirm it, cos I can't find it for free ! So to say I need a little more time for this !

@kbevers
Copy link
Member

kbevers commented Nov 27, 2016

@julien2512 It's lying on my coffee table right now. What do you need?

@julien2512
Copy link
Contributor Author

julien2512 commented Nov 28, 2016 via email

@julien2512
Copy link
Contributor Author

Alright, Gall proj4 math come from Snyder's "Flattening the earth" !
I got to pull request gall doc as soon as possible !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants