sf v0.3-4


Monthly downloads



by Edzer Pebesma

Simple Features for R

Support for simple features, a standardized way to encode spatial data, with bindings to GDAL, GEOS and Proj.4.

Functions in sf

Name Description
as_Spatial Convert to sp object
sf Create sf object
sfc Create simple feature collection object of class sfc from list
plot Plot sf object
st_agr get or set relation_to_geometry attribute of an
prefix_map Map prefix to driver
rawToHex Convert raw vector(s) into hexadecimal character string(s)
Ops.sfg S3 Ops Group Generic Functions (multiply and add/subtract) for affine transformation
st_as_binary Convert sfc object to an WKB object
sf_extSoftVersion Provide the external dependencies versions of the libraries linked to sf
st_as_grob Convert sf* object to a grob
st_cast Cast geometry to another type: either simplify, or cast explicitly
st_bbox Return bounding of a simple feature or simple feature set
st_cast_sfc_default Coerce geometry to MULTI* geometry
st_as_sfc Convert foreign geometry object to an sfc object
st_as_text Return Well-known Text representation of simple feature geometry or coordinate reference system
st_drivers Get GDAL drivers
st_as_sf Convert foreign object to an sf object
st_crs Retrieve coordinate reference system from object
st_geometry_type Return geometry type of an object
st_geometry Get, set, or replace geometry from an sf object
st_interpolate_aw Areal-weighted interpolation of polygon data
st_join spatial left or inner join
st_layers List layers in a datasource
st_graticule Compute graticules and their parameters
st_is test equality between the geometry type and a class or set of classes
st_transform Transform or convert coordinates of simple feature
st_read Read simple features or layers from file or database
st_is_longlat Assert whether simple feature coordinates are longlat degrees
st_makegrid Make a rectangular grid of polygons over the bounding box of a sf or sfc object
st_precision Get precision
st_zm Drop or add Z and/or M dimensions from feature geometries
st_viewport Create viewport from sf, sfc or sfg object
summary.sfc Summarize simple feature column
st_write Write simple features object to file or database
tibble Summarize simple feature type for tibble
st Create simple feature from a numeric vector, matrix or list
extension_map Map extension to driver
is_driver_can Check if a driver can perform an action
aggregate.sf aggregate an
dplyr Dplyr verb methods for sf objects
bgMap This is data included in sf
is_driver_available Check if driver is available
bind Bind rows (features) of sf objects
geos Geometric operations on (pairs of) simple feature geometry sets
merge.sf merge method for sf and data.frame object
No Results!

Last month downloads


LinkingTo Rcpp
VignetteBuilder knitr
SystemRequirements GDAL (>= 2.0.0), GEOS (>= 3.3.0), PROJ.4 (>= 4.8.0)
License GPL-2 | MIT + file LICENSE
URL https://github.com/edzer/sfr/
BugReports https://github.com/edzer/sfr/issues/
Collate RcppExports.R init.R bbox.R read.R db.R sfc.R sfg.R sf.R wkb.R wkt.R plot.R geom.R transform.R sp.R crs.R grid.R arith.R tidy.R cast_sfg.R cast_sfc.R graticule.R datasets.R aggregate.R agr.R maps.R join.R
RoxygenNote 6.0.0
NeedsCompilation yes
Packaged 2017-02-06 20:15:26 UTC; edzer
Repository CRAN
Date/Publication 2017-02-06 21:59:09

Include our badge in your README