sfheaders icon indicating copy to clipboard operation
sfheaders copied to clipboard

Build sf objects from R and Rcpp

Results 16 sfheaders issues
Sort by recently updated
recently updated
newest added

A next level helper, this one determines the `sfc` type by matching sets of available column names, and detecting geometry type. Is this suitable for sfheaders? I'm not sure -...

Originally reported here - https://github.com/SymbolixAU/mapdeck/issues/337#issuecomment-735463808 When using a factor column as an 'id', the levels get dropped ```r df

coordinates stored in a single vector ``` [x,y,z,x,y,z,x,y,z,...] ``` And associated meta-data describing start indices, stride length --- References & discussion - https://github.com/geopandas/geo-arrow-spec/pull/2 - https://github.com/visgl/loaders.gl/issues/716 - https://github.com/geopandas/geo-arrow-spec/issues/3 - https://github.com/geopandas/geo-arrow-spec/issues/4 ---...

I think you can stick ``` remotes::install_github("r-spatial/sf") ``` Before or after this (I forget which is more likely to work): https://github.com/dcooley/sfheaders/blob/master/.github/workflows/R-CMD-check.yaml#L68 ...in a copy of your R-CMD-check.yaml file. If you're...

TODO - [ ] `sfc_geometrycollection()` - related to https://github.com/dcooley/sfheaders/issues/25 - if this works I can then include a `goemetrycollection_id` field as the outer-most list - [ ] casting from -...

Functions to add a dimension to an existing sf

continuing [this discussion](https://github.com/dcooley/sfheaders/issues/70#issuecomment-605705645) as well as `list_columns`, have a `list_data`, or `combine_lists`, or something, which will put all the list columns into a single data.frame column. Will also need the...

General gist of what I'm after, and would make my life easier, shown below: ``` r library(sfheaders) x $n_empty #> [1] 0 #> #> $crs #> Coordinate Reference System: NA...