use bbox of geometry when searching for attached streets

As we are doing a distance search, this improves results for
large places like airports.

Fixes #1442.
This commit is contained in:
Sarah Hoffmann
2019-07-28 13:28:27 +02:00
parent 4a2c9431ee
commit 2bbe5017d4
4 changed files with 44 additions and 6 deletions

View File

@@ -224,7 +224,7 @@ Feature: Parenting of objects
When importing
Then placex contains
| object | parent_place_id |
| W1 | W3 |
| W1 | W2 |
Scenario: Building with addr:street tags
Given the scene building-on-street-corner