mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
lookup endpoint returns boundingbox
This commit is contained in:
@@ -18,3 +18,16 @@ Feature: Places by osm_type and osm_id Tests
|
||||
Scenario: address lookup for non-existing or invalid node, way, relation
|
||||
When sending xml lookup query for X99,,N0,nN158845944,ABC,,W9
|
||||
Then exactly 0 results are returned
|
||||
|
||||
Scenario Outline: Boundingbox is returned
|
||||
When sending <format> lookup query for N3284625766,W6065798
|
||||
Then exactly 2 results are returned
|
||||
And result 0 has bounding box in -32.812,-32.811,-56.509,-56.508
|
||||
And result 1 has bounding box in 47.14,47.15,9.51,9.53
|
||||
|
||||
Examples:
|
||||
| format |
|
||||
| json |
|
||||
| jsonv2 |
|
||||
| geojson |
|
||||
| xml |
|
||||
|
||||
Reference in New Issue
Block a user