shift_longitude: Shift longitude coordinates of 'sf' object to 0-360

View source: R/shift_longitude.R

shift_longitudeR Documentation

Shift longitude coordinates of sf object to 0-360

Description

Function to shift longitude coordinates of sf object to 0-360.

Usage

shift_longitude(obj)

Arguments

obj
  • object to shift coordinates

Details

This function expands the st_shift_longitude function to work with sf::bbox objects as well as other sf objects.

If the coordinate reference system of the object is not lat/lon, no shift is made.

Value

object of same class as obj, but with longitudes shifted


wStockhausen/wtsGIS documentation built on Aug. 23, 2023, 2:31 a.m.