Skip to content

Commit e324c7d

Browse files
authored
Merge pull request #1225 from tilezen/nvkelso/1224-track-motor_vehicle-property
Include motor_vehicle, horse properties earlier
2 parents bc8c87e + 60537fd commit e324c7d

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

integration-test/1175-bicycle-route-refs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
assert_has_feature(
66
16, 10481, 25336, 'roads',
77
{ 'id': 417389551,
8-
'bicycle_network': 'lcn',
8+
'bicycle_network': None,
99
'bicycle_shield_text': '45',
10-
'all_bicycle_networks': ['lcn'],
10+
'all_bicycle_networks': None,
1111
'all_bicycle_shield_texts': ['45'] })
1212

1313
# make sure the all_* lists are gone by zoom 12 on major roads, but the "most
1414
# important", singular network & shield text remain at earlier zooms
1515
assert_has_feature(
1616
10, 163, 395, 'roads',
17-
{ 'bicycle_network': 'lcn',
17+
{ 'bicycle_network': None,
1818
'bicycle_shield_text': '45' })
1919

2020
assert_no_matching_feature(
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Bobcat Trail
2+
# https://www.openstreetmap.org/way/12188550
3+
assert_has_feature(
4+
13, 1308, 3164, 'roads',
5+
{'motor_vehicle': 'no'})

queries.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,11 +502,13 @@ post_process:
502502
params:
503503
source_layer: roads
504504
start_zoom: 0
505-
end_zoom: 12
505+
end_zoom: 11
506506
properties:
507507
- bicycle
508508
- colour
509509
- foot
510+
- horse
511+
- motor_vehicle
510512
- operator
511513
- route # NVK (2017425): this is a suspicious tag
512514
- route_name # NVK (2017425): this is a suspicious tag
@@ -541,9 +543,7 @@ post_process:
541543
- descent
542544
- description
543545
- distance
544-
- horse
545546
- incline
546-
- motor_vehicle
547547
- oneway
548548
- oneway_bicycle
549549
- ramp

0 commit comments

Comments
 (0)