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
I recall we spent an absurd amount of effort making that wrapping work. It's fancy, but really coordinates outside a valid range almost certainly represent a coding mistake or bad data and should probably be handled as such by whoever is calling Pelias.
There's unfortunately a common case where users zoom out and pan a leaflet map, in that case each 'clone Earth' to the left and right is outside the standard longitude range.
Latitudes > +90 and < -90 are almost always an error
I was geocoding a spreadsheet today with lat/lon columns the wrong way around.
Pelias assumes the parameters are correct and so 'wraps' the coordinates around the earth until they come in the expected range [-90, +90] [-180 +180]
We should really emit a warning when wrapping occurs to make it clearer that we haven't used the input coordinates verbatim.
This will make it easier for users to detect errors where the axis have been confused.
The text was updated successfully, but these errors were encountered: