diff --git a/assets/favicons/apa.png b/assets/favicons/apa.png new file mode 100644 index 0000000..854a182 Binary files /dev/null and b/assets/favicons/apa.png differ diff --git a/commands/fetch.ts b/commands/fetch.ts index 8b1e6a3..0d567ff 100644 --- a/commands/fetch.ts +++ b/commands/fetch.ts @@ -85,7 +85,7 @@ async function runfetch(filename: string) { } fs.readdirSync("../data/").forEach(file => { - 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")) {