lon_wrap_180: Wrap coordinates that are on the anti-meridian (date line)

Description Usage Arguments Value

View source: R/utils.R

Description

features in tiles that are the east most for a zoom level (x is 2^(zoom) - 1) or the west most (x is 0) have longitudes that go from positive to negative (e.g 179 to -182). This function converts to a projection (+proj=longlat +datum=WGS84 +lon_wrap=180) that wraps these longitudes and then converts back to the original projection

Usage

1

Arguments

sf

object

Value

a sf object with the same projection as supplied


adam-gruer/victor documentation built on Nov. 10, 2019, 6:20 p.m.