R/qgis_distancetonearesthublinetohub.R
qgis_distancetonearesthublinetohub.Rd
QGIS Algorithm provided by QGIS Distance to nearest hub (line to hub) (qgis:distancetonearesthublinetohub). Given an origin and a destination layers, this algorithm computes the distance between origin features and their closest destination one. Distance calculations are based on the features center. The resulting layer contains lines linking each origin point with its nearest destination feature.
qgis_distancetonearesthublinetohub(
INPUT = qgisprocess:::qgis_default_value(),
HUBS = qgisprocess:::qgis_default_value(),
FIELD = qgisprocess:::qgis_default_value(),
UNIT = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
source
- Source points layer. Path to a vector layer.
source
- Destination hubs layer. Path to a vector layer.
field
- Hub layer name attribute. The name of an existing field. ; delimited list of existing field names.
enum
of ("Meters", "Feet", "Miles", "Kilometers", "Layer units")
- Measurement unit. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
sink
- Hub distance. 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
.