Re: Worldmap mercator projection - Latitude to Y calculation.

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

> Your coordinates for NYC, where did you get those coords ???

If you mean 39, -77 its probably from me.

Looking back in my docs I see I have an image of a globus wit the lat/long 
lines on it, mentioning 39, -77.  The only problem is that it mentions 
Washington DC, and not New York.  I've got no idea how I mixed those two up. 
My apologies.

> 40 42 46     -74 0 22       New York City value (Wikipedia)
>
> 40.71277778  -74.00611111   DMS to D via
> https://www.latlong.net/degrees-minutes-seconds-to-decimal-degrees
>
> X=0.294427  Y=0.375981      merc.exe (the CoPilot program)

Is there any chance you can (re)post the used formule (just to be sure I'm
using the correct one) and some intermediate results (especially the ones
fed into the tan() an log() functions) so I can verify what the formule is
doing here (and spot my mistake(s)) ?

Regards,
Rudy Wieser