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 dbucklin@ufl.edu

Mathieu Basille basille@ufl.edu

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 May 29, 2017, 2:20 p.m.

Search within the rpostgis package
Search all R packages, documentation and source code