rws_export_gpkg {readwritesqlite} | R Documentation |
Export all spatial datasets in a database as geopackages.
Description
Export all spatial datasets in a database as geopackages.
Usage
rws_export_gpkg(conn, dir, overwrite = FALSE)
Arguments
conn |
A SQLiteConnection to a database. |
dir |
A string of the path to the directory to save the geopackages in. |
overwrite |
A flag specifying whether to overwrite existing geopackages. |
Details
If more than one spatial column is present in a table, a separate geopackage will be exported for each, and the other spatial columns will be dropped.
Value
An invisible named vector of the file names and new file names saved.
[Package readwritesqlite version 0.2.0 Index]