include route relation ref in existence check (#1139)
Fixes #1138 Unblocks #1131 Unblocks #1128 Below is an example of a way that is part of a route relation (in this case, RI-3), but does not have a ref set on the way itself:  This screenshot demonstrates that the `transportation_name` object now contains the ref from the route relation: 
This commit is contained in:
parent
1b0b1fd121
commit
c8377d38ac
@ -45,7 +45,7 @@ FROM (
|
||||
hl.z_order
|
||||
FROM osm_highway_linestring hl
|
||||
LEFT OUTER JOIN osm_route_member rm ON rm.member = hl.osm_id AND rm.concurrency_index=1
|
||||
WHERE (hl.name <> '' OR hl.ref <> '')
|
||||
WHERE (hl.name <> '' OR hl.ref <> '' OR rm.ref <> '')
|
||||
AND NULLIF(hl.highway, '') IS NOT NULL
|
||||
) AS t;
|
||||
CREATE INDEX IF NOT EXISTS osm_transportation_name_network_osm_id_idx ON osm_transportation_name_network (osm_id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user