girs.feat.proc.thiessen

thiessen(points, thiessen, points_layer_number=0, point_id_field_names=None, envelope=None, clip_region=None, clip_region_layer_number=0, expand=0.1)

Calculate the Voronoi diagram (or Thiessen polygons) with the given points.

If both envelope and polygon_shp are given, envelope will be discarded

Parameters:
  • points – (string) shapefile with the points, for which the Thiessen polygons are created
  • thiessen – (string) shapefile with polygons, and with coordinate system and attributes from point_shp
  • points_layer_number
  • point_id_field_names – (list) list of field names to be assigned in thiessen_shp
  • envelope – (list) [minX, maxX, minY, maxY] envelope used to clip the thiessen polygons
  • clip_region – (string) shapefile with the polygon(s) used to clip the thiessen polygons
  • clip_region_layer_number
  • expand
Returns: