(lat, level)
return cos(lat * pi / 180) * 2 * pi * TileSystem.EARTH_RADIUS / TileSystem.map_size(level)
Gets ground res in meters / pixel
Gets ground res in meters / pixel
Gets ground res in meters / pixel
def ground_resolution(lat, level):
        """Gets ground res in meters / pixel"""
        lat = TileSystem.clip(lat, TileSystem.LATITUDE_RANGE)
        return cos(lat * pi / 180) * 2 * pi * TileSystem.EARTH_RADIUS / TileSystem.map_size(level)
def ground_resolution ( lat , level ) : lat = TileSystem . clip ( lat , TileSystem . LATITUDE_RANGE ) return cos ( lat * pi / 180 ) * 2 * pi * TileSystem . EARTH_RADIUS / TileSystem . map_size ( level )