2 Feature: Searching of simple objects
5 Scenario: Search for place node
7 | osm | class | type | name+name | geometry |
8 | N1 | place | village | Foo | 10.0 -10.0 |
10 And sending search query "Foo"
12 | ID | osm | category | type | centroid |
13 | 0 | N1 | place | village | 10 -10 |
15 Scenario: Updating postcode in postcode boundaries without ref
17 | osm | class | type | postcode | geometry |
18 | R1 | boundary | postal_code | 12345 | poly-area:1.0 |
20 And sending search query "12345"
25 | osm | class | type | postcode | geometry |
26 | R1 | boundary | postal_code | 54321 | poly-area:1.0 |
27 And sending search query "12345"
28 Then result 0 has not attributes osm_type
29 When sending search query "54321"
35 Scenario: Correct translation of highways under construction
40 | osm | class | type | name | geometry |
41 | W1 | highway | construction | The build | 1,2 |
42 | N1 | amenity | cafe | Bean | 9 |
44 And sending json search query "Bean" with address
45 Then result addresses contain