# highway=path, with route inter-national
# GR5-Grand Traverse de Jura between France and Switzerland
# https://www.openstreetmap.org/way/285975282
# https://www.openstreetmap.org/relation/6009161
assert_has_feature(
    9, 265, 179, 'roads',
    { 'kind': 'path', 'walking_network': 'iwn' } )

# highway=path, with route national (Pacific Crest Trail) at zoom 9
# https://www.openstreetmap.org/way/236361475
# https://www.openstreetmap.org/relation/1225378
assert_has_feature(
    9, 86, 197, 'roads',
    { 'kind': 'path', 'walking_network': 'nwn' } )

# highway=path, with route regional (Merced Pass Trail) at zoom 11
# https://www.openstreetmap.org/way/373491941
# https://www.openstreetmap.org/relation/5549623
assert_has_feature(
   11, 343, 792, 'roads',
   { 'kind': 'path', 'walking_network': 'rwn'  } )

# highway=unclassified, with route local (Grant Avenue) at zoom 12
# part of The Barbary Coast Trail in San Francisco
# https://www.openstreetmap.org/way/91181758
# https://www.openstreetmap.org/relation/6322028
assert_has_feature(
   12, 655, 1582, 'roads',
   { 'kind': 'minor_road', 'walking_network': 'lwn' } )

# Way: Dreiländerweg part of ICN [EV3] Pilgrim's Route DE_9_03 (Nideggen - Aachen)
# https://www.openstreetmap.org/way/223428887
# https://www.openstreetmap.org/relation/6965102
# https://www.openstreetmap.org/relation/21394
# https://www.openstreetmap.org/relation/55614
# https://www.openstreetmap.org/relation/1424819
# https://www.openstreetmap.org/relation/1735810
# assert_has_feature(
#     8, 134, 85, 'roads',
#     { 'kind': 'path', 'is_bicycle_related': True, 'bicycle_network': 'icn' })

# Ferry between Denmark and Germany, icn
# https://www.openstreetmap.org/way/128631318
# https://www.openstreetmap.org/relation/721738
assert_has_feature(
    8, 136, 81, 'roads',
    { 'kind': 'ferry', 'is_bicycle_related': True, 'bicycle_network': 'icn' })

# Søndervangsvej minor road in Denmark as national cycle route
# https://www.openstreetmap.org/way/149701891
# https://www.openstreetmap.org/relation/349521
assert_has_feature(
    8, 136, 79, 'roads',
    { 'kind': 'minor_road', 'is_bicycle_related': True, 'bicycle_network': 'ncn' })

# Part of Bay Trail in South (San Francisco) Bay
# way is marked rcn=yes, and part of a proper bike relation
# http://www.openstreetmap.org/way/44422697
# http://www.openstreetmap.org/relation/325779
assert_has_feature(
    10, 164, 396, 'roads',
    { 'kind': 'path', 'is_bicycle_related': True, 'bicycle_network': 'rcn' })

# Hyltebjerg Allé residential road with rcn in Copenhagen
# https://www.openstreetmap.org/way/2860759
# https://www.openstreetmap.org/relation/2087590
assert_has_feature(
    10, 547, 320, 'roads',
    { 'kind': 'minor_road', 'is_bicycle_related': True, 'bicycle_network': 'rcn' })

# lcn in Seattle (living street that would only be visible at zoom 13 otherwise) at zoom 11
# https://www.openstreetmap.org/way/6477775
# https://www.openstreetmap.org/relation/3541926
assert_has_feature(
    11, 327, 715, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

# Kirkham Street lcn in San Francisco at zoom 11
# https://www.openstreetmap.org/way/89802424
# https://www.openstreetmap.org/relation/32313
assert_has_feature(
    11, 327, 791, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

# Asiatisk Plads service road with lcn in Copenhagen
# https://www.openstreetmap.org/way/164049387
# https://www.openstreetmap.org/relation/6199242
assert_has_feature(
    11, 1095, 641, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

@@ -1135,129 +1135,91 @@
 ay: 
-Dreil%C3%A4nderweg part of ICN %5BEV3%5D Pilgrim's Route DE_9_03 (Nideggen - Aachen)%0A# https://www.openstreetmap.org/way/223428887
+North Sea Cycle Route - part Netherlands (1977662)%0A# A really long highway=cycleway
 %0A# h
@@ -1251,24 +1251,20 @@
 org/
-relation/6965102
+way/35568189
 %0A# h
@@ -1305,13 +1305,15 @@
 ion/
-21394
+1977662
 %0A# h
@@ -1354,13 +1354,15 @@
 ion/
-55614
+1975739
 %0A# h
@@ -1403,15 +1403,12 @@
 ion/
-1424819
+5294
 %0A# h
@@ -1449,18 +1449,15 @@
 ion/
-1735810%0A# 
+537418%0A
 asse
@@ -1472,18 +1472,16 @@
 eature(%0A
-# 
     8, 1
@@ -1485,13 +1485,13 @@
 , 13
-4, 85
+1, 83
 , 'r
@@ -1497,18 +1497,16 @@
 roads',%0A
-# 
     %7B 'k

switch around zoom 8 international cycleway test