[static-web] gis.gnome.org: Add tweaks for the Resrobot provider



commit a428c7eeeabe65f3282c660c8dfc309b693a926f
Author: Marcus Lundblad <ml update uu se>
Date:   Sun Feb 9 22:08:05 2020 +0100

    gis.gnome.org: Add tweaks for the Resrobot provider
    
    Add color and route tweak definition for Resrobot
    public transit provider.

 gis.gnome.org/aux/tweaks-resrobot.json | 491 +++++++++++++++++++++++++++++++++
 1 file changed, 491 insertions(+)
---
diff --git a/gis.gnome.org/aux/tweaks-resrobot.json b/gis.gnome.org/aux/tweaks-resrobot.json
new file mode 100644
index 0000000..79e36f7
--- /dev/null
+++ b/gis.gnome.org/aux/tweaks-resrobot.json
@@ -0,0 +1,491 @@
+{
+       "agencies": {
+               "SL": {
+                       "routeTypes": {
+                               "500": {
+                                       "routes": {
+                                               "10": {
+                                                       "color": "0d85c1",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "11": {
+                                                       "color": "0d85c1",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "13": {
+                                                       "color": "d82c28",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "14": {
+                                                       "color": "d82c28",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "17": {
+                                                       "color": "009c51",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "18": {
+                                                       "color": "009c51",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "19": {
+                                                       "color": "009c51",
+                                                       "textColor": "ffffff"
+                                               }
+                                               
+                                       }
+                               },
+                               "900": {
+                                       "routes": {
+                                               "7": {
+                                                       "color": "999999",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "7N": {
+                                                       "color": "999999",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "12": {
+                                                       "color": "669999",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "21": {
+                                                       "color": "bd3232",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "22": {
+                                                       "color": "ff9900",
+                                                       "textColor": "ffffff"
+                                               }
+                                       }
+                               },
+                               "300": {
+                                       "routes": {
+                                               "25": {
+                                                       "color": "20b2aa",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "26": {
+                                                       "color": "20b2aa",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "27": {
+                                                       "color": "800080",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "28": {
+                                                       "color": "800080",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "29": {
+                                                       "color": "800080",
+                                                       "textColor": "ffffff"
+                                               }
+                                       },
+                                       "routePatterns": [
+                                               {
+                                                       "regex": "^[1|2]?22\\d\\d",
+                                                       "route": "40",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^[1|2]?23\\d\\d",
+                                                       "route": "42X",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^[1|2]?24\\d\\d",
+                                                       "route": "44",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^[1|2]?25\\d\\d",
+                                                       "route": "43",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^26\\d\\d",
+                                                       "route": "41",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^126\\d\\d",
+                                                       "route": "41",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^[1|2]?27\\d\\d",
+                                                       "route": "41",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^[1|2]?28\\d\\d",
+                                                       "route": "43",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^[1|2]?29\\d\\d",
+                                                       "route": "41",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               },
+                                               {
+                                                       "regex": "^520\\d\\d",
+                                                       "route": "48",
+                                                       "color": "d05d99",
+                                                       "textColor": "ffffff"
+                                               }
+                                       ]
+                               },
+                               "1000": {
+                                       "color": "70c0ee",
+                                       "textColor": "ffffff"
+                               }
+                       }
+               },
+               "UL": {
+                       "routeTypes": {
+                               "700": {
+                                       "routes": {
+                                               "1": {
+                                                       "color": "ffffff",
+                                                       "textColor": "495f6e"
+                                               },
+                                               "2": {
+                                                       "color": "be1e10",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "3": {
+                                                       "color": "00ab4f",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "4": {
+                                                       "color": "fb3099",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "5": {
+                                                       "color": "87bc4f",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "6": {
+                                                       "color": "8f7251",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "7": {
+                                                       "color": "26c8f4",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "8": {
+                                                       "color": "ff6920",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "9": {
+                                                       "color": "008fd3",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "10": {
+                                                       "color": "902996",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "11": {
+                                                       "color": "9a9b9f",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "12": {
+                                                       "color": "ffb52f",
+                                                       "textColor": "495f6e"
+                                               },
+                                               "30": {
+                                                       "color": "495f6e",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "31": {
+                                                       "color": "495f6e",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "32": {
+                                                       "color": "495f6e",
+                                                       "textColor": "ffffff"
+                                               }
+                                       }
+                               },
+                               "300": {
+                                       "route": "Upptåget",
+                                       "color": "c228320",
+                                       "textColor": "ffffff"
+                               }
+                       }
+                       
+               },
+               "Västtrafik": {
+                       "routeTypes": {
+                               "900": {
+                                       "routes": {
+                                               "1": {
+                                                       "color": "ffffff",
+                                                       "textColor": "01abe9"
+                                               },
+                                               "2": {
+                                                       "color": "fedc00",      
+                                                       "textColor": "01abe9"
+                                               },
+                                               "3": {
+                                                       "color": "006eb9",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "4": {
+                                                       "color": "029254",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "5": {
+                                                       "color": "e82835",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "6": {
+                                                       "color": "f3942d",
+                                                       "textColor": "1baae6"
+                                               },
+                                               "7": {
+                                                       "color": "9c581a",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "8": {
+                                                       "color": "a9378e",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "9": {
+                                                       "color": "80cdf4",
+                                                       "textColor": "00abe9"
+                                               },
+                                               "10": {
+                                                       "color": "d0de87",
+                                                       "textColor": "00abe9"
+                                               },
+                                               "11": {
+                                                       "color": "1b1a18",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "13": {
+                                                       "color": "fdcf9d",
+                                                       "textColor": "01abe9"
+                                               },
+                                               "14": {
+                                                       "color": "d7b1f4",
+                                                       "textColor": "7d43ff"
+                                               },
+                                               "X": {
+                                                       "color": "ffffff",
+                                                       "textColor": "ff0000"
+                                               }
+                                       }
+                               },
+                               "300": {
+                                       "route": "Västtågen"
+                               }
+                       }
+               },
+               "VL": {
+                       "routeTypes": {
+                               "700": {
+                                       "routes": {
+                                               "1": {
+                                                       "color": "f24643",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "2": {
+                                                       "color": "2db06a",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "3": {
+                                                       "color": "fc9eca",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "4": {
+                                                       "color": "35b8e8",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "5": {
+                                                       "color": "ffc846",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "6": {
+                                                       "color": "ff7d2e",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "7": {
+                                                       "color": "a277bb",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "11": {
+                                                       "color": "96a1a2",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "12": {
+                                                       "color": "96a1a2",
+                                                       "textColor": "ffffff"
+                                               },
+                                               "13": {
+                                                       "color": "96a1a2",
+                                                       "textColor": "ffffff"
+                                               }
+                                       }
+                               }
+                       }
+               },
+               "X-trafik": {
+                       "routeTypes": {
+                               "700": {
+                                       "bboxes": [
+                                               {
+                                                       "bbox": [60.608613, 16.942299, 60.754617, 17.350024],
+                                                       "comment": "City buses in Gävle",
+                                                       "routes": {
+                                                               "1": {
+                                                                       "color": "c5cd3B",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "2": {
+                                                                       "color": "ee583d",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "3": {
+                                                                       "color": "1081c7",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "4": {
+                                                                       "color": "ffc734",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "11": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "12": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "13": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "14": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "15": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "16": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "17": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               }
+                                                       }
+                                               },
+                                               {
+                                                       "bbox": [61.274010, 16.960339, 61.340614, 17.153179],
+                                                       "comment": "City busses in Söderhamn",
+                                                       "routes": {
+                                                               "1": {
+                                                                       "color": "c5cd3B",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "2": {
+                                                                       "color": "ee583d",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "3": {
+                                                                       "color": "1081c7",
+                                                                       "textColor": "ffffff"
+                                                               }
+                                                       }
+                                               },
+                                               {
+                                                       "bbox": [61.689227, 16.990768, 61.786921, 17.295510],
+                                                       "comment": "City buses in Hudiksvall",
+                                                       "routes": {
+                                                               "1": {
+                                                                       "color": "c5cd3B",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "2": {
+                                                                       "color": "ee583d",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "3": {
+                                                                       "color": "1081c7",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "4": {
+                                                                       "color": "ffc734",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "5": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "9": {
+                                                                       "color": "afb0b3",
+                                                                       "textColor": "ffffff"
+                                                               }
+                                                       }
+                                               }
+                                       ]
+                               },
+                               "300": {
+                                       "route": "X-tåg"
+                               }
+                       }
+               },
+               "Skånetrafiken": {
+                       "routeTypes": {
+                               "300": {
+                                       "route": "Pågatåg"
+                               },
+                               "700": {
+                                       "bboxes": [
+                                               {
+                                                       "bbox": [55.838422, 12.759762, 55.911378, 12.924084],
+                                                       "comment": "Landskrona",
+                                                       "routes": {
+                                                               "1": {
+                                                                       "color": "0eff0e",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "2": {
+                                                                       "color": "00b2ee",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "3": {
+                                                                       "color": "ff0e0e",
+                                                                       "textColor": "ffffff",
+                                                                       "routeType": 800
+                                                               },
+                                                               "4": {
+                                                                       "color": "000000",
+                                                                       "textColor": "ffffff"
+                                                               },
+                                                               "5": {
+                                                                       "color": "ff8c00",
+                                                                       "textColor": "ffffff"
+                                                               }
+                                                       }
+                                               }
+                                       ]
+                               }
+                       }
+               }
+       }
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]