Re: Worldmap mercator projection - Latitude to Y calculation.

"R.Wieser" <[email protected]> Sat, 17 Jan 2026 21:39:11 +0100
Newsgroups alt.comp.os.windows-xp,alt.windows7.general,alt.comp.os.windows-10
Organization A noiseless patient Spider
Message-ID <[email protected]>
John,

> Asssuming DegToRad() just means multiply by pi / 180 ...

Well, you may use any calculation in there that you want, as long as it does
the job. :-)    But yes, thats what the/my DegToRad function does.

> ... then the above simplifies to tan(Latitude*pi*pi/720)\2.53627, and
> of course pi*pi/720 can be given as a constant.

I didn't even think that far.   As I said, I'm no math wizz. :-|

Regards,
Rudy Wieser