I want to download the entire tiff of the city London. Since there is a limit size of Bbox, so I split the shape to 9 sub-bbox, and use wms request approach to download all of them.
The problem is that the tiffs I download are not so good as I expected.
you can see that there are gaps and white boarders around some tiffs.
Here is my scripts:
london = gpd.read_file(shpPath)
london_crs = CRS.UTM_30N
london = london.to_crs(crs={‘init’: CRS.ogc_string(london_crs)})
london_shape = london.geometry.values.tolist()s-1]
bbox_splitter = BBoxSplitter(tlondon_shape], london_crs, (3, 3))
bbox_list = np.array(bbox_splitter.get_bbox_list())
wms_true_color_request =
WmsRequest(data_folder=‘/Users/guoqiushi/Documents/test_dir_tiff’,
layer=‘TRUE-COLOR-S2-L1C’,
bbox=bbox_listo8],
time=‘latest’,
width=512, height=856,
image_format=MimeType.TIFF,
instance_id=INSTANCE_ID)
wms_true_color_request.save_data()
colud anyone help me to find out where bugs are?