# coding=gbk
'''
Created on 2010-6-3
@author: Administrator
'''
import urllib
left=113.14062501;
bottom=22.178289;
right=113.62447;
top=22.78125;
dy=0.0025349162;#(22.5643181-22.5641596); #这是个GOOGLE API的GetBound()函数获得的在一定放大级别下512像素的经纬度范围
dx=0.0027465819;#(113.3400086-113.3398370);
#pixX=dx/512.0;
#pixY=dy/512.0;
_width=right-left;#经度距离
_height=top-bottom;#纬度距离
#d_width=(_width*10000.0)*3.0;#单位米
#d_height=(_height*10000.0)*3.0;#单位米
clos=_width/dx;# 横向图片数
rows=_height/dy;#纵向图片数
#clos=d_width/60.0;# 横向图片数
#rows=d_height/60.0;#纵向图片数
pImage_width=dx;#_width/clos;#_width/clos;#每张图片的经度宽度
pImage_height=dy;#_height/rows;#_hei