X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/81a7ea36db7d3b055acf25a36d2ea2c27af74765..1c7da4318298a790e63c5648de57b3b804426731:/test/bdd/api/reverse/params.feature?ds=sidebyside diff --git a/test/bdd/api/reverse/params.feature b/test/bdd/api/reverse/params.feature index 1de31c9d..2a5821e4 100644 --- a/test/bdd/api/reverse/params.feature +++ b/test/bdd/api/reverse/params.feature @@ -13,6 +13,7 @@ Feature: Parameters for Reverse API | format | | json | | jsonv2 | + | geojson | | xml | Scenario Outline: Coordinates must be floating-point numbers @@ -35,6 +36,7 @@ Feature: Parameters for Reverse API | xml | | json | | jsonv2 | + | geojson | Scenario Outline: Reverse Geocoding with namedetails When sending reverse coordinates 10.776455623137625,106.70175343751907 @@ -47,6 +49,7 @@ Feature: Parameters for Reverse API | xml | | json | | jsonv2 | + | geojson | Scenario Outline: Reverse Geocoding contains TEXT geometry When sending reverse coordinates 47.165989816710066,9.515774846076965 @@ -60,18 +63,6 @@ Feature: Parameters for Reverse API | json | geotext | | jsonv2 | geotext | - Scenario Outline: Reverse Geocoding contains polygon-as-points geometry - When sending reverse coordinates 47.165989816710066,9.515774846076965 - | polygon | - | 1 | - Then result 0 has not attributes - - Examples: - | format | response_attribute | - | xml | polygonpoints | - | json | polygonpoints | - | jsonv2 | polygonpoints | - Scenario Outline: Reverse Geocoding contains SVG geometry When sending reverse coordinates 47.165989816710066,9.515774846076965 | polygon_svg | @@ -107,5 +98,17 @@ Feature: Parameters for Reverse API | xml | geojson | | json | geojson | | jsonv2 | geojson | + | geojson | geojson | + Scenario Outline: Reverse Geocoding in geojson format contains no non-geojson geometry + When sending geojson reverse coordinates 47.165989816710066,9.515774846076965 + | polygon_text | polygon_svg | polygon_geokml | + | 1 | 1 | 1 | + Then result 0 has not attributes + Examples: + | response_attribute | + | geotext | + | polygonpoints | + | svg | + | geokml |