sf icon indicating copy to clipboard operation
sf copied to clipboard

Simple Features for R

Results 188 sf issues
Sort by recently updated
recently updated
newest added

I produce a function to remove outlier from meuse dataset!!!? Note: I just take this data set as a work around to practice removing outlier for individual group in a...

Currently `st_join()` removes the geometry from `y` which for some geometries may be fine, such as the case where both geometries in `x` and `y` are POINTs. However when both...

The error message from #799 ``` #> Error: Can't combine `x` and `y` . ``` Is confusing because one would expect two `sfc_GEOMETRY` to be combinable. I haven't looked in-depth,...

This was originally reported as a ggplot2 issue: https://github.com/tidyverse/ggplot2/issues/3944 For some transformations and bounding boxes, `st_graticule()` will silently ignore the values provided via the `lat` and `long` arguments. This is...

Originally reported for ggplot2 here: https://github.com/tidyverse/ggplot2/issues/3938 When an axis break falls exactly onto a bounding box boundary, `st_graticule()` produces hundreds of tiny line segments. While ggplot2 should probably be tolerant...

I think it would be helpful if the documentation of `st_graticule()` could be improved a bit. Specifically, the `lon` and `lat` parameters can be a bit confusing. If I understand...

Reported by @basille on [twitter](https://twitter.com/MabLabUF/status/1058359151456407553): ```r library(sf) library("rnaturalearth") library("rnaturalearthdata") world

Hello and good day, Can you please propose a workaround to fixing the `CRS` of the `sf` object to have it match with the `CRS` information stored in the `LAS`...

When I try to sf::st_layers() on the attached gpkg, rstudio bombs. When I list from a terminal, I see: ```r > library(sf) Linking to GEOS 3.9.1, GDAL 3.2.1, PROJ 7.2.1;...

I'm trying to split a polygon at the dateline, but `st_wrap_dateline()` is not behaving as expected: ```r st_point(c(170, 0)) %>% st_sfc(crs = 4326) %>% st_buffer(2000000) %>% st_wrap_dateline(options = c("WRAPDATELINE=YES", "DATELINEOFFSET=180"))...