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

Write a Borders API which makes use of topology #30

Open
joshbrooks opened this issue Mar 9, 2022 · 0 comments
Open

Write a Borders API which makes use of topology #30

joshbrooks opened this issue Mar 9, 2022 · 0 comments
Assignees

Comments

@joshbrooks
Copy link
Contributor

Description

Area boundaries, which we use in a few places in DIRD, are not well used at the moment. For instance there's a 500kb+ download on the Project List of all areas

image

which when zoomed in looks like this

image

On the 'national map' we hit that same endpoint iirc but with different areas

What went wrong?

We're abusing the data.geoson endpoint in order to fetch these area boundaries. Rather than doing so, we could fetch topoJSON which should be around 10% - 30% of the size depending on simplification.

Additional Data

This depends on the borders table generation in release 3.1.2

@joshbrooks joshbrooks self-assigned this Mar 9, 2022
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

No branches or pull requests

1 participant