rpostgis1.5.1 package

R Interface to a 'PostGIS' Database

bs

Return indexes for an exact number of blocks for a raster

dbAddKey

Add key.

dbAsDate

Converts to timestamp.

dbBuildTableQuery

Builds CREATE TABLE query for a data frame object.

dbColumn

Add or remove a column.

dbComment

Comment table/view/schema.

dbConnCheck

Check if a supported PostgreSQL connection

dbDrop

Drop table/view/schema.

dbExistsTable

Check if a PostgreSQL table/view exists

dbGetDefs

Get definitions for data frame mode reading

dbIndex

Create an index.

dbSchema

Check and create schema.

dbTableInfo

Get information about table columns.

dbTableNameFix

Format input for database schema/table names.

dbVacuum

Vacuum.

dbVersion

Returns major.minor version of PostgreSQL (for version checking)

dbWriteDataFrame

Write/read in data frame mode to/from database table.

pgCheckGeom

Check if geometry or geography column exists in a table, and return th...

pgGetBoundary

Retrieve bounding envelope of geometries or rasters.

pgGetGeom

Load a PostGIS geometry from a PostgreSQL table/view/query into R.

pgGetGeomQ

Load geometries from a full query and return a Spatial* object

pgGetRast

Load raster from PostGIS database into R.

pgGetSRID

Get SRID(s) from a geometry/geography column in a full table

pgInsert

Inserts data into a PostgreSQL table.

pgInsertizeGeom

Format R data objects for insert into a PostgreSQL table.

pgListGeom

List geometries/rasters

pgMakePts

Add a POINT or LINESTRING geometry field.

pgPostGIS

Check and create PostGIS extension.

pgSRID

Find (or create) PostGIS SRID based on CRS object.

pgWriteGeom

Inserts data into a PostgreSQL table.

pgWriteRast

Write raster to PostGIS database table.

rpostgis

R interface to a PostGIS database.

Provides an interface between R and 'PostGIS'-enabled 'PostgreSQL' databases to transparently transfer spatial data. Both vector (points, lines, polygons) and raster data are supported in read and write modes. Also provides convenience functions to execute common procedures in 'PostgreSQL/PostGIS'.

  • Maintainer: Adrián Cidre González
  • License: GPL (>= 3)
  • Last published: 2023-11-20