Investigate switching to flopp/py-staticmaps #49

Closed
opened 2024-08-25 11:01:56 -07:00 by buckbanzai · 0 comments
Owner

The map extent/bounds behavior with komoot/staticmap leaves something to be desired since it always uses the map tile boundaries, which can lead to some oversized maps:
komoot-staticmap.png

I investigated to see if flopp/py-staticmaps would resolve that issue/work around it, but it appears to have the same behavior:
flopp-py-staticmaps.png

There's no reason to migrate, but if komoot/staticmap ever breaks in the future, this looks like it could be dropped in pretty easily as an alternative

The map extent/bounds behavior with [komoot/staticmap](https://github.com/komoot/staticmap) leaves something to be desired since it always uses the map tile boundaries, which can lead to some oversized maps: ![komoot-staticmap.png](/attachments/dc2b3566-50d4-459c-baba-434a9d79de6f) [I investigated](https://scm.gruezi.net/buckbanzai/seattlecitylight-mastodon-bot/src/branch/switch-map-generator) to see if [flopp/py-staticmaps](https://github.com/flopp/py-staticmaps) would resolve that issue/work around it, but it appears to have the same behavior: ![flopp-py-staticmaps.png](/attachments/66162814-ca8c-411f-80f3-bce3999e6c9c) There's no reason to migrate, but if komoot/staticmap ever breaks in the future, this looks like it could be dropped in pretty easily as an alternative
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: buckbanzai/seattlecitylight-mastodon-bot#49
No description provided.