Select to view content in your preferred language

Zoom By Scale

696
1
10-11-2011 09:59 AM
jonataspovoas
Regular Contributor
Hi,

I have a map service that has esriDecimalDegrees units, and I need to calculate wicth scale it is so I can zoom to scale.

My problem is that I can't find the factor to the esri units type, to fill the equasion above:

Map scale = 1 : (ScreenRes pixels/inch * 39.37 inches/meter * (Map.Resolution * conversionFactorToMeters))

Where can i find these convertion factors?
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
As your map is in decimal degress, the conversion factor is the number of meters for one degree, i.e about 111320 ( 2 * PI * earthRadius / 360)
0 Kudos