R/qgis_shortestpathlayertopoint.R
qgis_shortestpathlayertopoint.Rd
QGIS Algorithm provided by QGIS (native c++) Shortest path (layer to point) (native:shortestpathlayertopoint). This algorithm computes optimal (shortest or fastest) route from multiple start points defined by vector layer and given end point.
qgis_shortestpathlayertopoint(
INPUT = qgisprocess:::qgis_default_value(),
STRATEGY = qgisprocess:::qgis_default_value(),
DIRECTION_FIELD = qgisprocess:::qgis_default_value(),
VALUE_FORWARD = qgisprocess:::qgis_default_value(),
VALUE_BACKWARD = qgisprocess:::qgis_default_value(),
VALUE_BOTH = qgisprocess:::qgis_default_value(),
DEFAULT_DIRECTION = qgisprocess:::qgis_default_value(),
SPEED_FIELD = qgisprocess:::qgis_default_value(),
DEFAULT_SPEED = qgisprocess:::qgis_default_value(),
TOLERANCE = qgisprocess:::qgis_default_value(),
START_POINTS = qgisprocess:::qgis_default_value(),
END_POINT = qgisprocess:::qgis_default_value(),
POINT_TOLERANCE = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
OUTPUT_NON_ROUTABLE = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
source
- Vector layer representing network. Path to a vector layer.
enum
of ("Shortest", "Fastest")
- Path type to calculate. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
field
- Direction field. The name of an existing field. ; delimited list of existing field names.
string
- Value for forward direction. String value. 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.
string
- Value for backward direction. String value. 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.
string
- Value for both directions. String value. 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.
enum
of ("Forward direction", "Backward direction", "Both directions")
- Default direction. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
field
- Speed field. The name of an existing field. ; delimited list of existing field names.
number
- Default speed (km/
h). A numeric value. 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.
distance
- Topology tolerance. A numeric value. 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.
source
- Vector layer with start points. Path to a vector layer.
point
- End point. Point coordinate as an 'x,y' string, e.g. '1.5,10.1'.
distance
- Maximum point distance from network. A numeric value. 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.
sink
- Shortest path. Path for new vector layer.
sink
- Non-routable features. Path for new vector layer.
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
.