+ | geojson | geojson |
+
+ Scenario Outline: Search result in geojson format contains no non-geojson geometry
+ When sending geojson search query "triesenberg"
+ | polygon_text | polygon_svg | polygon_geokml |
+ | 1 | 1 | 1 |
+ Then result 0 has not attributes <response_attribute>
+
+ Examples:
+ | response_attribute |
+ | geotext |
+ | polygonpoints |
+ | svg |
+ | geokml |
+
+ Scenario: Search along a route
+ When sending json search query "rathaus" with address
+ Then result addresses contain
+ | ID | town |
+ | 0 | Schaan |
+ When sending json search query "rathaus" with address
+ | bounded | routewidth | route |
+ | 1 | 0.1 | 9.54353,47.11772,9.54314,47.11894 |
+ Then result addresses contain
+ | town |
+ | Triesenberg |
+
+
+ Scenario: Array parameters are ignored
+ When sending json search query "Vaduz" with address
+ | countrycodes[] | polygon_svg[] | limit[] | polygon_threshold[] |
+ | IT | 1 | 3 | 3.4 |
+ Then result addresses contain
+ | ID | country_code |
+ | 0 | li |