rpostgis (version 1.4.3)

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

Description

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

Usage

pgGetGeomQ(conn, query, name = NULL, ...)

Arguments

query

character, a full SQL query including a geometry column.

name

optional character string specifying a PostgreSQL schema and view name (e.g., name = c("schema","view")) to save the query as. If NULL, a temporary view ".rpostgis_TEMPview" is used temporarily (only within the function scope).

...

For pgGetGeomQ, other arguments as in pgGetGeom