writeMultiOGR: Write an MultiPolygon into PostgreSQL data source.

Usage Arguments Value

View source: R/writeMultiOGR.R

Usage

1
2
3
writeMultiOGR(x, dsn, nln = " ", verbose = F, srid = "4326",
  dbname = "mydb", host = " ", username = " ", simplify = T,
  shp2pgsql = F, encode = NULL, ...)

Arguments

x

a object

dsn

PostgreSQL DSNs

nln

a character indicating layer option

verbose

a boolean variable indicating whether to display verbose information

srid

a integer variable indicating spatial reference id of OGR data source.The defalut value is 4326(WGS84)

dbname

a character indicating database name

host

If shp2pgsql is true,a charater is required to indicate hostname or ip address of PostgreSQL Server

username

If shp2pgsql is true,a charater is required to indicate current user

encode

a character indicating encode of vector data

...

other extra parameters to be passed to ogr2ogr(such as lco)

Value

Spatial DataFrame


seifer08ms/RPostGIS documentation built on May 29, 2019, 5:53 p.m.