Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- R version 3.2.3 (2015-12-10)
- Platform: x86_64-w64-mingw32/x64 (64-bit)
- Running under: Windows >= 8 x64 (build 9200)
- [...]
- other attached packages:
- rgdal_1.1-10
- gdalUtils_2.0.1.7
- RPostgreSQL_0.4-1
- library(rpostgis)
- conn <- dbConnect(drv = "PostgreSQL", host = "localhost", dbname = "rpostgis", user = "postgres", password = "postgres_password")
- library("rworldmap")
- world <- getMap()
- pgInsert(conn, "world", world, new.id = "gid")
- world.db <- pgGetGeom(conn, "world")
Add Comment
Please, Sign In to add comment