Polygon to image folder

operators.image.polygon_to_image_folder(client, geotiff_folder='/geotiff_folder', pickle_folder='/pickle_folder', output_folder='/output_folder', worker_instance_type='x2large', manager_instance_type='small', extension_geotiff_file='.tif', extension_pickle_file='.pickle', extension_output_file='.tif', skip_existing_files=False)
Generate an image of a multipolygon filled inside.

polygon_to_image_folder(client,
geotiff_folder=’/geotiff_folder’,
pickle_folder=’/pickle_folder’,
output_folder=’/output_folder’,
worker_instance_type=’x2large’,
manager_instance_type=”small”,
extension_geotiff_folder=”.tif”,
extension_pickle_folder=”.pickle”,
extension_output_folder=”.tif”,
skip_existing_files = False )
Parameters:
  • geotiff_folder – Geotiff folder with size and resolution information

  • pickle_folder – Pickle folder containing the Shapely polygon

  • output_folder – Output georeferenced TIFF image

  • worker_instance_type – cloud instance type of worker nodes

  • manager_instance_type – cloud instance type of manager node

  • extension_geotiff_folder – File extension of files in folder for geotiff_folder

  • extension_pickle_folder – File extension of files in folder for pickle_folder

  • extension_output_folder – File extension of files in folder for output_folder

  • skip_existing_files – skip files that already exist in the output folder