View source: R/qgis_shortestline.R
qgis_shortestline | R Documentation |
QGIS Algorithm provided by QGIS (native c++) Shortest line between features (native:shortestline). This algorithm creates a line layer as the shortest line between the source and the destination layer. By default only the first nearest feature of the destination layer is taken into account. The n-nearest neighboring features number can be specified. If a maximum distance is specified, then only features which are closer than this distance will be considered. The output features will contain all the source layer attributes, all the attributes from the n-nearest feature and the additional field of the distance. This algorithm uses purely Cartesian calculations for distance, and does not consider geodetic or ellipsoid properties when determining feature proximity. The measurement and output coordinate system is based on the coordinate system of the source layer.
qgis_shortestline(
SOURCE = qgisprocess:::qgis_default_value(),
DESTINATION = qgisprocess:::qgis_default_value(),
METHOD = qgisprocess:::qgis_default_value(),
NEIGHBORS = qgisprocess:::qgis_default_value(),
DISTANCE = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
SOURCE |
|
DESTINATION |
|
METHOD |
|
NEIGHBORS |
|
DISTANCE |
|
OUTPUT |
|
... |
further parameters passed to |
.complete_output |
logical specifying if complete out of |
.quiet |
logical specifying if parameter |
.messages |
logical specifying if messages from |
OUTPUT - outputVector - Shortest lines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.