From c63e2d7c49d23923138d82e9e0de19f7d1d98d19 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Sun, 11 Dec 2022 21:12:27 +0100 Subject: [PATCH] add one more crossing --- assets/favicons/apa.png | Bin 0 -> 582 bytes commands/fetch.ts | 2 +- data/Wien.json | 43 +++++++++++++++++++++++++++++++++++++++- src/favicon.ts | 5 ++++- 4 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 assets/favicons/apa.png diff --git a/assets/favicons/apa.png b/assets/favicons/apa.png new file mode 100644 index 0000000000000000000000000000000000000000..854a182600ffdff111df8fa960acf2e9444b6c1b GIT binary patch literal 582 zcmV-M0=fN(P)mk&TGx*E^~1 zA|N8l&&1EkVLNd|l)@V+dncBNqJJd&oaF6J;2y~~C&_eTh)y2hjYQl?#r{YzCqNj< z!7+^F$x zLSP~@;E { - if (file === "schema.json") { + if (file === "schema.json" || file === "LICENSE") { return } console.info(file) diff --git a/data/Wien.json b/data/Wien.json index cde6756..f185ab4 100644 --- a/data/Wien.json +++ b/data/Wien.json @@ -1418,5 +1418,46 @@ ], "length": 30.3 } + }, + { + "id": 331542771, + "name": "Burggasse/Museumsplatz", + "bezirk": 7, + "type": "transFlag", + "sources": [ + { + "type": "official", + "url": "https://www.ots.at/presseaussendung/OTS_20221118_OTS0105/bezirk-neubau-transzebrastreifen-feierlich-eroeffnet-bild", + "date": "2022-11-18" + }, + { + "type": "official", + "url": "https://www.wien.gv.at/presse/2022/11/18/neubau-trans-zebrastreifen-an-zentralem-und-stark-frequentiertem-platz-eroeffnet", + "date": "2022-11-18" + } + ], + "geosource": { + "type": "OSMnodes", + "nodes": [ + 4788433944, + 3805842867, + 4683287990, + 4683287989, + 4683287588 + ] + }, + "geo": { + "coords": [ + [ + 16.3601155, + 48.2062852 + ], + [ + 16.3599884, + 48.2063912 + ] + ], + "length": 15.09 + } } -] +] \ No newline at end of file diff --git a/src/favicon.ts b/src/favicon.ts index ba89cb9..ca6381f 100644 --- a/src/favicon.ts +++ b/src/favicon.ts @@ -16,7 +16,8 @@ import fmtIcon from "../assets/favicons/fmt.png" import tipsIcon from "../assets/favicons/tips.png" import a1Icon from "../assets/favicons/a1.net.png" import orfIcon from "../assets/favicons/orf.png" -import {or} from "ol/format/filter"; +import apaIcon from "../assets/favicons/apa.png" + export function faviconByHostname(hostname: string): string | undefined { @@ -51,6 +52,8 @@ export function faviconByHostname(hostname: string): string | undefined { return tipsIcon case "newsroom.a1.net": return a1Icon + case "www.ots.at": + return apaIcon } if (hostname.includes("spoe")) {