sf v0.9-7
0
Monthly downloads
Simple Features for R
Support for simple features, a standardized way to
encode spatial vector data. Binds to 'GDAL' for reading and writing
data, to 'GEOS' for geometrical operations, and to 'PROJ' for
projection conversions and datum transformations. Optionally uses the 's2'
package for spherical geometry operations on geographic coordinates.
Functions in sf
Name | Description | |
dbDataType,PostgreSQLConnection,sf-method | Determine database type for R vector | |
bind | Bind rows (features) of sf objects | |
aggregate.sf | aggregate an sf object | |
geos_binary_ops | Geometric operations on pairs of simple feature geometry sets | |
db_drivers | Drivers for which update should be TRUE by default | |
as | Methods to coerce simple features to Spatial* and Spatial*DataFrame objects | |
extension_map | Map extension to driver | |
is_driver_available | Check if driver is available | |
merge.sf | merge method for sf and data.frame object | |
is_geometry_column | Check if the columns could be of a coercable type for sf | |
sf-defunct | Deprecated functions in sf | |
nc | North Carolina SIDS data | |
st_as_grob | Convert sf* object to a grob | |
is_driver_can | Check if a driver can perform an action | |
plot | plot sf object | |
st_as_text | Return Well-known Text representation of simple feature geometry or coordinate reference system | |
st_as_sfc | Convert foreign geometry object to an sfc object | |
sf | Create sf object | |
sf_project | directly transform a set of coordinates | |
st_coordinates | retrieve coordinates in matrix form | |
sfc | Create simple feature geometry list column | |
st_geometry | Get, set, or replace geometry from an sf object | |
st_geometry_type | Return geometry type of an object | |
st_is | test equality between the geometry type and a class or set of classes | |
geos_measures | Compute geometric measurements | |
st_as_sf | Convert foreign object to an sf object | |
geos_combine | Combine or union feature geometries | |
geos_binary_pred | Geometric binary predicates on pairs of simple feature geometry sets | |
rawToHex | Convert raw vector(s) into hexadecimal character string(s) | |
geos_query | Dimension, simplicity, validity or is_empty queries on simple feature geometries | |
prefix_map | Map prefix to driver | |
st_bbox | Return bounding of a simple feature or simple feature set | |
sf_extSoftVersion | Provide the external dependencies versions of the libraries linked to sf | |
st_agr | get or set relation_to_geometry attribute of an sf object | |
sf_proj_search_paths | Get or set the PROJ search paths | |
st_layers | List layers in a datasource | |
st_crop | crop an sf object to a specific rectangle | |
st_line_sample | Sample points on a linear geometry | |
st_zm | Drop or add Z and/or M dimensions from feature geometries | |
st_sample | sample points on or in (sets of) spatial features | |
st_shift_longitude | Shift or re-center geographical coordinates for a Pacific view | |
st_is_longlat | Assert whether simple feature coordinates are longlat degrees | |
st_as_binary | Convert sfc object to an WKB object | |
geos_unary | Geometric unary operations on simple feature geometry sets | |
reexports | Objects exported from other packages | |
internal | Internal functions | |
s2 | functions for spherical geometry, using s2 package | |
sgbp | Methods for dealing with sparse geometry binary predicate lists | |
gdal | functions to interact with gdal not meant to be called directly by users (but e.g. by stars::read_stars) | |
st | Create simple feature from a numeric vector, matrix or list | |
stars | functions only exported to be used internally by stars | |
st_collection_extract | Given an object with geometries of type GEOMETRY or GEOMETRYCOLLECTION, return an object consisting only of elements of the specified type. | |
st_cast_sfc_default | Coerce geometry to MULTI* geometry | |
st_m_range | Return 'm' range of a simple feature or simple feature set | |
valid | Check validity or make an invalid geometry valid | |
st_viewport | Create viewport from sf, sfc or sfg object | |
st_make_grid | Create a regular tesselation over the bounding box of an sf or sfc object | |
st_transform | Transform or convert coordinates of simple feature | |
vctrs | vctrs methods for sf objects | |
st_crs | Retrieve coordinate reference system from object | |
st_jitter | jitter geometries | |
st_graticule | Compute graticules and their parameters | |
st_cast | Cast geometry to another type: either simplify, or cast explicitly | |
st_interpolate_aw | Areal-weighted interpolation of polygon data | |
st_nearest_feature | get index of nearest feature | |
st_drivers | Get GDAL drivers | |
st_nearest_points | get nearest points between pairs of geometries | |
summary.sfc | Summarize simple feature column | |
tibble | Summarize simple feature type for tibble | |
st_read | Read simple features or layers from file or database | |
st_join | spatial join, spatial filter | |
st_relate | Compute DE9-IM relation between pairs of geometries, or match it to a given pattern | |
st_precision | Get precision | |
st_normalize | Normalize simple features | |
tidyverse | Tidyverse methods for sf objects (remove .sf suffix!) | |
st_z_range | Return 'z' range of a simple feature or simple feature set | |
st_write | Write simple features object to file or database | |
transform.sf | transform method for sf objects | |
gdal_utils | Native interface to gdal utils | |
Ops | S3 Ops Group Generic Functions for simple feature geometries | |
No Results! |
Vignettes of sf
Name | ||
sf.fig | ||
sf1.Rmd | ||
sf2.Rmd | ||
sf2.png | ||
sf3.Rmd | ||
sf4.Rmd | ||
sf5.Rmd | ||
sf6.Rmd | ||
sf7.Rmd | ||
sf_xfig.png | ||
No Results! |
Last month downloads
Details
License | GPL-2 | MIT + file LICENSE |
URL | https://r-spatial.github.io/sf/, https://github.com/r-spatial/sf/ |
BugReports | https://github.com/r-spatial/sf/issues/ |
LinkingTo | Rcpp |
VignetteBuilder | knitr |
Encoding | UTF-8 |
RoxygenNote | 7.1.1 |
SystemRequirements | C++11, GDAL (>= 2.0.1), GEOS (>= 3.4.0), PROJ (>= 4.8.0), sqlite3 |
Collate | 'RcppExports.R' 'init.R' 'crs.R' 'bbox.R' 'read.R' 'db.R' 'sfc.R' 'sfg.R' 'sf.R' 'bind.R' 'wkb.R' 'wkt.R' 'plot.R' 'geom-measures.R' 'geom-predicates.R' 'geom-transformers.R' 'transform.R' 'sp.R' 'grid.R' 'arith.R' 'tidyverse.R' 'tidyverse-vctrs.R' 'cast_sfg.R' 'cast_sfc.R' 'graticule.R' 'datasets.R' 'aggregate.R' 'agr.R' 'maps.R' 'join.R' 'sample.R' 'valid.R' 'collection_extract.R' 'jitter.R' 'sgbp.R' 'spatstat.R' 'stars.R' 'crop.R' 'gdal_utils.R' 'nearest.R' 'normalize.R' 'defunct.R' 'z_range.R' 'm_range.R' 'shift_longitude.R' 'make_grid.R' 's2.R' 'geos-overlayng.R' |
NeedsCompilation | yes |
Packaged | 2021-01-04 14:25:59 UTC; edzer |
Repository | CRAN |
Date/Publication | 2021-01-06 11:00:02 UTC |
suggests | blob , covr , dplyr (>= 0.8-3) , ggplot2 , knitr , lwgeom (>= 0.2-1) , maps , mapview , microbenchmark , odbc , pillar , pool , raster , rgdal , rgeos , rlang , rmarkdown , RPostgres (>= 1.1.0) , RPostgreSQL , RSQLite , s2 (>= 1.0.1) , sp (>= 1.2-4) , spatstat , spatstat.utils , stars (>= 0.2-0) , testthat , tibble (>= 1.4.1) , tidyr (>= 1.0-0) , tidyselect (>= 1.0.0) , tmap (>= 2.0) , vctrs |
imports | classInt (>= 0.4-1) , DBI (>= 0.8) , graphics , grDevices , grid , magrittr , Rcpp (>= 0.12.18) , stats , tools , units (>= 0.6-0) , utils |
depends | methods , R (>= 3.3.0) |
Contributors | Tim Keitt, Kirill Muller, Jeroen Ooms, Hadley Wickham, Roger Bivand, Michael Sumner, Robin Lovelace, Ian Cook, Etienne Racine, Thomas Lin Pedersen, Dan Baston |
Include our badge in your README
[](http://www.rdocumentation.org/packages/sf)