Data Science, GIS, Risk Management, Insuretech.
calculate the transform of the raster we are about to create import rasterio LEN = 2.003751e+07 w = 10000 h = 10000 trans = rasterio.transform.from_bounds(-LEN, -LEN, LEN, LEN, w,h) LEN is the maximum coordinate of the Web Mercator projection and w and h are the intended width and height of the