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
The geohash::neighbor function does not adjust when a coordinate reaches the latitude/longitude boundaries, so calculating neighbors throws errors for some hashes.
(-179.296875, -17.578125)
thread 'main' panicked at src\main.rs:7:70:
called `Result::unwrap()` on an `Err` value: InvalidCoordinateRange(Coord { x: -180.703125, y: -17.578125 })
Latitudes y range from [-90.0, 90.0] and longitudes x range from [-180.0, 180.0] where any value exceeding the upper bound should be added to the lower bound and vice versa.
The
geohash::neighbor
function does not adjust when a coordinate reaches the latitude/longitude boundaries, so calculating neighbors throws errors for some hashes.Latitudes
y
range from[-90.0, 90.0]
and longitudesx
range from[-180.0, 180.0]
where any value exceeding the upper bound should be added to the lower bound and vice versa.The text was updated successfully, but these errors were encountered: