Skip to content

Instantly share code, notes, and snippets.

@matkoniecz
Last active January 8, 2018 14:25
Show Gist options
  • Save matkoniecz/8fa156189a2579940396d82387a7a2af to your computer and use it in GitHub Desktop.
Save matkoniecz/8fa156189a2579940396d82387a7a2af to your computer and use it in GitHub Desktop.
cycleway tag analysis for China and USA for https://github.com/westnordost/StreetComplete/issues/749
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Vermont (US-VT)
{"no"=>33, "shared_lane"=>4, "lane"=>38, "track"=>19, "opposite_lane"=>1, "yes"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Massachusetts (US-MA)
{"no"=>322, "shared_lane"=>384, "lane"=>1124, "shared"=>10, "opposite_lane"=>11, "share_busway"=>48, "track"=>359, "proposed"=>1, "construction"=>11, "opposite"=>7, "crossing"=>1, "buffered_lane"=>8, "laneh"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in New York (US-NY)
{"no"=>552, "asl"=>11, "shared_lane"=>1196, "crossing"=>15, "track"=>517, "lane"=>2617, "designated"=>1, "shoulder"=>2, "shared"=>29, "opposite_lane"=>12, "opposite"=>5, "proposed"=>9, "shared_lane;lane"=>1, "yes"=>1, "lane;opposite_track"=>1, "opposite_track"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Maine (US-ME)
{"no"=>45, "lane"=>112, "track"=>26, "shared"=>1, "opposite_lane"=>1, "shared_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in New Hampshire (US-NH)
{"no"=>51, "lane"=>47, "opposite"=>2, "shoulder"=>5}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Texas (US-TX)
{"no"=>1494, "shared_lane"=>109, "track"=>146, "lane"=>3353, "opposite"=>13, "shoulder"=>117, "yes"=>13, "shared"=>31, "buffered_lane"=>193, "opposite_track"=>4, "crossing"=>5, "none"=>18, "opposite_lane"=>2, "lane + parking"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Illinois (US-IL)
{"no"=>441, "lane"=>1399, "asl"=>4, "buffered_lane"=>648, "shared_lane"=>897, "track"=>488, "yes"=>6, "crossing"=>12, "shared"=>44, "construction"=>2, "opposite_lane"=>5, "share_busway"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Missouri (US-MO)
{"no"=>795, "lane"=>491, "shared_lane"=>387, "track"=>25, "opposite"=>2, "shared"=>16, "designated"=>1, "yes"=>3, "crossing"=>8, "shoulder"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Kansas (US-KS)
{"no"=>332, "shared_lane"=>57, "yes"=>2, "lane"=>199, "opposite_lane"=>2, "crossing"=>5, "track"=>1, "shared"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Oklahoma (US-OK)
{"no"=>385, "lane"=>260, "shared_lane"=>678, "track"=>10, "shared"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Arkansas (US-AR)
{"shared_lane"=>197, "track"=>1, "no"=>20, "lane"=>150, "yes"=>4, "shoulder"=>3, "tr"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Nebraska (US-NE)
{"no"=>365, "asl"=>1, "lane"=>242, "shared_lane"=>167, "track"=>6, "crossing"=>22}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Iowa (US-IA)
{"no"=>160, "lane"=>126, "yes"=>8, "track"=>91, "shared"=>2, "crossing"=>4, "opposite_lane"=>1, "shared_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in South Dakota (US-SD)
{"lane"=>16, "track"=>24, "no"=>82, "shared"=>27}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in North Dakota (US-ND)
{"shared_lane"=>4, "lane"=>10, "no"=>9, "track"=>42, "crossing"=>6}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Kentucky (US-KY)
{"crossing"=>11, "asl"=>2, "shared_lane"=>214, "no"=>137, "lane"=>443, "shared"=>436, "track"=>39, "opposite_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Indiana (US-IN)
{"no"=>813, "lane"=>862, "shared_lane"=>637, "track"=>45, "shared"=>58, "proposed"=>11, "yes"=>1, "crossing"=>214, "opposite_lane"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Tennessee (US-TN)
{"no"=>236, "lane"=>334, "shared_lane"=>152, "shared"=>2, "proposed"=>1, "track"=>3}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Mississippi (US-MS)
{"no"=>366, "lane"=>120, "yes"=>1, "track"=>2, "shared_lane"=>8}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Alabama (US-AL)
{"no"=>867, "lane"=>84, "shared_lane"=>11, "track"=>11}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Georgia (US-GA)
{"no"=>316, "lane"=>944, "track"=>61, "opposite_lane"=>2, "shared_lane"=>105, "yes"=>2, "shoulder"=>81, "opposite_track"=>2, "shared"=>3, "none"=>7, "shoul"=>1, "unmarked_lane"=>63}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Colorado (US-CO)
{"lane"=>4186, "no"=>1069, "track"=>546, "shared_lane"=>543, "yes"=>248, "opposite_lane"=>5, "shared"=>12, "crossing"=>14, "opposite"=>3, "construction"=>2, "buffered_lane"=>11, "opposite_track"=>2, "none"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Wyoming (US-WY)
{"lane"=>39, "no"=>5, "track"=>1, "shared_lane"=>1, "opposite"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Utah (US-UT)
{"no"=>82, "yes"=>13, "lane"=>680, "track"=>40, "shared_lane"=>36, "shared"=>27, "buffered_track"=>3, "opposite_lane"=>1, "proposed"=>1, "share_busway"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in New Mexico (US-NM)
{"no"=>115, "shared_lane"=>45, "lane"=>1188, "survey"=>2, "shared"=>11, "shoulder"=>1, "yes"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Arizona (US-AZ)
{"no"=>310, "lane"=>25774, "shared"=>10, "shared_lane"=>38, "track"=>12, "opposite"=>26, "opposite_lane"=>1, "crossing"=>2, "yes"=>5, "5 ft"=>2, "right"=>3, "share_busway"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Florida (US-FL)
{"no"=>437, "shared_lane"=>175, "lane"=>12928, "track"=>183, "unmarked_lane"=>2047, "none"=>14, "shoulder"=>117, "opposite"=>2, "shared"=>7, "cycleway:right=lane"=>21, "opposite_lane"=>8, "yes"=>7, "crossing"=>6, "left"=>1, "right"=>5}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Ohio (US-OH)
{"no"=>1084, "shared_lane"=>444, "lane"=>757, "crossing"=>127, "shared"=>7, "track"=>149, "proposed"=>16, "yes"=>4, "construction"=>4, "opposite_track"=>7, "opposite_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in West Virginia (US-WV)
{"no"=>8, "lane"=>8, "track"=>2, "shared_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in District of Columbia (US-DC)
{"no"=>23, "lane"=>432, "shared_lane"=>39, "track"=>31, "opposite_lane"=>9, "segregated"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Pennsylvania (US-PA)
{"no"=>575, "track"=>140, "lane"=>2136, "shared_lane"=>484, "shared"=>104, "yes"=>6, "opposite_track"=>3, "opposite"=>1, "share_busway"=>5, "seperate"=>2, "crossing"=>39, "opposite_lane"=>5, "separate"=>1, "sidewalk"=>1, "lanes"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Delaware (US-DE)
{"no"=>14, "lane"=>267, "track"=>6, "yes"=>3}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Maryland (US-MD)
{"no"=>199, "lane"=>725, "shared_lane"=>299, "right"=>49, "yes"=>3, "shoulder"=>28, "opposite_lane"=>1, "track"=>6, "shared"=>1, "opposite"=>2, "share_busway"=>52, "lne"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Montana (US-MT)
{"no"=>147, "sidewalk"=>5, "lane"=>37, "shared_lane"=>7, "track"=>3}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Idaho (US-ID)
{"lane"=>416, "shared_lane"=>56, "no"=>36, "yes"=>8, "track"=>37, "shared_lane; shared_lane; lane"=>1, "lane; track"=>1, "lane; lane; lane; shared_lane; shared_lane"=>1, "lane; shared_lane"=>1, "crossing"=>3}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Wisconsin (US-WI)
{"no"=>194, "lane"=>1267, "shared_lane"=>167, "lane+parking"=>2, "track"=>56, "shared"=>23, "yes"=>3, "segregated"=>1, "crossing"=>2, "opposite_lane"=>12, "share_busway"=>7}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Minnesota (US-MN)
{"no"=>889, "shared_lane"=>128, "lane"=>1099, "track"=>118, "shared"=>16, "opposite_lane"=>8, "proposed"=>6, "yes"=>1, "opposite_track"=>2, "crossing"=>1, "opposite"=>2, "share_busway"=>11}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Nevada (US-NV)
{"no"=>1699, "lane"=>1566, "proposed"=>27, "shared_lane"=>9, "yes"=>6, "shared"=>1, "track"=>1, "share_busway"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in California (US-CA)
{"lane"=>46178, "no"=>2815, "shared_lane"=>3396, "protected_intersection"=>2, "crossing"=>57, "asl"=>7, "track"=>1271, "shared"=>612, "shoulder"=>90, "yes"=>32, "opposite_lane"=>35, "opposite"=>3, "sidepath"=>1, "right"=>17, "route"=>3, "designated"=>3, "track;lane"=>1, "segregated"=>18, "proposed"=>9, "opposite_track"=>4, "sidewalk"=>18, "lane;track"=>12, "on_roadway"=>4, "planned"=>1, "Anywhere Safe"=>1, "Anywhere"=>1, "share_busway"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Oregon (US-OR)
{"no"=>352, "asl"=>62, "lane"=>10619, "shared_lane"=>817, "segregated"=>4, "proposed"=>210, "opposite_lane"=>37, "path"=>11, "track"=>69, "share_busway"=>12, "opposite"=>11, "designated"=>1, "yes"=>3, "crossing"=>11, "destination"=>1, "shared"=>2, "none"=>8}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Washington (US-WA)
{"no"=>845, "shared_lane"=>1310, "crossing"=>14, "track"=>404, "lane"=>6902, "opposite_track"=>3, "shared"=>18, "opposite"=>28, "cycle_greenway"=>52, "opposite_lane"=>31, "closed_lane"=>1, "segregated"=>2, "yes"=>11, "sidewalk"=>3}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Michigan (US-MI)
{"no"=>855, "shared_lane"=>410, "lane"=>1715, "crossing"=>38, "yes"=>7, "shared"=>63, "proposed"=>206, "track"=>165, "construction"=>27, "shoulder"=>30, "sidewalk"=>4, "*"=>1, "segregated"=>1, "opposite"=>1, "lane + cycleway:left:buffer=yes"=>17, "opposite_lane"=>3, "lane + parking:lane:left=parallel"=>4, "lane + cycleway:right:buffer=yes"=>25, "lane + parking:lane:right=parallel"=>3}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Connecticut (US-CT)
{"no"=>691, "track"=>49, "lane"=>96, "shared_lane"=>101, "shared"=>13, "opposite_lane"=>3, "opposite"=>2, "none"=>4, "crossing"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Hawaii (US-HI)
{"lane"=>269, "no"=>6, "shoulder"=>6, "right"=>1, "shared"=>1, "track"=>2, "shared_lane"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in South Carolina (US-SC)
{"no"=>220, "track"=>20, "shared_lane"=>17, "lane"=>218, "segregated"=>10, "crossing"=>10, "shared"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Virginia (US-VA)
{"no"=>914, "lane"=>997, "shared_lane"=>105, "track"=>406, "shared"=>130, "crossing"=>28, "right"=>3, "yes"=>2, "right=lane"=>1, "opposite"=>2, "opposite_lane"=>2, "1"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in North Carolina (US-NC)
{"no"=>187, "lane"=>938, "yes"=>2, "shared_lane"=>287, "shared"=>18, "both"=>2, "track"=>5, "crossing"=>8, "no;lane"=>1, "opposite_lane"=>1, "none"=>61, "left"=>1, "right"=>1, "share_busway"=>2, "None"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Louisiana (US-LA)
{"asl"=>3, "shared_lane"=>126, "lane"=>212, "track"=>21, "no"=>18, "shared"=>3, "opposite_lane"=>2, "share_busway"=>3, "none"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in New Jersey (US-NJ)
{"no"=>166, "lane"=>443, "track"=>50, "shared_lane"=>5, "shared"=>14, "yes"=>5, "opposite_lane"=>4, "opposite"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Guam (GU)
yes: 0%
no: 100%
other: 0%
{"no"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Rhode Island (US-RI)
{"shared_lane"=>40, "lane"=>54, "no"=>19, "track"=>4}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Alaska (US-AK)
{"lane"=>24, "no"=>6, "track"=>7, "yes"=>1, "crossing"=>17}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Puerto Rico (PR)
{"no"=>30, "lane"=>22, "shared_lane"=>1, "track"=>1}
whitelist:
- Massachusetts (US-MA)
- New York (US-NY)
- Maine (US-ME)
- Texas (US-TX)
- Illinois (US-IL)
- Missouri (US-MO)
- Kansas (US-KS)
- Oklahoma (US-OK)
- Arkansas (US-AR)
- Nebraska (US-NE)
- Iowa (US-IA)
- Kentucky (US-KY)
- Indiana (US-IN)
- Tennessee (US-TN)
- Mississippi (US-MS)
- Alabama (US-AL)
- Georgia (US-GA)
- Colorado (US-CO)
- Utah (US-UT)
- New Mexico (US-NM)
- Arizona (US-AZ)
- Florida (US-FL)
- Ohio (US-OH)
- District of Columbia (US-DC)
- Pennsylvania (US-PA)
- Delaware (US-DE)
- Maryland (US-MD)
- Idaho (US-ID)
- Wisconsin (US-WI)
- Minnesota (US-MN)
- Nevada (US-NV)
- California (US-CA)
- Oregon (US-OR)
- Washington (US-WA)
- Michigan (US-MI)
- Connecticut (US-CT)
- Hawaii (US-HI)
- South Carolina (US-SC)
- Virginia (US-VA)
- North Carolina (US-NC)
- Louisiana (US-LA)
- New Jersey (US-NJ)
blacklist:
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
no ISO3166 code for http://www.openstreetmap.org/relation/7534382
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Xinjiang (CN-65)
{"track"=>5}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Gansu (CN-62)
{"no"=>1, "track"=>39, "opposite_lane"=>2, "lane"=>67, "shared_lane"=>152}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Inner Mongolia (CN-15)
{"lane"=>5, "track"=>5}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Heilongjiang (CN-23)
{"track"=>7, "opposite_lane"=>1, "lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Guangxi (CN-45)
{"opposite"=>1, "track"=>1, "shared_lane"=>2, "lane"=>1, "no"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Guizhou (CN-52)
{"3"=>1, "9"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Henan (CN-41)
{"track"=>120, "lane"=>29, "shared_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Zhejiang (CN-33)
{"lane"=>438, "no"=>56, "track"=>86, "track;lane"=>5, "yes"=>33, "shared_lane"=>15}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Fujian (CN-35)
{"lane"=>16, "track"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Guangdong (CN-44)
{"lane"=>182, "no"=>13, "track"=>23, "opposite"=>42, "shared_lane"=>10, "l、"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Beijing (CN-11)
{"lane"=>382, "track"=>270, "no"=>4, "shared_lane"=>53, "share_busway"=>1, "opposite_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Liaoning (CN-21)
{"lane"=>22, "track"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Hebei (CN-13)
{"lane"=>6, "no"=>6, "track"=>3, "opposite_lane"=>1, "shared_lane"=>10}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Tianjin (CN-12)
{"no"=>1, "share_busway"=>1, "shared_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Shandong (CN-37)
{"track"=>78, "lane"=>538, "shared_lane"=>10, "no"=>35, "none"=>2, "opposite"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Anhui (CN-34)
{"no"=>10, "track"=>36, "lane"=>13, "opposite_lane"=>1, "shared_lane"=>35}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Jiangsu (CN-32)
{"track"=>183, "lane"=>1355, "shared_lane"=>130, "no"=>18, "yes"=>4}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Shanghai (CN-31)
{"no"=>19, "lane"=>2730, "opposite_lane"=>111, "opposite"=>80, "yes"=>3, "track"=>203, "opposite_track"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Sichuan (CN-51)
{"shared_lane"=>7, "lane"=>16, "no"=>7, "opposite_lane"=>1, "track"=>10}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Chongqing (CN-50)
{"opposite"=>3, "no"=>9, "lane"=>1, "3"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Hunan (CN-43)
{"no"=>40, "lane"=>68, "track"=>3, "shared_lane"=>2}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Yunnan (CN-53)
{"shared_lane"=>15, "opposite_lane"=>14, "lane"=>14, "track"=>1, "9"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Shaanxi (CN-61)
{"lane"=>24, "track"=>6, "opposite_lane"=>7, "no"=>5, "shared_lane"=>16, "opposite_track"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Ningxia Hui (CN-64)
{"lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Shanxi (CN-14)
{"opposite_lane"=>7, "track"=>50, "lane"=>13, "shared_lane"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Hubei (CN-42)
{"track"=>1, "lane"=>3, "no"=>7, "shared_lane"=>5}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Jiangxi (CN-36)
{"lane"=>1, "track"=>2, "no"=>3}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Hainan (CN-46)
{"lane"=>14, "3"=>4, "2"=>1}
["cycleway:both", "cycleway", "cycleway:left", "cycleway:right"] in Fujian Province (TW)
{"lane"=>16, "track"=>2}
whitelist:
- Gansu (CN-62)
- Henan (CN-41)
- Zhejiang (CN-33)
- Guangdong (CN-44)
- Beijing (CN-11)
- Shandong (CN-37)
- Jiangsu (CN-32)
- Shanghai (CN-31)
blacklist:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment