# Spatial Data Operations for Database-Backed Geometries

## Documentation for package ‘dbSpatial’ version 0.1.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

$-method | Column extraction for dbSpatial
as_dbSpatial | Convert an sf or terra object to a 'dbSpatial' object
dbSpatial | Create a 'dbSpatial' object with geometry data type
dbSpatial-class | Create a 'dbSpatial' object with geometry data type
dbSpatial-options | dbSpatial Package Global Options
dbSpatial_options | dbSpatial Package Global Options
head-method | head method for dbSpatial
loadSpatial | Install and/or load DuckDB spatial extension
show-method | show method for dbSpatial
st_area | Get area of geometries
st_as_geojson | Convert to GeoJSON
st_as_geojson.dbSpatial | Convert to GeoJSON
st_as_sf.dbSpatial | Convert dbSpatial objects to sf objects
st_as_text | Convert to WKT
st_bbox | Compute bounding box for dbSpatial object
st_bbox.dbSpatial | Compute bounding box for dbSpatial object
st_buffer | Compute buffer around geometry
st_centroid | Compute centroid of geometry
st_geometrytype | Get geometry types (DuckDB-native)
st_join.dbSpatial | Spatial join for dbSpatial objects
st_length | Get length of geometries
st_npoints | Get number of points
st_npoints-method | Get number of points
st_perimeter | Get perimeter of geometries
st_simplify | Simplify geometry
st_translate | Translate x, y coordinates by delta x, delta y for point geometries
st_translate-method | Translate x, y coordinates by delta x, delta y for point geometries
st_x | Get X coordinate
st_x-method | Get X coordinate
st_xmax | Get maximum x coordinate
st_xmax-method | Get maximum x coordinate
st_y | Get Y coordinate
st_y-method | Get Y coordinate
st_ymax | Get maximum y coordinate
st_ymax-method | Get maximum y coordinate
tail-method | tail method for dbSpatial
vect-method | Create SpatVector objects