Then result 0 has attributes place_id,osm_type,osm_id
And result 0 has attributes place_rank,boundingbox
And result 0 has attributes lat,lon,display_name
- And result 0 has attributes class,type,importance,icon
+ And result 0 has attributes class,type,importance
And result 0 has not attributes address
And result 0 has bounding box in 46.5,47.5,9,10
Scenario: Simple JSON search
When sending json search query "Vaduz"
- Then result 0 has attributes place_id,licence,icon,class,type
+ Then result 0 has attributes place_id,licence,class,type
And result 0 has attributes osm_type,osm_id,boundingbox
And result 0 has attributes lat,lon,display_name,importance
And result 0 has not attributes address
| ID | class | type |
| 0 | leisure | dog_park |
And result addresses contain
- | ID | address29 |
+ | ID | leisure |
| 0 | Hundeauslauf |
- And address of result 0 has no types leisure,dog_park
Scenario: Disabling deduplication
When sending json search query "Sievekingsallee, Hamburg"
| json | geotext |
| jsonv2 | geotext |
- Scenario Outline: Search result contains polygon-as-points geometry
- When sending <format> search query "Highmore"
- | polygon |
- | 1 |
- Then result has attributes <response_attribute>
-
- Examples:
- | format | response_attribute |
- | xml | polygonpoints |
- | json | polygonpoints |
- | jsonv2 | polygonpoints |
-
Scenario Outline: Search result contains SVG geometry
When sending <format> search query "Highmore"
| polygon_svg |
Scenario Outline: Search result in geojson format contains no non-geojson geometry
When sending geojson search query "Highmore"
- | polygon_text | polygon | polygon_svg | polygon_geokml |
- | 1 | 1 | 1 | 1 |
+ | polygon_text | polygon_svg | polygon_geokml |
+ | 1 | 1 | 1 |
Then result 0 has not attributes <response_attribute>
Examples: