1 Feature: Searching of simple objects
4 Scenario: Search for place node
6 | osm | class | type | name+name | geometry |
7 | N1 | place | village | Foo | 10.0 -10.0 |
10 Then result 0 contains
11 | object | category | type | centroid!wkt |
12 | N1 | place | village | 10 -10 |
15 Scenario: Correct translation of highways under construction
20 | osm | class | type | name | geometry |
21 | W1 | highway | construction | The build | 1,2 |
22 | N1 | amenity | cafe | Bean | 9 |
25 Then result 0 contains in field address
29 Scenario: when missing housenumbers in search don't return a POI
31 | osm | class | type | name |
32 | N3 | amenity | restaurant | Wood Street |
34 | osm | class | type | name | housenr |
35 | N20 | amenity | restaurant | Red Way | 34 |
37 And geocoding "Wood Street 45"
38 Then exactly 0 results are returned
39 When geocoding "Red Way 34"
40 Then all results contain
44 Scenario: when the housenumber is missing the street is still returned
48 | osm | class | type | name | geometry |
49 | W1 | highway | residential | Wood Street | 1, 2 |
51 And geocoding "Wood Street"
52 Then all results contain
56 Scenario Outline: Special cased american states will be found
62 | osm | class | type | admin | name | name+ref | geometry |
63 | R1 | boundary | administrative | 4 | <state> | <ref> | (1,2,3,4,1) |
65 | osm | class | type | name | geometry |
66 | N2 | place | town | <city> | 10 |
67 | N3 | place | city | <city> | country:ca |
69 And geocoding "<city>, <state>"
70 Then all results contain
73 When geocoding "<city>, <ref>"
76 Then all results contain
81 | city | state | ref |
82 | Chicago | Illinois | IL |
83 | Auburn | Alabama | AL |
84 | New Orleans | Louisiana | LA |