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
Some locations, e.g. the island of Taveuni, span across the 180th meridian. This means that their longitude, going east, approaches 180° and then jumps to -180°.
When searching for Taveuni, the nominatim API returns two results. The first result has a bounding box from -180° to 180°, which would span all longitudes, and is thus wrong. The second result is more useful, and has a bounding box from -180.2925899 to -179.6525899, which we could easily handle.
However, the wrong result always shows first. This also happens for other queries, e.g. "Russia".
Some locations, e.g. the island of Taveuni, span across the 180th meridian. This means that their longitude, going east, approaches 180° and then jumps to -180°.
When searching for Taveuni, the nominatim API returns two results. The first result has a bounding box from -180° to 180°, which would span all longitudes, and is thus wrong. The second result is more useful, and has a bounding box from -180.2925899 to -179.6525899, which we could easily handle.
However, the wrong result always shows first. This also happens for other queries, e.g. "Russia".