mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
reorder parenting search for POI level
Push back the more expensive node-on-way parenting which is rather rare anyways. Prefer assodicatedStreet relations and addr:* tags instead.
This commit is contained in:
@@ -389,7 +389,7 @@ Feature: Parenting of objects
|
||||
| N3 | W2 | None | nowhere | None
|
||||
|
||||
### Scenario 20
|
||||
Scenario: POIs parent a road if and only if they are attached to it
|
||||
Scenario: POIs parent a road if they are attached to it
|
||||
Given the scene points-on-roads
|
||||
And the named place nodes
|
||||
| osm_id | class | type | street | geometry
|
||||
@@ -408,8 +408,8 @@ Feature: Parenting of objects
|
||||
When importing
|
||||
Then table placex contains
|
||||
| object | parent_place_id
|
||||
| N1 | W2
|
||||
| N2 | W1
|
||||
| N1 | W1
|
||||
| N2 | W2
|
||||
| N3 | W1
|
||||
| N4 | W2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user