View source: R/qgis_hublines.R
qgis_hublines | R Documentation |
QGIS Algorithm provided by QGIS (native c++) Join by lines (hub lines) (native:hublines). Creates lines joining two point layers, based on a common attribute value. This algorithm creates hub and spoke diagrams by connecting lines from points on the Spoke layer to matching points in the Hub layer. Determination of which hub goes with each point is based on a match between the Hub ID field on the hub points and the Spoke ID field on the spoke points. If input layers are not point layers, a point on the surface of the geometries will be taken as the connecting location. Optionally, geodesic lines can be created, which represent the shortest path on the surface of an ellipsoid. When geodesic mode is used, it is possible to split the created lines at the antimeridian (±180 degrees longitude), which can improve rendering of the lines. Additionally, the distance between vertices can be specified. A smaller distance results in a denser, more accurate line. —————- Notes —————- - This algorithm drops existing primary keys or FID values and regenerates them in output layers.
qgis_hublines(
HUBS = qgisprocess:::qgis_default_value(),
HUB_FIELD = qgisprocess:::qgis_default_value(),
HUB_FIELDS = qgisprocess:::qgis_default_value(),
SPOKES = qgisprocess:::qgis_default_value(),
SPOKE_FIELD = qgisprocess:::qgis_default_value(),
SPOKE_FIELDS = qgisprocess:::qgis_default_value(),
GEODESIC = qgisprocess:::qgis_default_value(),
GEODESIC_DISTANCE = qgisprocess:::qgis_default_value(),
ANTIMERIDIAN_SPLIT = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
HUBS |
|
HUB_FIELD |
|
HUB_FIELDS |
|
SPOKES |
|
SPOKE_FIELD |
|
SPOKE_FIELDS |
|
GEODESIC |
|
GEODESIC_DISTANCE |
|
ANTIMERIDIAN_SPLIT |
|
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 - Hub lines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.