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

Make the heatmap prettier. #162

Open
2 tasks
mbjackson-capp opened this issue May 21, 2024 · 0 comments
Open
2 tasks

Make the heatmap prettier. #162

mbjackson-capp opened this issue May 21, 2024 · 0 comments

Comments

@mbjackson-capp
Copy link
Contributor

mbjackson-capp commented May 21, 2024

  • Up the tolerance on heatmap_data_prep simplify_geojson to .00001. It'll look like this:
Screen Shot 2024-05-21 at 6 34 13 PM

Instead of this:

Screen Shot 2024-05-21 at 6 35 26 PM

Just generally smoother, and runtime will barely be affected.

This will change the three .geojson files in static.

Note also that when I tried to run heatmap_data_prep.py it told me (even in the right environment) that I was missing the python library pyogrio. We should install that in the official poetry for the project.

  • Dynamically adjust the outline width on each census tract so it's smaller with zoomout. Right now we don't do this and the gray dominates as you get further out:
Screen Shot 2024-05-21 at 6 37 48 PM

This should be doable in Leaflet (I have something very similar enabled to dynamically resize the route widths on zoom in the other map)

@mbjackson-capp mbjackson-capp changed the title Up the tolerance on heatmap_data_prep simplify_geojson to .00001 Make the heatmap prettier. May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant