iwfm.gis.img_extract

iwfm.gis.img_extract(source, target)[source]

Automatically extract features of a threshold image to a shapefile.

Parameters:
  • source (str) – input file name

  • target (str) – ouput file name

Returns:

extract – extracted features

Return type:

OGR object