region_grow package

region_grow.execute(points_path: str, raster_path: str, shape_path: str, classifier_tag: str = 'ED')

Execute the process to compute the growth of the region

Parameters
  • points_path (str) – Path to the .csv file with the coordinates of the points

  • raster_path (str) – Path to .tif file with raster information

  • shape_path (str) – Path to save the .shp file with the polygons

  • classifier_tag (str) – Type of classifier to be used in the process

region_grow.execute_with_area(points_path: str, raster_path: str, shape_path: str, classifier_tag: str = 'BD', steps: int = 4)

Execute the process to compute the growth of the region by knowing the approximate area of the polygon that is going to generate.

Parameters
  • points_path (str) – Path to the .csv file with the coordinates of the points

  • raster_path (str) – Path to .tif file with raster information

  • shape_path (str) – Path to save the .shp file with the polygons

  • classifier_tag (str) – Type of classifier to be used in the process

  • steps (int) – Maximum number of iterations that the algorithm will perform for calculate a polygon with the smallest difference between given approximate value and the calculated