Hi,
thank you for this really nice wrapper library.
I have a problem that seems to be related with an implementation error for bing tiles. Given:
from babelgrid import Babel
babel = Babel('bing')
lat, lon = 14.223633, 40.948055
the predicted tile box boundaries:
tile = babel.geo_to_tile(lat, lon, resolution=res)
print(tile.geometry.geojson['coordinates'][0])
are:
((0.0, 40.979898069620155), (0.0, 66.51326044311185), (45.00000000000001, 66.51326044311185), (45.00000000000001, 40.979898069620155))
which clearly doesn't contain the lat, lon point (the mismatch is in the second dimension 40.938055 < 40.979898069620155)
So either I'm not using the correct way for extracting the boundaries or there is a problem in the implementation.
Thanks,