Skip to content
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

Output GeoPackage rather than using Postgres #4

Open
russss opened this issue Feb 20, 2022 · 0 comments
Open

Output GeoPackage rather than using Postgres #4

russss opened this issue Feb 20, 2022 · 0 comments

Comments

@russss
Copy link
Member

russss commented Feb 20, 2022

This would make pre-generating the data a lot easier, as a simple file can be built by CI and then fetched by the server with no Postgres DB required. Tegola supports serving data from GeoPackages.

There are some wrinkles here - the one I spotted is that GPKG/SQLite doesn't support array types, which are output by GDAL now for DXF extended attributes.

Perhaps the best approach is to load the DXF data into memory in python using the GDAL python bindings, perform the processing there, and then write out a nice clean table into the GeoPackage without any of the DXF mess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant