-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated Columns in SQLite not documented by GPKG Standard #645
Comments
I am worried about interoperability. See https://sqlite.org/gencol.html#compatibility
Does this mean that a GeoPackage that has a Genarated Column could not be read at all with any older SQLite library version than 3.31.0 (2020-01-22)? I just checked my computer and among the 30 sqlite3.dll files that I found for example the one used by ArcGIS Pro is older. |
yes, confirmed by my testing.
|
Also worth noting Android 12 API 31 (October 4, 2021) is the first version with SQLite >= 3.31.0. Any GeoPackage with generated columns would most likely be incompatible with devices running pre API 31. |
@m-kuhn Can you check this, would this affect QField? |
For iOS using bundled SQLite, iOS Version 14.1 (October 20, 2020, support on iPhone 6S or later) uses SQLite 3.32.3. |
QField uses sqlite version 3.39.2 (self-compiled, shipped with the app) |
The GeoPackage Encoding Standard makes no statement regarding SQLite versions. From my perspective, the issue of generated columns is outside of GeoPackage scope and that anyone who uses newer SQLite capabilities runs the risk of interoperability issues, so this risk must fall on the implementer, not GeoPackage itself. We are open to other perspectives on this matter. |
Hi,
SQLite supports 'Generated Columns' since SQLite version 3.31.0 (2020-01-22).
As @rouault investigated:
it seems that there is a need to document this possibility properly in Standard.
The text was updated successfully, but these errors were encountered: