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

Create the Planwise Tools Docker Image #710

Merged
merged 12 commits into from
Jun 8, 2022
Merged

Conversation

ggiraldez
Copy link
Member

Closes #669

Creates a new Docker image with the build which includes tools necessary for adding support for a new country to a Planwise installation. In development, this can be used by running the tools container of the compose. In production, a new container needs to be added to the installation with a similar environment as the application container (PostgreSQL connection and DATA_PATH environment variables are required).

  • Build the new tools image and deploy to the container registry
  • Add a container to the development compose file
  • Add all scripts and tools necessary for adding support for a new country: importing the country boundaries, loading them into the database, clipping the friction layer for the new region, updating the regions reduced GeoJSON previews and managing the raster source sets
  • Remove deprecated scripts and documentation
  • Deprecate the old method for computing the region previews, using PostGIS functions; the new method using mapshaper is more robust and produces quality output
  • Include other basic tools in the image, most notably GDAL and the PostgreSQL client

@ggiraldez ggiraldez merged commit 9cc9bd7 into master Jun 8, 2022
@ggiraldez ggiraldez deleted the feature/669-tools-image branch June 8, 2022 18:58
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

Successfully merging this pull request may close these issues.

Simplify the process for uploading country data
1 participant