QGIS Algorithm provided by QGIS (native c++) Points to path (native:pointstopath). This algorithm takes a point layer and connects its features creating a new line layer. An attribute or expression may be specified to define the order the points should be connected. If no order expression is specified, the feature ID is used. A natural sort can be used when sorting by a string attribute or expression (ie. place 'a9' before 'a10'). An attribute or expression can be selected to group points having the same value into the same resulting line.
qgis_pointstopath(
INPUT = qgisprocess:::qgis_default_value(),
CLOSE_PATH = qgisprocess:::qgis_default_value(),
ORDER_EXPRESSION = qgisprocess:::qgis_default_value(),
NATURAL_SORT = qgisprocess:::qgis_default_value(),
GROUP_EXPRESSION = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
OUTPUT_TEXT_DIR = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
source
- Input layer. Path to a vector layer.
boolean
- Create closed paths. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
expression
- Order expression. A valid QGIS expression string, e.g "road_name" = 'MAIN RD'.
boolean
- Sort text containing numbers naturally. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
expression
- Path group expression. A valid QGIS expression string, e.g "road_name" = 'MAIN RD'.
sink
- Paths. Path for new vector layer.
folderDestination
- Directory for text output. Path for an existing or new folder.
further parameters passed to qgisprocess::qgis_run_algorithm()
logical specifying if complete out of qgisprocess::qgis_run_algorithm()
should be used (TRUE
) or first output (most likely the main) should read (FALSE
). Default value is TRUE
.
logical specifying if parameter .quiet
for qgisprocess::qgis_run_algorithm()
Default value is TRUE
.
logical specifying if messages from qgisprocess::qgis_run_algorithm()
should be printed (TRUE
) or not (FALSE
). Default value is FALSE
.