Learn R Programming

⚠️There's a newer version (1.0-18) of this package.Take me there.

sf (version 0.5-5)

Simple Features for R

Description

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.4 for projection conversions and datum transformations.

Copy Link

Version

Install

install.packages('sf')

Monthly Downloads

331,035

Version

0.5-5

License

GPL-2 | MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 31st, 2017

Functions in sf (0.5-5)

geos_binary_ops

Geometric operations on pairs of simple feature geometry sets
geos_binary_pred

Geometric binary predicates on pairs of simple feature geometry sets
prefix_map

Map prefix to driver
rawToHex

Convert raw vector(s) into hexadecimal character string(s)
sgbp

Methods for dealing with sparse geometry binary predicate lists
st

Create simple feature from a numeric vector, matrix or list
st_bbox

Return bounding of a simple feature or simple feature set
st_cast

Cast geometry to another type: either simplify, or cast explicitly
st_layers

List layers in a datasource
st_line_sample

Sample points on a linear geometry
st_make_grid

Make a rectangular grid over the bounding box of a sf or sfc object
st_precision

Get precision
valid

Make an invalid geometry valid
Ops.sfg

S3 Ops Group Generic Functions (multiply and add/subtract) for affine transformation
aggregate.sf

aggregate an sf object
geos_combine

Combine or union feature geometries
geos_measures

Compute geometric measurements
sf_extSoftVersion

Provide the external dependencies versions of the libraries linked to sf
sfc

Create simple feature geometry list column
st_drivers

Get GDAL drivers
as

Methods to coerce simple feature geometries to corresponding Spatial* objects
st_geohash

compute geohash from (average) coordinates (requires lwgeom)
st_geometry

Get, set, or replace geometry from an sf object
st_geometry_type

Return geometry type of an object
st_read

Read simple features or layers from file or database
st_relate

Compute DE9-IM relation between pairs of geometries, or match it to a given pattern
db_drivers

Drivers for which update should be TRUE by default
is_driver_available

Check if driver is available
is_driver_can

Check if a driver can perform an action
st_as_grob

Convert sf* object to a grob
st_as_sf

Convert foreign object to an sf object
st_coordinates

retrieve coordinates in matrix form
st_crs

Retrieve coordinate reference system from object
st_graticule

Compute graticules and their parameters
st_interpolate_aw

Areal-weighted interpolation of polygon data
st_sample

sample points on or in (sets of) spatial features
st_split

Return a collection of geometries resulting by splitting a geometry
summary.sfc

Summarize simple feature column
tibble

Summarize simple feature type for tibble
merge.sf

merge method for sf and data.frame object
plot

Plot sf object
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_jitter

jitter geometries
st_join

spatial left or inner join
bgMap

This is data included in sf
bind

Bind rows (features) of sf objects
dplyr

Dplyr verb methods for sf objects
extension_map

Map extension to driver
geos_query

Dimension, simplicity or validity queries on simple feature geometries
geos_unary

Geometric unary operations on simple feature geometry sets
st_agr

get or set relation_to_geometry attribute of an sf object
st_is

test equality between the geometry type and a class or set of classes
st_is_longlat

Assert whether simple feature coordinates are longlat degrees
st_transform

Transform or convert coordinates of simple feature
st_viewport

Create viewport from sf, sfc or sfg object
st_as_binary

Convert sfc object to an WKB object
reexports

Objects exported from other packages
sf

Create sf object
st_cast_sfc_default

Coerce geometry to MULTI* geometry
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_write

Write simple features object to file or database
st_zm

Drop or add Z and/or M dimensions from feature geometries