tilefetcher
fetch baidu map tiles. test on python2.7 and windows7.
python3 issues
try except
syntax error on python3. change allexcept Exception, e:
toexcept Exception as e:
usage
# left-bottom coordinate (lng1, lat1) right-top coordinate (lng2, lat2) zoomlevel(z)
fetch_tiles_z(114.467361, 34.127447, 122.985309, 38.125886, 17)
# left-bottom coordinate (lng1, lat1) right-top coordinate (lng2, lat2) zoomlevel range(z1, z2)
fetch_tiles(114.467361, 34.127447, 122.985309, 38.125886, 10, 18)