View source: R/qgis_meancoordinates.R
qgis_meancoordinates | R Documentation |
QGIS Algorithm provided by QGIS (native c++) Mean coordinate(s) (native:meancoordinates). This algorithm computes a point layer with the center of mass of geometries in an input layer. An attribute can be specified as containing weights to be applied to each feature when computing the center of mass. If an attribute is selected in the Unique ID field parameter, features will be grouped according to values in this field. Instead of a single point with the center of mass of the whole layer, the output layer will contain a center of mass for the features in each category.
qgis_meancoordinates(
INPUT = qgisprocess:::qgis_default_value(),
WEIGHT = qgisprocess:::qgis_default_value(),
UID = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
INPUT |
|
WEIGHT |
|
UID |
|
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 - Mean coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.