AnsweredAssumed Answered

How to convert map scale to web map zoom level

Question asked by daglietti on Dec 4, 2014
Latest reply on Dec 5, 2014 by daglietti

Hello,

I would like to determine how to a convert specific map scale to the closest zoom scale used by the major web mapping players.  For example, I want to open a web map to whatever predefined scale is closest to 1:100,000 or whatever cached scale is closest.  How do I calculate the zoom level knowing that this is the established breakdown, and that the answer that I'm looking for is 10?:

20 : 1128.497220
19 : 2256.994440
18 : 4513.988880
17 : 9027.977761
16 : 18055.955520
15 : 36111.911040
14 : 72223.822090
13 : 144447.644200
12 : 288895.288400
11 : 577790.576700
10 : 1155581.153000
9  : 2311162.307000
8  : 4622324.614000
7  : 9244649.227000
6  : 18489298.450000
5  : 36978596.910000
4  : 73957193.820000
3  : 147914387.600000
2  : 295828775.300000
1  : 591657550.500000

There must be an elegant way to do this, but my math.foo is weak after all these years of being out of school and withering away in meetings.

Thanks for your help,

Ryan

Outcomes