Raster to vector lines

This tool converts a raster dataset containing one or more single-cell wide line networks into a vector shapefile. This tool is currently under development and is considered experimental. It is unlikely that it will produce satifactory results for most raster datasets. Its use is not advisable.

See Also:

Scripting:

The following is an example of a Python script that uses this tool:

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.dep"
outputFile = wd + "output.shp"
minLineLength = "2"
args = [inputFile, outputFile, minLineLength]
pluginHost.runPlugin("RasterToVectorLines", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.dep"
def outputFile = wd + "output.shp"
def minLineLength = "2"
String[] args = [inputFile, outputFile, minLineLength]
pluginHost.runPlugin("RasterToVectorLines", args, false)

Credits: