Resolutions

This is the Forum to discuss the use of SBuilderX (version 3.10 and above). For previous versions of SBuilder please use the "SBuilder for Flight Simulator FS2004" forum.
Post Reply
kjb
Posts: 9
Joined: Thu Apr 13, 2006 6:18 am

Resolutions

Post by kjb » Wed Jul 25, 2007 3:05 am

This may be listed somewhere, but what resolution (m/pixel) do the various zoom levels equate to? I'm guessing that zoom level 15 is about 2m/pixel. Is that about right?

User avatar
Luis Sa
Posts: 1735
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Post by Luis Sa » Wed Jul 25, 2007 9:27 am

Hi

Here are the formulas used by SBuilder:

Code: Select all

        PixelsPerLatDeg = (2 ^ Zoom) * 256 / 180.0
        PixelsPerMeter = PixelsPerLatDeg / 111330.0#
        PixelsPerLonDeg = Math.Cos(LatDispCenter * PI / 180.0#) * PixelsPerLatDeg
Regards,

Luis

Post Reply