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

Description Usage Value Author(s) Examples

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)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.