gpkg 0.0.7
gpkg 0.0.7
- Initial CRAN release
- Added
gpkg_bbox()as an application ofgpkg_ogr_query()
gpkg 0.0.6
-
geopackage()internal connection object has been moved to an internal environment (<geopackage>$env$conrather than<geopackage>$con) -
gpkg_connect()allows for in-place modification of an existing object for the purposes of creating an internal SQLiteConnection -
Improvement to
gpkg_add_contents()andgpkg_update_contents(): more intelligent choice of data type when heterogeneous (non-attribute) data are in database but not registered. Fix for broken tests on Windows/GDAL 3.5.2.
gpkg 0.0.5
-
Fixed bug in
gpkg_tables()when multiple attribute tables were present. -
Added
gpkg_ogr_query()(andogrargument togpkg_query()) to support querying OGR data sources using a 'terra' SpatVectorProxy back end. This allows for use of GeoPackage-specific SQL functions and the OGR/SQLite dialects: https://gdal.org/user/sql_sqlite_dialect.html and https://gdal.org/user/ogr_sql_dialect.html; requires latest 'terra' (1.7-33+) -
Added
gpkg_rast()(analog ofgpkg_vect()forterra::rast()) for lazy manipulation of gridded data in a GeoPackage -
Added
gpkg_create_dummy_features()which is a workaround for use ofgpkg_vect()on a GeoPackage with only attribute data. This creates innocuous entries ingpkg_geometry_columnsand an empty table to "trick" GDAL into reading arbitrary data sources. -
Added
gpkg_list_contents()andgpkg_ogr_contents(); the former returns only table names registered ingpkg_contentstable, which are optionally intersected with tables defined ingpkg_ogr_contentswhenogr=TRUE.
gpkg 0.0.4
-
Fixed bug in
.gpkg_gdaloptions_add()that could cause addition of options with no value set -
Added
gpkg_vect(): aterra::vect()-based analog ofgpkg_table()for lazy manipulation of vector and attribute data in a GeoPackage -
gpkg_update_table()defaults towherecol=NULLwhich allows updating rows with no SQLWHEREclause specified
gpkg 0.0.3
-
Refactoring table accessor methods (#2)
-
Renamed
lazy.frame()->gpkg_table_pragma() -
Renamed
dplyr.frame()->gpkg_table() -
gpkg_table()gainscollectargument (toggles materializing data.frame v.s. 'dbplyr' approach).collectrequires only 'RSQLite' not 'dbplyr'. -
gpkg_tables()gainspragmaargument to toggle use ofgpkg_table_pragma()overgpkg_table(). It also supportscollectargument.
-
-
gpkg_update_table()is now exported; this method is/was used internally for updating the NoData entry for existing layers viagpkg_tile_set_data_null()
gpkg 0.0.2
-
Updated definitions of
lazy.frame()anddplyr.frame()and related docs -
Updated
gpkg_write()for raster, vector, and attribute data-
General cleanup and refactored approach for splitting input data sources between attributes, vector, and tiled grid coverage.
-
New approach still contains hard-coded logic related to the allowed object types and file data sources (that will be generalized in the future)
-
RASTER_TABLEname is now properly injected into GDAL options from named list input (when not otherwise specified)
-
-
Bug fix in
geopackage(<list>)related to appending v.s. overwriting raster data -
gpkg_update_contents(): Handlegpkgext_andsqlite_sequenceas standard GPKG table prefixes- fixes error with updating contents of GPKG with extensions loaded
-
Added {dbplyr} backend option to return
tibbleobject viageopackageobject internal SQLiteConnection -
Changed formatting of PRAGMA
table_infochild data.frame inlazy.frame()result
gpkg 0.0.1
- Initial draft of key features, R package structure, and naming of functions