developmentseed / timvt

PostGIS based Vector Tile server.
https://developmentseed.org/timvt/
MIT License
187 stars 27 forks source link

Need Documentation on how to read other schema #105

Open devdattaT opened 1 year ago

devdattaT commented 1 year ago

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.

vincentsarago commented 1 year ago

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

devdattaT commented 1 year ago

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 ?

vincentsarago commented 1 year ago

@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 the configuration.md we could have multiple sections:

Feel free to start the PR and we can iterate 🙏