Skip to content

Commit

Permalink
Merge pull request #1047 from ZeLonewolf/clay-shields-us-refsbyname
Browse files Browse the repository at this point in the history
update shield defs that use refsByName
  • Loading branch information
claysmalley authored Apr 21, 2024
2 parents 4736e94 + 090400b commit 0511110
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions src/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3739,23 +3739,13 @@ export function loadShields() {
};

shields["US:KY:Parkway"].refsByName = {
// FIXME: This object contains both spelled-out and abbreviated road
// names to accommodate both the abbreviated names from OpenMapTiles and
// the spelled-out names from Planetiler.
// https://github.com/onthegomap/planetiler/issues/14
"Audubon Parkway": "AU",
"Bluegrass Parkway": "BG",
"Bluegrass Pkwy": "BG",
"Cumberland Parkway": "LN",
"Cumberland Pkwy": "LN",
"Hal Rogers Parkway": "HR",
"Hal Rogers Pkwy": "HR",
"Mountain Parkway": "MP",
"Mountain Pkwy": "MP",
"Purchase Parkway": "JC",
"Purchase Pkwy": "JC",
"Western Kentucky Parkway": "WK",
"Western Kentucky Pkwy": "WK",
};

shields["US:CT:Parkway"].overrideByName = {
Expand Down Expand Up @@ -3795,15 +3785,13 @@ export function loadShields() {
};

shields["US:NY:Parkway"].refsByName = {
"Bear Mountain Parkway": "BMP",
"Bronx and Pelham Parkway": "PP",
"Bear Mountain State Parkway": "BMP",
"Bronx River Parkway": "BRP",
"Cross County Parkway": "CCP",
"Hutchinson River Parkway": "HRP",
"Korean War Veterans Parkway": "KWVP",
"Mosholu Parkway": "MP",
"Niagara Scenic Parkway": "NSP",
"Pelham Parkway": "PP",
"Saw Mill River Parkway": "SMP",
"Sprain Brook Parkway": "SBP",
"Taconic State Parkway": "TSP",
Expand All @@ -3823,14 +3811,7 @@ export function loadShields() {
"Fort Bend Westpark Tollway": "WPT",
};
shields["US:TX:Harris:HCTRA"].refsByName = {
"East Sam Houston Tollway North": "SHT",
"East Sam Houston Tollway South": "SHT",
"North Sam Houston Tollway East": "SHT",
"North Sam Houston Tollway West": "SHT",
"South Sam Houston Tollway East": "SHT",
"South Sam Houston Tollway West": "SHT",
"West Sam Houston Tollway North": "SHT",
"West Sam Houston Tollway South": "SHT",
"Sam Houston Tollway": "SHT",
"Fort Bend Toll Road": "FBTR",
"Hardy Toll Road": "HTR",
"Tomball Tollway": "TBT",
Expand Down

0 comments on commit 0511110

Please sign in to comment.