brownag / gpkg

Utilities for the Open Geospatial Consortium (OGC) 'GeoPackage' Format in R
http://humus.rocks/gpkg/
Creative Commons Zero v1.0 Universal
18 stars 0 forks source link

Updates to `gpkg_connect()` #9

Closed brownag closed 1 year ago

brownag commented 1 year ago

This changes behavior of gpkg_connect(<geopackage>) such that it modifies the input object in place as a side effect (no assignment/overwriting of input object needed).

To avoid this behavior use gpkg_connect(<character>) with the $dsn element of the geopackage object

Also resolves some issues related to print() with a previously-closed internal geopackage connection, better checks of whether a connection has been disconnected, and some more robust tests for newer versions of GDAL/existing extension tables.