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

set_lake_z overhaul #7

Open
kbevers opened this issue Nov 30, 2017 · 0 comments
Open

set_lake_z overhaul #7

kbevers opened this issue Nov 30, 2017 · 0 comments

Comments

@kbevers
Copy link
Contributor

kbevers commented Nov 30, 2017

Handle db-stuff with GDAL in set_lake_z needs (instead of psyopg2)

set_lake_z uses psyopg2 as a database handler. This is nice when you have access to a postgres database, but otherwise sucks. With GDAL as a the database front you are also able to use other datasources, such as shape-files or spatialite-databases.

Database setup

The current interface for setting up the ekstra columns in the lake table is very clumsy. Use "db" as las-input, then use "-db_action setup". After that a new similar call has to be made, this time with "-db_action reset" to initialize the new columns with data.

Documentation

The help text for set_lake_z specifically says that you can use the path to a shape-file as the db_connection. This is not possible with the way the script is set up at the moment.

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