Learn R Programming

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

Simple Features for R

A package that provides simple features access for R.

Install by

library(devtools)
install_github("edzer/sfr")

The current version depends on a development fork of rgdal2, installed by

install_github("edzer/rgdal2")

See also:

Copy Link

Version

Install

install.packages('sf')

Monthly Downloads

420,427

Version

0.1

License

GPL-2 | MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Edzer Pebesma

Last Published

March 24th, 2025

Functions in sf (0.1)

as.sf

convert foreign object to an sf object
as.sfc.SpatialLines

coerce SpatialLines object into sfc
geometry,sf-method

get geometry from sf object
as.sfc

convert foreign geometry object to an sfc object
as.sf.Spatial

convert foreign object to an sf object
bbox

Return bounding of a simple feature or simple feature set
as.WKT

Return Well-known Text representation of simple feature item
GEOMETRYCOLLECTION

Create a geometrycollection from a list other simple feature items
as.sfc.SpatialPolygons

coerce SpatialPolygons object into sfc
LINESTRING

Create a linestring simple feature from a numeric matrix
read.sf

read simple features from file or database
POLYGON

Create a polygon simple feature from a list with coordinate matrices
summary.sfc

summarize simple feature column
MULTIPOLYGON

Create a multipolygon simple feature from a list of lists with coordinate matrices
POINT

Create a point simple feature from a numeric vector
MULTILINESTRING

Create a multilinestring simple feature from a list with coordinate matrices
sf

create sf object
sf.types

data.frame listing all the simple feature types
MULTIPOINT

Create a multipoint simple feature from a numeric matrix
sfc

verify simple feature