API to get enormous amount of high resolution satellite images from satellites.pro quickly through multi-threading! create map your own map dataset. Bringing data to Humans.
Describe the bug
If we try to download the images with the name lat_long.jpg using the function ret_lat_lon instead of xTiles_yTiles.jpg, the conversion of latitude doesn't seem correct.
Even if we just call the 1st functions on some (xTiles, YTiles) and pass the output (lat, lon) to lat function, results will vary.
To Reproduce
Steps to reproduce the behavior:
Easiest way to reproduce this is by calling the functions
api_=api(min_lat_deg = 23.0,
max_lat_deg = 23.03,
min_lon_deg = 72.49,
max_londeg = 72.53, zoom=18)
api.ret_xytiles(23.0, 72.49), api.ret_xy_tiles(23.03, 72.53)
output is : ((183857, 113855), (183886, 113831))
now call the 2nd function:
api_.ret_latlon(183857, 113855), api.ret_lat_lon(183886, 113831)
output is :
((21.888705486651332, 72.48916625976562), (21.914930407351424, 72.52899169921875))
Expected behavior
output should be ((23.0, 72.49), (23.03, 72.53))
Desktop (please complete the following information):
Describe the bug If we try to download the images with the name lat_long.jpg using the function ret_lat_lon instead of xTiles_yTiles.jpg, the conversion of latitude doesn't seem correct. Even if we just call the 1st functions on some (xTiles, YTiles) and pass the output (lat, lon) to lat function, results will vary.
To Reproduce Steps to reproduce the behavior:
Expected behavior output should be ((23.0, 72.49), (23.03, 72.53))
Desktop (please complete the following information):