timvt
timvt copied to clipboard
Need Documentation on how to read other schema
I tend to have my geospatial data in tables which are not in public schemas. Looking at the code, it appears that there should be a way of proving schema names to search in, but there is no Documentation on how to do this.
It would be helpful to new users, if this information is recorded in the Readme or Docs.
exactly you can set DB_SCHEMA='["public","geotables"]' environment to select the schemas you want to use
https://github.com/developmentseed/timvt/blob/master/timvt/settings.py#L126
Should I create a PR adding this information to the Readme? I can do it in the next few days.
Is there any specific place in Readme, you would like me to add this information ?
@devdattaT that would be great, I think we can create a configuration page in the documentation (which can then be linked in the readme`
- in
/docs/srcadd aconfiguration.md - in https://github.com/developmentseed/timvt/blob/master/docs/mkdocs.yml#L20-L21 add
Configuration: configuration.md
in the configuration.md we could have multiple sections:
- API settings https://github.com/developmentseed/timvt/blob/master/timvt/settings.py#L45-L63
- DB settings https://github.com/developmentseed/timvt/blob/master/timvt/settings.py#L102-L127
- Table settings https://github.com/developmentseed/timvt/blob/master/timvt/settings.py#L22-L42
Feel free to start the PR and we can iterate 🙏