3 Feature: Places by osm_type and osm_id Tests
4 Simple tests for response format.
6 Scenario Outline: address lookup for existing node, way, relation
7 When sending <format> lookup query for N5484325405,W43327921,,R123924,X99,N0
8 Then the result is valid <outformat>
9 And exactly 3 results are returned
12 | format | outformat |
17 | geocodejson | geocodejson |
19 Scenario: address lookup for non-existing or invalid node, way, relation
20 When sending xml lookup query for X99,,N0,nN158845944,ABC,,W9
21 Then exactly 0 results are returned
23 Scenario Outline: Boundingbox is returned
24 When sending <format> lookup query for N5484325405,W43327921
25 Then exactly 2 results are returned
26 And result 0 has bounding box in 47.135,47.14,9.52,9.525
27 And result 1 has bounding box in 47.07,47.08,9.50,9.52
37 Scenario: Lookup of a linked place
38 When sending geocodejson lookup query for N1932181216
39 Then exactly 1 result is returned