-
Notifications
You must be signed in to change notification settings - Fork 112
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
Adding Geopackage support #410
Comments
Hi @caspervdw |
Hey |
Hi @adrien-berchet , at my company we'd like to know the options for implementing this new feature. Could we get in touch via mail? I couldn't find an email address, mine is casper.vanderwel@nelen-schuurmans.nl |
Hi @caspervdw |
Solved by #456 |
Hi @adrien-berchet , first of all, thanks for maintaining this very useful package. We use it intensively to manage our spatialite files.
Recently I investigated whether we could also interface geopackage files with sqlalchemy + geoalchemy. After some tinkering I found that by calling
SELECT EnableGpkgAmphibiousMode()
, you can actually use geoalchemy as-is to use the ORM to read/write in existing geopackage files. Apparently the spatialite driver has support for geopackage (see https://www.gaia-gis.it/gaia-sins/spatialite-sql-5.0.1.html#p16gpkg)See here for my implementation: https://github.com/nens/threedi-modelchecker/blob/1eca28ca8854d68df1f4fa136903ce15ea0d9701/threedi_modelchecker/threedi_database.py#L64
As geopackage is quite a common format nowadays, I think it might be interesting for geoalchemy to make this a fully supported option. Stuff that I can see that would need attention:
EnableGpkgAmphibiousMode()
Please let me know what you think about this. I also might be able to help out here in implementing or testing.
The text was updated successfully, but these errors were encountered: