[Geocoding] [OpenStreetMap] #5111: 'France' relationship probably broken
OpenStreetMap
trac at noreply.openstreetmap.org
Wed Mar 12 07:59:11 UTC 2014
#5111: 'France' relationship probably broken
------------------------+-------------------------
Reporter: zeenix@… | Owner: geocoding@…
Type: defect | Status: closed
Priority: major | Milestone:
Component: nominatim | Version:
Resolution: wontfix | Keywords:
------------------------+-------------------------
Comment (by lonvia):
The localization test does not sound like it makes sense because
localization happens on the server side. So, correct localization of the
address parts should be tested by Nominatim internally not by your
library. You can only test that you send the right parameters to trigger
localization. Do that on a simple query like 'France' or 'Paris' and check
that you get a different display_name back.
For the tests for user-friendly names, it makes more sense to rely on
mock-up answers than fixing your tests every time the Nominatim database
changes.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/5111#comment:9>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Geocoding
mailing list