Created
September 19, 2023 05:37
-
-
Save thuitaw/6d9ba5ddf2c950a91d6d50b8718ebe14 to your computer and use it in GitHub Desktop.
calculate bounding box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lat, lon = -1.019229839313624, 35.00213001168837 | |
buffer_lat, buffer_lon = 0.05, 0.05 | |
time_period = ('2020') | |
output_crs = 'epsg:6933' | |
#join lat,lon,buffer to get bounding box | |
lon_range = (lon - buffer_lon, lon + buffer_lon) | |
lat_range = (lat + buffer_lat, lat - buffer_lat) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment