Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Do you know how to calculate the width and height (in degrees minutes) of a Google Static Maps image?

I’ve found it extremely difficult. The only information you have is:
- The centre of the image (as a Longitude Latitude coordinate)
- The zoom level of the satellite (1 >= zoom <= 25)
- The width and height of the image in pixels

See this image for a visual explanation of the problem: enter image description here

And from this limited information its very difficult to calculate the image dimensions in degrees minutes, mainly because the zoom level heights (in feet or metres) is not exposed by google AFAIK. AND because you cant move up on the y axis at a constant value because you have to take into account that the earth is a sphere and not a flat surface so moving up at a constant value wont work (which is what all the answers on Stack Overflow provide). It appears meridional points is a solution but the math involved is completely beyond me.

Any advice would be greatly appreciated.

share|improve this question
If the coordinate reference system is Web Mercator, it is a (effectively) a flat surface – BradHards Nov 15 '13 at 1:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.