]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/features/db/query/japanese.feature
release 5.1.0.post6
[nominatim.git] / test / bdd / features / db / query / japanese.feature
1 Feature: Searches in Japan
2     Test specifically for searches of Japanese addresses and in Japanese language.
3     Scenario: A block house-number is parented to the neighbourhood
4         Given the grid with origin JP
5           | 1 |   |   |   | 2 |
6           |   | 3 |   |   |   |
7           |   |   | 9 |   |   |
8           |   |   |   | 6 |   |
9         And the places
10           | osm | class   | type        | name       | geometry |
11           | W1  | highway | residential | 雉子橋通り | 1,2      |
12         And the places
13           | osm | class   | type       | housenr | addr+block_number | addr+neighbourhood | geometry |
14           | N3  | amenity | restaurant | 2       | 6                 | 2丁目              | 3        |
15         And the places
16           | osm | class | type          | name  | geometry |
17           | N9  | place | neighbourhood | 2丁目 | 9        |
18         And the places
19           | osm | class | type    | name | geometry |
20           | N6  | place | quarter | 加瀬 | 6        |
21         When importing
22         Then placex contains
23           | object | parent_place_id |
24           | N3     | N9              |
25         When geocoding "2丁目 6-2"
26         Then all results contain
27           | object |
28           | N3  |