-
Notifications
You must be signed in to change notification settings - Fork 1
serve-maps-as-tiles #38
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…L, using named volumes
…into adding-api-examples-and-validation
…into adding-api-examples-and-validation
/validate does the same underlying database lookup at their end as the normal API so we don't need the additional call
…dation Remove redundant postcode validation
Update live_rcpch-census-engine.yml
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
`actions/{upload|download}-artifact` has bumped to `v4`
but `azure/webapps-deploy` needs to stay `v2`
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
…erge. updates the pages action to load the docs. move the docs to the site folder and wire them up.
|
Overdue on LIVE (merged by @eatyourpeas 10 minutes and 3 seconds ago) What's gone wrong? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR moves the census-platform from just calculating IMD and serving lists of LSOAs/LADs etc, to serving geometry files.
ONS supports high res and low res boundary geometry (shape files) of LSOAs, SOAs, Data Zones, either clipped to low tide, or including the peripheral islands. The high definition files are over 1GB so cannot be stored on github, and would take ages to load and serve.
The secret after much research is to serve the data from CrunchyData's
pg_tileservwhich is hosted as a separate container. This generates tiles which serve quickly and work together with a CDN which caches the tiles so they can be served first with minimal latency. And of course this uses geography so we will need to upgrade to postgis.This PR therefore:
seedfunction to pull in all the full detail (BFC) geometry data from arcgis in chunks, then optimize it for serving and link it to the IMD models (Ireland is not available on arcgis so we have towgetthe geojson and simplify the oas into SOAs)pg_tileservGIthub Pages

I am sorry about the size of the PR. I initially committed a number of large files which i failed to remove from the previous commits and in error wound the whole branch back to the initial commit.