qgis_swapxy: QGIS algorithm - Swap X and Y coordinates

View source: R/qgis_swapxy.R

qgis_swapxyR Documentation

QGIS algorithm - Swap X and Y coordinates

Description

QGIS Algorithm provided by QGIS (native c++) Swap X and Y coordinates (native:swapxy). This algorithm swaps the X and Y coordinate values in input geometries. It can be used to repair geometries which have accidentally had their latitude and longitude values reversed.

Usage

qgis_swapxy(
  INPUT = qgisprocess:::qgis_default_value(),
  OUTPUT = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

source - Input layer. Path to a vector layer.

OUTPUT

sink - Swapped. 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 - Swapped


JanCaha/r_package_qgis documentation built on April 4, 2024, 8:10 p.m.