Learn R Programming

lwgeom (version 0.2-17)

Bindings to Selected 'liblwgeom' Functions for Simple Features

Description

Access to selected functions found in 'liblwgeom' , the light-weight geometry library used by 'PostGIS' .

Copy Link

Version

Install

install.packages('lwgeom')

Monthly Downloads

41,118

Version

0.2-17

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Edzer Pebesma

Last Published

July 19th, 2026

Functions in lwgeom (0.2-17)

st_snap_to_grid

Snap geometries to a grid
st_linesubstring

get substring from linestring
bounding_circle

Generate the minimum bounding circle
lwgeom_extSoftVersion

Provide the external dependencies versions of the libraries linked to sf
st_as_sfc.TWKB

create sfc object from tiny well-known binary (twkb)
st_astext

Return Well-known Text representation of simple feature geometry
perimeter

Compute perimeter from polygons or other geometries
geod

liblwgeom geodetic functions
st_geod_azimuth

compute azimuth between sequence of points
lwgeom_make_valid

Make an invalid geometry valid
st_force_polygon_cw

Force a POLYGON or MULTIPOLYGON to be clockwise
perimeter-deprecated

compute perimeter from polygons or other geometries
st_transform_proj

Transform or convert coordinates of simple features directly with Proj.4 (bypassing GDAL)
st_subdivide

Return a collection of geometries resulting by subdividing a geometry
st_wrap_x

Splits input geometries by a vertical line and moves components falling on one side of that line by a fixed amount
st_is_polygon_cw

Check if a POLYGON or MULTIPOLYGON is clockwise
st_split

Return a collection of geometries resulting by splitting a geometry
st_geohash

compute geohash from (average) coordinates
st_startpoint

Return the start and end points from lines