gpkg_query | R Documentation |
gpkg_ogr_query()
: an alias for gpkg_query(..., ogr=TRUE)
gpkg_query(x, query, ogr = FALSE, ...)
gpkg_ogr_query(x, query, ...)
x |
A geopackage object |
query |
character. An SQLite/Spatialite/GeoPackage query. The |
ogr |
logical. Use the OGR query interface (via |
... |
Additional arguments to |
The GeoPackage driver supports OGR attribute filters. Provide filters in the SQLite dialect, as they will be executed directly against the database. If Spatialite is used, a recent version (4.2.0) is needed and cast operators are required to transform GeoPackage geometries to Spatialite geometries. A variety of SQL functions are available, see: < https://gdal.org/en/stable/drivers/vector/gpkg.html#sql-functions>
a data.frame result of RSQLite::dbGetQuery()
or SpatVector
result from terra::query()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.