X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9848381a04dec3186f8bb20ed1d41f687fe2029e..ae2ad38040f8515caa79bf274ddc345c6efeb6ef:/test/bdd/api/reverse/simple.feature?ds=sidebyside diff --git a/test/bdd/api/reverse/simple.feature b/test/bdd/api/reverse/simple.feature index 3f4bd6eb..ccd0becd 100644 --- a/test/bdd/api/reverse/simple.feature +++ b/test/bdd/api/reverse/simple.feature @@ -11,6 +11,8 @@ Feature: Simple Reverse Tests Then the result is valid json When sending jsonv2 reverse coordinates , Then the result is valid json + When sending geojson reverse coordinates , + Then the result is valid geojson When sending html reverse coordinates , Then the result is valid html @@ -42,6 +44,14 @@ Feature: Simple Reverse Tests | param | value | | | | Then the result is valid json + When sending geojson reverse coordinates 53.603,10.041 + | param | value | + | | | + Then the result is valid geojson + When sending geocodejson reverse coordinates 53.603,10.041 + | param | value | + | | | + Then the result is valid geocodejson Examples: | parameter | value | @@ -60,23 +70,25 @@ Feature: Simple Reverse Tests When sending reverse coordinates 67.3245,0.456 | json_callback | | foo | - Then the result is valid json + Then the result is valid Examples: - | format | - | json | - | jsonv2 | + | format | outformat | + | json | json | + | jsonv2 | json | + | geojson | geojson | Scenario Outline: Boundingbox is returned When sending reverse coordinates 14.62,108.1 | zoom | - | 4 | + | 8 | Then result has bounding box in 9,20,102,113 Examples: | format | | json | | jsonv2 | + | geojson | | xml | Scenario Outline: Reverse-geocoding with zoom @@ -89,6 +101,7 @@ Feature: Simple Reverse Tests | format | | json | | jsonv2 | + | geojson | | html | | xml |