View source: R/writeMultiOGR.R
1 2 3 | writeMultiOGR(x, dsn, nln = " ", verbose = F, srid = "4326",
dbname = "mydb", host = " ", username = " ", simplify = T,
shp2pgsql = F, encode = NULL, ...)
|
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) |
Spatial DataFrame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.