sf icon indicating copy to clipboard operation
sf copied to clipboard

Simple Features for R

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

``` LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterprise Description: Red Hat Enterprise Linux release 8.9 (Ootpa) Release: 8.9 Codename: Ootpa ---- R version 4.3.3 (2024-02-29) -- "Angel Food Cake" ``` I...

Hi, I know it exists the ```options``` for ```st_read```, but after testing it, seems is not to pass options as read options, or something seems to be not working. I'm...

feature

Hi! I am in the process of writing conversions to/from EsriJSON geometry objects for sfg, sfc, and sf objects. I've completed the `sfg` conversions. However, I am now noticing that...

It seems that `sf::st_as_text()` is definitely slower than its alternatives available in `{lwgeom}` and `{terra}`. ```r library("sf"); library("lwgeom"); library("terra") pts = matrix(1:100000, , 2) p = st_multipoint(pts) p = st_cast(st_sfc(p),...

performance :snail:

Based on profiling, it's slow for a large number of geometries because of the `mapply` here: https://github.com/r-spatial/sf/blob/cfc321aa33633017274d6832589021417e21e700/R/arith.R#L152-L163 That's an R loop, but it would be nice to push it into...

performance :snail:

See https://github.com/OSGeo/gdal/issues/9580 and https://github.com/OSGeo/gdal/pull/9595

When using `separate_wider_delim()` with a `sf` object, the function misbehaves and returns a `tibble`. If using `separate()` the class of the `sf` object is retained. The same issue was documented...

Apologies for taking so long to circle back here, but this is one approach to ensuring that `R CMD check` passes when `R_SF_ST_READ_USE_STREAM=true`. It also has the nice side-effect that...

**Describe the bug** The presence of an empty geometrycollection causes `st_collection_extract()`to return an empty object even if geometries of the requested type are present. For geometrycollections, `st_cast_sfc_default()` checks for `all(lengths(x))`...

Note for now: https://stat.ethz.ch/pipermail/r-help/2024-March/479033.html describes the problem of very long Windows (often OneDrive) paths, so suggests that the path to `system.file("proj", package = "sf")[1]` may also be affected. I have...