Extract contours folder

operators.image.extract_contours_folder(client, input_folder='/input_folder', value=0.5, output_folder='/output_folder', values_subset='', worker_instance_type='x2large', manager_instance_type='small', extension_input_file='.tif', extension_output_file='.shp', skip_existing_files=False)
Extract contours from a georeferenced image and save them as a shapefile.

extract_contours_folder(client,
input_folder=’/input_folder’,
value=0.5,
output_folder=’/output_folder’,
values_subset=’’,
worker_instance_type=’x2large’,
manager_instance_type=”small”,
extension_input_folder=”.tif”,
extension_output_folder=”.shp”,
skip_existing_files = False )
Parameters:
  • value – Contour value

  • values_subset – Subset of contour values, default is all values

  • input_folder – Input georeferenced image folder

  • output_folder – Output shapefolder

  • worker_instance_type – cloud instance type of worker nodes

  • manager_instance_type – cloud instance type of manager node

  • extension_input_folder – File extension of files in folder for input_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