]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/reverse/geocodejson.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / api / reverse / geocodejson.feature
index b32bf1ca453482f859eac8bb5f65501717f1bed8..3d6a9b1035d826de83ad160e3c79d8d5acde31a3 100644 (file)
@@ -3,25 +3,27 @@ Feature: Parameters for Reverse API
     Testing correctness of geocodejson output.
 
     Scenario: City housenumber-level address with street
-        When sending geocodejson reverse coordinates 53.556,9.9607
+        When sending geocodejson reverse coordinates 47.1068011,9.52810091
         Then results contain
-          | housenumber | street           | postcode | city    | country |
-          | 10          | Brunnenhofstraße | 22767    | Hamburg | Deutschland | 
+          | housenumber | street    | postcode | city    | country |
+          | 8           | Im Winkel | 9495     | Triesen | Liechtenstein |
 
     Scenario: Town street-level address with street
         When sending geocodejson reverse coordinates 47.066,9.504
+          | zoom |
+          | 16 |
         Then results contain
-          | street  | city    | postcode | country |
+          | name    | city    | postcode | country |
           | Gnetsch | Balzers | 9496     | Liechtenstein |
 
-    Scenario: Town street-level address with footway
+    Scenario: Poi street-level address with footway
         When sending geocodejson reverse coordinates 47.0653,9.5007
         Then results contain
           | street  | city    | postcode | country |
           | Burgweg | Balzers | 9496     | Liechtenstein |
 
     Scenario: City address with suburb
-        When sending geocodejson reverse coordinates 53.5822,10.0805
+        When sending geocodejson reverse coordinates 47.146861,9.511771
         Then results contain
-          | housenumber | street                | district | city    | postcode | country |
-          | 64          | Hinschenfelder Straße | Wandsbek | Hamburg | 22047    | Deutschland |
+          | housenumber | street   | district | city  | postcode | country |
+          | 5           | Lochgass | Ebenholz | Vaduz | 9490     | Liechtenstein |