Description Usage Arguments Value
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
1 | lon_wrap_180(sf)
|
sf |
object |
a sf object with the same projection as supplied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.