Improve map image generation #50
buckbanzai
commented 2024-08-25 12:04:24 -07:00
Owner
- Switched to using WebP for the image, which results in a smaller filesize, but without losing too much quality at the new rendering resolution
- Switched to @2x tiles (512x512px), over the standard resolution ones
- Rendering a 1024x1024 image for the map now
- Removed the outage center marker, as this was mostly just for debugging/investigating how staticmap was generating the centerpoint coordinates, and then when we made the move to shapely
- Included the Public Sans font for rendering the attribution text without the janky kerning we were seeing before, we could also just pre-render this component in the future if we wanted to
- Switched to using WebP for the image, which results in a smaller filesize, but without losing too much quality at the new rendering resolution
- Switched to @2x tiles (512x512px), over the standard resolution ones
- Rendering a 1024x1024 image for the map now
- Removed the outage center marker, as this was mostly just for debugging/investigating how staticmap was generating the centerpoint coordinates, and then when we made the move to shapely
- Included the [Public Sans](https://github.com/uswds/public-sans) font for rendering the attribution text without the janky kerning we were seeing before, we could also just pre-render this component in the future if we wanted to
buckbanzai
added 2 commits 2024-08-25 12:04:25 -07:00
Add Public Sans font for attribution
453cc9105e
Map image improvements
004373034a
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
Details
ci/woodpecker/pr/vulnerability-scan Pipeline was successful
Details
ci/woodpecker/pull_request_closed/lint Pipeline was successful
Details
ci/woodpecker/pull_request_closed/vulnerability-scan Pipeline was successful
Details
buckbanzai
scheduled this pull request to auto merge when all checks succeed 2024-08-25 12:04:50 -07:00
buckbanzai
merged commit afd40616ea into main 2024-08-25 12:04:52 -07:00
buckbanzai
referenced this pull request from a commit 2024-08-25 12:04:53 -07:00
Merge pull request 'Improve map image generation' (#50) from image-improvements into main
buckbanzai
deleted branch image-improvements 2024-08-25 12:05:01 -07:00
Loading…
Reference in a new issue
No description provided.
Delete branch "image-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?