RAS2LINE

Convert a raster to lines


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Related

Back to top

Description


RAS2LINE converts a raster layer to a line layer.
Back to top

Parameters


Name Type Length Value range
Input: Input raster channel * Raster port 1 - 1  
Output * String 1 -    
Remove lines on edges String 0 - 1 YES | NO
Default: NO
Smooth vectors String 0 - 1 YES | NO
Default: YES

* Required parameter
Back to top

Parameter descriptions

Input: Input raster channel

Specifies the input raster channel to be processed.

Output

Specifies the name of the file to which the new line layer will be saved. This file is created if it does not already exist.

Remove lines on edges

Specifies whether remove the outside edges (bounds) of the raster.

If YES (selected), lines are removed from the bounds of the raster when converting to lines. If NO (cleared), lines are created for the entire extents of the raster; this is the default value.

Smooth vectors

Specifies whether or not the vector data will be smoothed (corners rounded).

If the Smooth vectors check box is selected, the vector lines will be smoothed. If the check box is cleared, the created vector lines will follow the pixel edges exactly.

Back to top

Details

RAS2LINE creates a line layer from an input raster channel. Each contiguous region of equal-valued pixels will be grouped together with lines being created around its edge. The function also provides the option of removing lines from the input raster's bounding box.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.