Export all spatial datasets in a database as geopackages.
rws_export_gpkg(conn, dir, overwrite = FALSE)
A SQLiteConnection to a database.
A string of the path to the directory to save the geopackages in.
A flag specifying whether to overwrite existing geopackages.
An invisible named vector of the file names and new file names saved.
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.