Opened 6 years ago

Closed 6 years ago

#4857 closed defect (fixed)

Can't get Jalacte to belong to the right country

Reported by: kaldari Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

A month ago (April 10), I noticed that the Belize/Guatemala? border was very wrong. Several towns that were unquestionably part of Belize were shown to be on the wrong side of the border and in Guatemala instead. I fixed the border to be accurate (using the actual physical features that define the border), and double-checked it against maps.google.com, www.bing.com/maps/, and a CIA map. This put the towns back in the right countries (at least in edit view). A month later, the border in the non-editing interface is still wrong in all but 3 of the 19 zoom levels. In addition, if you search for a town like Jalacte, it still reports that the town belongs to Guatemala. Can this problem be fixed?

P.S. - I have no idea what component this should belong to.

Change History (5)

comment:1 Changed 6 years ago by Tom Hughes

Component: websitemapnik
Owner: changed from rails-dev@… to mapnik-team@…

comment:2 Changed 6 years ago by Ldp

I have asked for fresh renders in some zoom levels (8-19) around Jalacte. This seems to have moved the rendered border westward a bit, putting Jalacte visibly in Belize again.

The tiles showing an old, more easterly, placement of the border were from around Feb 7, although some were as recent as early April. So it seems that it was moved in the data not that long ago.

This can also explain why Nominatim hasn't picked this up yet, and still puts Jalacte squarely in Guatemala.

comment:3 Changed 6 years ago by Ldp

Component: mapniknominatim
Owner: changed from mapnik-team@… to geocoding@…

comment:4 Changed 6 years ago by Sarah Hoffmann

Looks like Nominatim isn't really able to pick up changes to country borders because of the search order in get_country_code(). It looks up the fallback geometries first which naturally do not change. Once it has picked up the wrong country from there, it will use the wrong partition and won't have any chance to calculate a decent address.

comment:5 Changed 6 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Fixed in 63a660ccdc.

Note: See TracTickets for help on using tickets.