sf
sf copied to clipboard
Break antimeridian
Trying to fix #1983. Maybe better just to lift the R file (I went with roxygen markup, so just one file). The use of maps::map() was hard, there are both empty geometries and geometries > 180, so I wrote a non-exported function for regularizing sf line or polygon (untested) objects using the same intersection by bounding box approach.