The project was inspired by the work done by Leonardo Nicoletti on his City-Access-Map project.
We some of his data processing steps for our PostGIS Day presentation our processing geospatial data with PostGIS and dbt.
You must have the following software installed on the linux host machine:
- dbt
- ogr2ogr
- psql
- docker
- docker-compose
- yogrt
- Add your
yogrt/secrets.yaml
(useyogrt init --target .
to create a template) - Run
yogrt run --profile yogrt/profile.yaml --secrets yogrt/secrets.yaml --sources yogrt/sources.yaml
to import the datasources - Create your
.env
file (use.env.example
as a template) - Run
cd docker; docker-compose up
to start the database and pg_tileserv - Run dbt
./data/run_dbt.sh
to run the dbt project
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Run our test suit Dbt tests
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request