使用sf :: st_read()从数据库中并行提取

时间:2018-09-19 19:55:08

标签: r postgresql parallel-processing sf

是否可以并行化sf::st_read()函数?

con <- dbConnect(RPostgres::Postgres(), dbname="gisdb", user = "postgres",
    password="postgres", host = "127.0.0.1", port = 5432)

df <- sf::st_read(dsn = con, geom_column = "geom", query = "SELECT * FROM TABLE;")

0 个答案:

没有答案