Man pages for duckspatial
R Interface to 'DuckDB' Database with Spatial Extension

as_duckspatial_dfConvert objects to duckspatial_df
as_nanoarrow_array_stream.duckspatial_dfConvert a duckspatial_df to a nanoarrow_array_stream
convert_to_sf_wkbConverts from data frame to sf using WKB conversion
convert_wkb_to_sfcConvert WKB data to sfc
crs_equalCompare two CRS objects for equality
dbConnCheckCheck if a supported DuckDB connection
ddbs_affineApply an affine transformation to geometries
ddbs_as_formatConvert geometries to standard interchange formats
ddbs_as_pointsGenerate point geometries from coordinates
ddbs_bboxGet the bounding box of geometries
ddbs_binary_funsGeometry binary operations
ddbs_boundaryGet the boundary of geometries
ddbs_bufferCreates a buffer around geometries
ddbs_build_areaBuild polygon areas from multiple linestrings
ddbs_centroidCalculates the centroid of geometries
ddbs_collectCollect a duckspatial_df with flexible output formats
ddbs_computeForce computation of a lazy duckspatial_df
ddbs_concave_hullCompute the concave hull of geometries
ddbs_convex_hullCompute the convex hull of geometries
ddbs_coord_boundsCoordinate bounds of geometries
ddbs_create_connCreate a DuckDB connection with spatial extension
ddbs_create_schemaCheck and create schema
ddbs_crsCheck CRS of spatial objects or database tables
ddbs_default_connGet or create default DuckDB connection with spatial...
ddbs_dimensionGet the topological dimension of a geometry
ddbs_driversGet list of GDAL drivers and file formats
ddbs_drop_geometryDrop geometry column from a duckspatial_df object
ddbs_dumpDumps geometries into their component parts
ddbs_endpointExtract the end point of a linestring geometry
ddbs_endpoint_startpointExtract the start or end point of a linestring geometry
ddbs_envelopeGet the envelope (bounding box) of geometries
ddbs_exterior_ringExtract the exterior ring of polygons
ddbs_filterPerform a spatial filter
ddbs_flipFlip geometries horizontally or vertically
ddbs_flip_coordinatesFlips the X and Y coordinates of geometries
ddbs_force_dimForce geometry dimensions
ddbs_format_crsFormat a CRS object compactly for printing
ddbs_generate_pointsGenerate random points within bounding boxes of geometries
ddbs_geom_colGet the geometry column name
ddbs_geometry_typeGet the geometry type of features
ddbs_geom_validation_funsGeometry validation functions
ddbs_get_npointsCount geometry components
ddbs_glimpseCheck first rows of the data
ddbs_has_dimCheck geometry dimensions
ddbs_installChecks and installs the Spatial extension
ddbs_interpolate_awAreal-Weighted Interpolation using DuckDB
ddbs_joinPerform a spatial join of two geometries
ddbs_line_interpolateInterpolates a point or points along a line geometry
ddbs_line_locate_pointLocate a point along a linestring
ddbs_line_mergeMerge line geometries into a single line
ddbs_line_substringExtract a substring of a line geometry
ddbs_list_tablesCheck tables and schemas inside a database
ddbs_loadLoads the Spatial extension
ddbs_locateLocate geometries at specific M values
ddbs_make_envelopeCreate a rectangular polygon from bounding coordinates
ddbs_make_lineCreate lines from point geometries
ddbs_make_polygonCreate a polygon from a single closed linestring
ddbs_make_validMake invalid geometries valid
ddbs_maximum_inscribed_circleComputes the maximum inscribed circle of a geometry
ddbs_measure_funsCalculate geometric measurements
ddbs_minimum_rotated_rectangleComputes the minimum rotated rectangle enclosing a geometry
ddbs_multiConvert geometries to multi-type
ddbs_open_datasetOpen spatial dataset lazily via DuckDB
ddbs_optionsGet or set global duckspatial options
ddbs_pointCreate point geometries from coordinate vectors
ddbs_polygonizeAssemble polygons from multiple linestrings
ddbs_predicateEvaluate spatial predicates between geometries
ddbs_quadkeyConvert point geometries to QuadKey tiles
ddbs_read_metaRead metadata from a spatial file
ddbs_read_tableReads a vectorial table from DuckDB into R
ddbs_read_vectorLoad spatial vector data from DuckDB into R
ddbs_register_tableRegister an SF Object as an Arrow Table in DuckDB
ddbs_register_vectorRegister an SF Object as an Arrow Table in DuckDB
ddbs_remove_repeated_pointsRemove repeated points from a geometry
ddbs_rotateRotate geometries around their centroid
ddbs_rotate_3dRotate 3D geometries around an axis
ddbs_scaleScale geometries by X and Y factors
ddbs_set_crsSet the coordinate reference system of geometries
ddbs_set_resourcesGet or set connection resources
ddbs_shearShear geometries
ddbs_shiftShift geometries by X and Y offsets
ddbs_simplifySimplify geometries
ddbs_sitrepReport duckspatial configuration status
ddbs_startpointExtract the start point of a linestring geometry
ddbs_stop_connClose a DuckDB connection
ddbs_temp_table_nameGenerate unique temporary table name
ddbs_temp_view_nameGenerate unique temporary view name
ddbs_transformTransform the coordinate reference system of geometries
ddbs_union_funsUnion and combine geometries
ddbs_verticesCollect all vertices of a geometry into a MULTIPOINT
ddbs_voronoiComputes a Voronoi diagram from point geometries
ddbs_write_datasetWrite spatial dataset to disk
ddbs_write_tableWrite an SF Object to a DuckDB Database
ddbs_write_vectorWrite an SF Object to a DuckDB Database
ddbs_xyExtract coordinates from geometries
duckspatial_df_dplyrdplyr methods for duckspatial_df
duckspatial_df_sfsf methods for duckspatial_df
duckspatial-packageduckspatial: R Interface to 'DuckDB' Database with Spatial...
feedback_queryFeedback for query success
get_conn_from_inputGet DuckDB connection from an object
get_geom_nameGet column names in a DuckDB database
get_nrowGet the number of rows in a table
get_query_nameGet names for the query
get_st_predicateGets predicate name
handle_heterogeneous_ingestionHandle ingestion from coords or WKT
import_view_to_connectionImport a view/table from one connection to another
is_duckspatial_dfCheck if object is a duckspatial_df
new_duckspatial_dfCreate a duckspatial lazy spatial data frame
overwrite_tableFeedback for overwrite argument
duckspatial documentation built on June 22, 2026, 9:08 a.m.