Maps should sample a wider area than 11×11 pixels #26
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: paul/sinoptik#26
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Currently, if the GPS position is in the center of a value drawn on the map, the sampling algorithm only sees black/white values and cannot figure out the actual value. Just sample a wider area to solve this issue (it is cached anyway).
Example query where it fails: https://sinoptik.luon.net/forecast?lat=52&lon=4.5&metric=pollen
See also the corresponding map: https://sinoptik.luon.net/map?lat=52&lon=4.5&metric=pollen
Reported by @stefan.
Here is a simple patch which sets sampling area to 31x31.