victor icon indicating copy to clipboard operation
victor copied to clipboard

Handle tiles that cross anti-meridian

Open adam-gruer opened this issue 4 years ago • 0 comments

st_transform won't help in this situation: ref https://github.com/r-spatial/sf/issues/280 possible solutions:

  • st_crop https://github.com/ropensci/rnaturalearth/issues/21#issuecomment-390351998
  • transform to sp, do the transform to "+proj=longlat +datum=WGS84 +lon_wrap=180", then transform back to sf

adam-gruer avatar Oct 22 '19 09:10 adam-gruer