You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
For some values of latitude (and presumably, longitude), the returned id fields do not follow the rounding rules, leading to extra requests if the ID is saved for future use.
Expected behavior
I would expect the id returned to follow rounding rules, so requesting it in the future does not return a redirect.
Environment
shown in curl, also experienced in browser and PHP
Additional context
I would prioritize this pretty low, I don't know that this id is even useful to anyone, but it's there and I noticed it looked weird.
This discussion was converted from issue #18 on April 10, 2021 00:57.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the bug
For some values of latitude (and presumably, longitude), the returned id fields do not follow the rounding rules, leading to extra requests if the ID is saved for future use.
To Reproduce
I noticed this when fetching https://api.weather.gov/points/47.6553,-122.5354; see for example,
Expected behavior
I would expect the id returned to follow rounding rules, so requesting it in the future does not return a redirect.
Environment
shown in curl, also experienced in browser and PHP
Additional context
I would prioritize this pretty low, I don't know that this id is even useful to anyone, but it's there and I noticed it looked weird.
Beta Was this translation helpful? Give feedback.
All reactions