qgis_serviceareafrompoint: QGIS algorithm - Service area (from point)

View source: R/qgis_serviceareafrompoint.R

qgis_serviceareafrompointR Documentation

QGIS algorithm - Service area (from point)

Description

QGIS Algorithm provided by QGIS (native c++) Service area (from point) (native:serviceareafrompoint). This algorithm creates a new vector with all the edges or parts of edges of a network line layer that can be reached within a distance or a time, starting from a point feature. The distance and the time (both referred to as "travel cost") must be specified respectively in the network layer units or in hours.

Usage

qgis_serviceareafrompoint(
  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_POINT = qgisprocess:::qgis_default_value(),
  TRAVEL_COST2 = qgisprocess:::qgis_default_value(),
  POINT_TOLERANCE = qgisprocess:::qgis_default_value(),
  INCLUDE_BOUNDS = qgisprocess:::qgis_default_value(),
  OUTPUT_LINES = qgisprocess:::qgis_default_value(),
  OUTPUT = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

source - Vector layer representing network. Path to a vector layer.

STRATEGY

enum of ⁠("Shortest", "Fastest")⁠ - Path type to calculate. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

DIRECTION_FIELD

field - Direction field. The name of an existing field. ; delimited list of existing field names.

VALUE_FORWARD

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.

VALUE_BACKWARD

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.

VALUE_BOTH

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.

DEFAULT_DIRECTION

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'.

SPEED_FIELD

field - Speed field. The name of an existing field. ; delimited list of existing field names.

DEFAULT_SPEED

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.

TOLERANCE

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.

START_POINT

point - Start point. Point coordinate as an 'x,y' string, e.g. '1.5,10.1'.

TRAVEL_COST2

number - Travel cost (distance for 'Shortest', time for 'Fastest'). 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.

POINT_TOLERANCE

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.

INCLUDE_BOUNDS

boolean - Include upper/lower bound points. 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.

OUTPUT_LINES

sink - Service area (lines). Path for new vector layer.

OUTPUT

sink - Service area (boundary nodes). Path for new vector layer.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

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.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • OUTPUT - outputVector - Service area (boundary nodes)

  • OUTPUT_LINES - outputVector - Service area (lines)


JanCaha/r_package_qgis documentation built on Nov. 3, 2024, 5:25 p.m.