swap_coords: Swap the coordinates in an 'sf'

View source: R/mapping.r

swap_coordsR Documentation

Swap the coordinates in an sf

Description

Sometimes people put coordinates in back to front. This function swaps them.

Usage

swap_coords(.data, geometry = geometry)

Arguments

.data

(sf) an sf object

geometry

(unquoted character; default = geometry) the geometry column

Examples

## Not run: 
my_sf %>% swap_coords()

## End(Not run)

baslat/sak documentation built on April 14, 2025, 4:14 p.m.