pgGetLines: Load a PostGIS linestring geometry from a PostgreSQL...

Description Usage Value Author(s) Examples

View source: R/pgGetGeom.R

Description

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

Usage

1
2
pgGetLines(conn, name, geom = "geom", gid = NULL, other.cols = "*",
  clauses = NULL)

Value

SpatialLinesDataFrame or SpatialLines

Author(s)

David Bucklin [email protected]

Mathieu Basille [email protected]

Examples

1
2
3
4
5
6
## Not run: 
pgGetLines(conn, c("schema", "tablename"))
pgGetLines(conn, c("schema", "roads"), geom = "roadgeom", gid = "road_ID",
    other.cols = NULL, clauses  = "WHERE field = 'highway'")

## End(Not run)

rpostgis documentation built on July 4, 2017, 9:32 a.m.