diff --git a/README.md b/README.md index 838d84b..f1c1f78 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,13 @@ The `line-colors.csv` contains several columns: - `hafasLineId`: identifies the HAFAS line - you can get this by requesting a departure for the line from HAFAS (i.e. using [db-rest playground](https://petstore.swagger.io/?url=https%3A%2F%2Fv6.db.transport.rest%2F.well-known%2Fservice-desc%0A)) - `backgroundColor`: Color-Hexcode for the display background color - `textColor`: Color-Hexcode for the text color +- `borderColor` Color-Hexcode for the border of the shape - `shape`: Specifies the shape of the icon --> see examples below - `rectangle`: Just a rectangle - `pill`: Rectangle with completely rounded corners - `rectangle-rounded-corner`: Rectangle with rounded corners - - `trapezoid` - - `hexagon` (not yet supported) + - `trapezoid` A trapezoid shape with a broad top and a narrow bottom side + - `hexagon` A pill with pointy tips - `wikidataQid`: Wikidata QID for the line (if available, can be empty) ## Contributing @@ -54,20 +55,22 @@ Please keep the PR's small. If possible, create a small PR for each operator. +RE 23
-- `shortOperatorName`: gaby -- `lineName`: RE72 -- `hafasOperatorCode`: go-ahead-bayern-gmbh -- `hafasLineId`: re-72 -- `backgroundColor`: #ef7c00 -- `textColor`: #ffffff +- `shortOperatorName`: alex-dlb +- `lineName`: RE 23 +- `hafasOperatorCode`: alex-die-landerbahn-gmbh-dlb +- `hafasLineId`: re23 +- `backgroundColor`: #ffffff +- `textColor`: #006666 +- `borderColor` #006666 - `shape`: rectangle +- `wikidataQid` Q130542294 -Entry: `gaby,RE72,go-ahead-bayern-gmbh,re-72,#ef7c00,#ffffff,rectangle` +Entry: `alex-dlb,RE 23,alex-die-landerbahn-gmbh-dlb,re23,#ffffff,#006666,#006666,rectangle,Q130542294` ### DB Regio AG S-Bahn München, S7 S7 @@ -79,11 +82,13 @@ Entry: `gaby,RE72,go-ahead-bayern-gmbh,re-72,#ef7c00,#ffffff,rectangle` - `hafasLineId`: 4-800725-7 - `backgroundColor`: #8a372f - `textColor`: #ffffff +- `borderColor` *does not apply* - `shape`: pill +- `wikidataQid` *not available* -Entry: `mvv-db-sbm,S7,db-regio-ag-s-bahn-munchen,4-800725-7,#8a372f,#ffffff,pill` +Entry: `mvv-db-sbm,S7,db-regio-ag-s-bahn-munchen,4-800725-7,#8a372f,#ffffff,,pill,` -### KVV: Albtal-Verkehrs-Gesellschaft mbH +### KVV: Albtal-Verkehrs-Gesellschaft mbH, S1 S1
@@ -94,14 +99,42 @@ Entry: `mvv-db-sbm,S7,db-regio-ag-s-bahn-munchen,4-800725-7,#8a372f,#ffffff,pill - `hafasLineId`: 4-a6s8-8 - `backgroundColor`: #6e692a - `textColor`: #ffffff +- `borderColor` *does not apply* - `shape`: rectangle-rounded-corner (a pill with less rounded corners) +- `wikidataQid` *not available* + +Entry: `kvv-avg,S8,albtal-verkehrs-gesellschaft-mbh,4-a6s8-8,#6e692a,#ffffff,,rectangle-rounded-corner,` -### Other shapes: +### HVV: Hadag, 62 -#### Trapezoid +62 +
+ +- `shortOperatorName`: hvv-had +- `lineName`: 62 +- `hafasOperatorCode`: *not available* +- `hafasLineId`: 6-hvvhad-62 +- `backgroundColor`: #009bb6 +- `textColor`: #ffffff +- `borderColor` *does not apply* +- `shape`: trapezoid (a shape with a broad top and a narrow bottom side) +- `wikidataQid` *not available* -64 +Entry: `hvv-had,62,,6-hvvhad-62,#009bb6,#ffffff,,trapezoid,` -#### Hexagon +#### HVV: Hamburger Hochbahn AG, X35 + +62 +
+ +- `shortOperatorName`: hvv-hha +- `lineName`: X35 +- `hafasOperatorCode`: *not available* +- `hafasLineId`: 5-hvvhha-x35 +- `backgroundColor`: #eb452e +- `textColor`: #ffffff +- `borderColor` *does not apply* +- `shape`: hexagon (a pill with pointy tips) +- `wikidataQid` *not available* -112 +Entry: `hvv-hha,X35,,5-hvvhha-x35,#eb452e,#ffffff,,hexagon,` diff --git a/examples/alex-dlb-re23.png b/examples/alex-dlb-re23.png new file mode 100644 index 0000000..af5e76e Binary files /dev/null and b/examples/alex-dlb-re23.png differ diff --git a/examples/gaby-re72.png b/examples/gaby-re72.png deleted file mode 100644 index 8b4389d..0000000 Binary files a/examples/gaby-re72.png and /dev/null differ diff --git a/examples/hvv-112.png b/examples/hvv-112.png deleted file mode 100644 index 5912140..0000000 Binary files a/examples/hvv-112.png and /dev/null differ diff --git a/examples/hvv-62.png b/examples/hvv-62.png new file mode 100644 index 0000000..12faa45 Binary files /dev/null and b/examples/hvv-62.png differ diff --git a/examples/hvv-64.png b/examples/hvv-64.png deleted file mode 100644 index eb526d6..0000000 Binary files a/examples/hvv-64.png and /dev/null differ diff --git a/examples/hvv-x35.png b/examples/hvv-x35.png new file mode 100644 index 0000000..e7fbc85 Binary files /dev/null and b/examples/hvv-x35.png differ