Mathematical Genius Needed!

Posted by: foxtrot_xray

Mathematical Genius Needed! - 02/02/2004 19:41

I'm not too bad at math, but.. this is a little over my head.

Can someone look here, specifically, the first two equations (the first, starting with E=, and the second one, starting with N =.) into, like, English? (Heck, Canadian or American would work, too!)

Basically, I'm trying to make a function (in PHP, to be exact, althou that doesn't matter here) to convert WSG894 decimal degrees to UTM coordinates.

I realize some of these are constants, depending on what dataset one is using. So, to the best of my knowledge, for my settings (WGS84), my constants are, from this page::
a = 6378137;
1/f = 298.25722;
e'^2 = 0.0066943800699
e = 0.0818191913305
...

Anyways, there's just ALOT there. I think if I keep working at it, I'll get it hammered down, but any pointers would be appreciated.

I ain't no genius.
Me.
Posted by: TigerJimmy

Re: Mathematical Genius Needed! - 02/02/2004 22:26

I don't know about the math, but maybe some sample code will help?
Posted by: Roger

Re: Mathematical Genius Needed! - 03/02/2004 02:29

Forget doing it by hand. Just link with a copy of proj.4:

http://www.remotesensing.org/proj
Posted by: foxtrot_xray

Re: Mathematical Genius Needed! - 03/02/2004 09:04

Ooh, hey! Both you guys rock! Perfect! I can read thru it, then make the changes I need to (to make it PHP compatable.

Thanks!
Me.