rpostgis (version 1.4.3)

pgListGeom: List geometries/rasters

Description

List all geometry/(geography) or raster columns available in a PostGIS database.

Usage

pgListGeom(conn, geog = TRUE)

pgListRast(conn)

Value

If exec = TRUE, a data frame with schema, table, geometry/(geography) or raster (for pgListRast) column, and geometry/(geography) type.

Arguments

conn

A PostgreSQL database connection.

geog

Logical. For pgListGeom, whether to include PostGIS geography-type columns stored in the database

Author

David Bucklin david.bucklin@gmail.com

Examples

Run this code
if (FALSE) {
pgListGeom(conn)

pgListRast(conn)
}

Run the code above in your browser using DataLab