1
0
Fork 0
mirror of https://github.com/Findus23/RainbowRoad.git synced 2024-09-19 16:03:52 +02:00

add missing crossing from official data

This commit is contained in:
Lukas Winkler 2022-12-15 17:58:42 +01:00
parent c63e2d7c49
commit 4e33d0dfb4
Signed by: lukas
GPG key ID: 54DE4D798D244853
15 changed files with 116 additions and 15 deletions

View file

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 40 40" viewBox="0 0 40 40">
<linearGradient id="a" x1="-277.375" x2="-277.375" y1="406.602" y2="407.573" gradientTransform="matrix(40 0 0 -39.7778 11115.001 16212.334)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#0062e0"/>
<stop offset="1" style="stop-color:#19afff"/>
</linearGradient>
<path d="M16.7 39.8C7.2 38.1 0 29.9 0 20 0 9 9 0 20 0s20 9 20 20c0 9.9-7.2 18.1-16.7 19.8l-1.1-.9h-4.4l-1.1.9z" style="fill:url(#a)"/>
<path d="m27.8 25.6.9-5.6h-5.3v-3.9c0-1.6.6-2.8 3-2.8H29V8.2c-1.4-.2-3-.4-4.4-.4-4.6 0-7.8 2.8-7.8 7.8V20h-5v5.6h5v14.1c1.1.2 2.2.3 3.3.3 1.1 0 2.2-.1 3.3-.3V25.6h4.4z" style="fill:#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 758 B

View file

@ -80,7 +80,7 @@ async function runfetch(filename: string) {
// crossings[i] = d // crossings[i] = d
fs.writeFileSync(filename, JSON.stringify(data, null, 2)) fs.writeFileSync(filename, JSON.stringify(data, null, 2))
} }
fs.writeFileSync(filename, JSON.stringify(data, null, 2)) fs.writeFileSync(filename, JSON.stringify(data, null, 2).concat('\n'))
} }

View file

@ -76,4 +76,4 @@
"length": 9.69 "length": 9.69
} }
} }
] ]

View file

@ -173,4 +173,4 @@
"length": 13.54 "length": 13.54
} }
} }
] ]

View file

@ -91,4 +91,4 @@
"length": 8.62 "length": 8.62
} }
} }
] ]

View file

@ -200,4 +200,4 @@
"length": 17.09 "length": 17.09
} }
} }
] ]

View file

@ -48,4 +48,4 @@
"length": 16.48 "length": 16.48
} }
} }
] ]

View file

@ -48,4 +48,4 @@
"length": 4.99 "length": 4.99
} }
} }
] ]

View file

@ -42,4 +42,4 @@
"length": 7.57 "length": 7.57
} }
} }
] ]

View file

@ -2,6 +2,9 @@
{ {
"id": 1740508417, "id": 1740508417,
"name": "Praterstern", "name": "Praterstern",
"officialName": "Praterstern # Ausstellungsstraße",
"bezirk": 2,
"type": "prideFlag",
"sources": [ "sources": [
{ {
"type": "streetview", "type": "streetview",
@ -13,8 +16,6 @@
"url": "https://www.meinbezirk.at/leopoldstadt/c-lokales/neuer-regenbogen-zebrastreifen-am-praterstern_a4591199" "url": "https://www.meinbezirk.at/leopoldstadt/c-lokales/neuer-regenbogen-zebrastreifen-am-praterstern_a4591199"
} }
], ],
"bezirk": 2,
"type": "prideFlag",
"geosource": { "geosource": {
"type": "OSMway", "type": "OSMway",
"wayID": 191209754 "wayID": 191209754
@ -38,6 +39,7 @@
"name": "Spitalgasse/Lazarettgasse", "name": "Spitalgasse/Lazarettgasse",
"bezirk": 9, "bezirk": 9,
"type": "transFlag", "type": "transFlag",
"officialName": "Spitalgasse # Lazarettgasse",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -77,6 +79,7 @@
"bezirk": 6, "bezirk": 6,
"type": "prideFlag", "type": "prideFlag",
"comment": "dritte in Wien", "comment": "dritte in Wien",
"officialName": "Gumpendorfer Straße # Kaunitzgasse",
"sources": [ "sources": [
{ {
"type": "official", "type": "official",
@ -111,6 +114,7 @@
"name": "Schönbrunner Straße/Pilgramgasse", "name": "Schönbrunner Straße/Pilgramgasse",
"bezirk": 5, "bezirk": 5,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Pilgramgasse # Schönbrunner Straße",
"sources": [ "sources": [
{ {
"type": "official", "type": "official",
@ -147,6 +151,7 @@
"bezirk": 1, "bezirk": 1,
"type": "prideFlag", "type": "prideFlag",
"comment": "erster in Wien", "comment": "erster in Wien",
"officialName": "Universitätsring vor Burgtheater",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -182,6 +187,7 @@
"name": "Meidlinger Markt", "name": "Meidlinger Markt",
"bezirk": 12, "bezirk": 12,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Niederhofstraße # Ignazgasse",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -221,6 +227,7 @@
"name": "Laaer-Berg-Straße", "name": "Laaer-Berg-Straße",
"bezirk": 10, "bezirk": 10,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Laaer-Berg-Straße 170",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -267,6 +274,7 @@
"bezirk": 18, "bezirk": 18,
"type": "prideFlag", "type": "prideFlag",
"comment": "Zweiter in Wien", "comment": "Zweiter in Wien",
"officialName": "Währinger Straße 108",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -305,6 +313,7 @@
"name": "Landstraßer Hauptstraße", "name": "Landstraßer Hauptstraße",
"bezirk": 3, "bezirk": 3,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Landstraßer Hauptstraße # Beatrixgasse",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -336,6 +345,7 @@
"name": "Operngasse/Schleifmühlgasse", "name": "Operngasse/Schleifmühlgasse",
"bezirk": 4, "bezirk": 4,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Operngasse # Schleifmühlgasse",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -375,6 +385,7 @@
"name": "Schönbrunner Straße/Ramperstorffergasse", "name": "Schönbrunner Straße/Ramperstorffergasse",
"bezirk": 5, "bezirk": 5,
"type": "transFlag", "type": "transFlag",
"officialName": "Schönbrunner Straße # Ramperstorffergasse",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -410,6 +421,7 @@
"name": "Kennedybrücke/Hietzinger Hauptstraße", "name": "Kennedybrücke/Hietzinger Hauptstraße",
"bezirk": 13, "bezirk": 13,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Hietzinger Hauptstraße / Schönbrunner Straße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -444,6 +456,7 @@
"name": "Kennedybrücke/Hadikgasse", "name": "Kennedybrücke/Hadikgasse",
"bezirk": 14, "bezirk": 14,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Hadikgasse # Nisselgasse",
"sources": [ "sources": [
{ {
"type": "streetview", "type": "streetview",
@ -477,6 +490,7 @@
"name": "Simmeringer Platz", "name": "Simmeringer Platz",
"bezirk": 11, "bezirk": 11,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Simmeringer Platz 1",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -511,6 +525,7 @@
"name": "Mauer Hauptplatz", "name": "Mauer Hauptplatz",
"bezirk": 23, "bezirk": 23,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Maurer Hauptplatz",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -545,6 +560,7 @@
"name": "Elterleinplatz/Kalvarienberggasse", "name": "Elterleinplatz/Kalvarienberggasse",
"bezirk": 17, "bezirk": 17,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Kalvarienberggasse # Elterleinplatz",
"sources": [ "sources": [
{ {
"type": "official", "type": "official",
@ -580,6 +596,7 @@
"bezirk": 3, "bezirk": 3,
"type": "prideFlag", "type": "prideFlag",
"comment": "Zweiter im 3. Bezirk", "comment": "Zweiter im 3. Bezirk",
"officialName": "Rennweg 24",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -617,8 +634,9 @@
{ {
"id": 3932188971, "id": 3932188971,
"name": "Museumsquartier", "name": "Museumsquartier",
"bezirk": 1, "bezirk": 7,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Mariahilfer Straße # Getreidemarkt / Museumsquartier",
"comment": "Keine Informationen darüber, zwischen Juli 2019 und November 2020 gemalt", "comment": "Keine Informationen darüber, zwischen Juli 2019 und November 2020 gemalt",
"sources": [ "sources": [
{ {
@ -655,6 +673,7 @@
"name": "Pilgrambrücke/Linke Wienzeile", "name": "Pilgrambrücke/Linke Wienzeile",
"bezirk": 6, "bezirk": 6,
"type": "transFlag", "type": "transFlag",
"officialName": "Pilgrambrücke",
"sources": [ "sources": [
{ {
"type": "proposal", "type": "proposal",
@ -691,6 +710,7 @@
"bezirk": 21, "bezirk": 21,
"type": "prideFlag", "type": "prideFlag",
"set": "Floridsdorfer Spitz", "set": "Floridsdorfer Spitz",
"officialName": "Am Spitz # Floridsdorfer Hauptstraße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -726,6 +746,7 @@
"bezirk": 21, "bezirk": 21,
"type": "prideFlag", "type": "prideFlag",
"set": "Floridsdorfer Spitz", "set": "Floridsdorfer Spitz",
"officialName": "Am Spitz # Floridsdorfer Hauptstraße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -761,6 +782,7 @@
"bezirk": 21, "bezirk": 21,
"type": "prideFlag", "type": "prideFlag",
"set": "Floridsdorfer Spitz", "set": "Floridsdorfer Spitz",
"officialName": "Am Spitz # Floridsdorfer Hauptstraße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -800,6 +822,7 @@
"name": "Josefstädter Straße/Albertgasse 1/3", "name": "Josefstädter Straße/Albertgasse 1/3",
"bezirk": 8, "bezirk": 8,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Josef-Matthias-Hauer-Platz",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -832,6 +855,7 @@
"bezirk": 8, "bezirk": 8,
"type": "transFlag", "type": "transFlag",
"comment": "Trans Pride Streifen sind eventuell neuer", "comment": "Trans Pride Streifen sind eventuell neuer",
"officialName": "Josef-Matthias-Hauer-Platz",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -863,6 +887,7 @@
"name": "Josefstädter Straße/Albertgasse 3/3", "name": "Josefstädter Straße/Albertgasse 3/3",
"bezirk": 8, "bezirk": 8,
"type": "transFlag", "type": "transFlag",
"officialName": "Josefstädter Straße # Albertgasse",
"comment": "Trans Pride Streifen sind eventuell neuer", "comment": "Trans Pride Streifen sind eventuell neuer",
"sources": [ "sources": [
{ {
@ -900,9 +925,10 @@
}, },
{ {
"id": 1928064980, "id": 1928064980,
"name": "Äußere Mariahilfer Straße", "name": "Äußere Mariahilfer Straße/Palmgasse",
"bezirk": 15, "bezirk": 15,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Mariahilfer Straße # Palmgasse",
"sources": [ "sources": [
{ {
"type": "proposal", "type": "proposal",
@ -939,6 +965,7 @@
"name": "Mariahilfer Straße/Neubaugasse", "name": "Mariahilfer Straße/Neubaugasse",
"bezirk": 6, "bezirk": 6,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Mariahilfer Straße # Amerlingstraße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -979,6 +1006,7 @@
"bezirk": 16, "bezirk": 16,
"type": "prideFlag", "type": "prideFlag",
"set": "Thaliastraße/Brunnenstraße", "set": "Thaliastraße/Brunnenstraße",
"officialName": "Thaliastraße # Brunnengasse",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -1089,6 +1117,7 @@
"bezirk": 19, "bezirk": 19,
"type": "prideFlag", "type": "prideFlag",
"set": "Peter-Jordan-Straße/Dänenstraße", "set": "Peter-Jordan-Straße/Dänenstraße",
"officialName": "Peter-Jordan-Straße # Dänenstraße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -1217,6 +1246,7 @@
"name": "Billrothstraße/Gymnasiumstraße", "name": "Billrothstraße/Gymnasiumstraße",
"bezirk": 19, "bezirk": 19,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Gymnasiumstraße / Billrothstraße",
"sources": [ "sources": [
{ {
"type": "official", "type": "official",
@ -1247,6 +1277,7 @@
"name": "Rauscherstraße/Wallensteinstraße", "name": "Rauscherstraße/Wallensteinstraße",
"bezirk": 20, "bezirk": 20,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Wallensteinstraße # Rauscherstraße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -1284,6 +1315,7 @@
"name": "Winarskystraße/Dresdner Straße", "name": "Winarskystraße/Dresdner Straße",
"bezirk": 20, "bezirk": 20,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Dresdnerstraße # Winarksystraße",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -1314,6 +1346,7 @@
"name": "Pilgramgasse/Margaretenstraße", "name": "Pilgramgasse/Margaretenstraße",
"bezirk": 5, "bezirk": 5,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Margaretenplatz 44",
"sources": [ "sources": [
{ {
"type": "streetview", "type": "streetview",
@ -1349,6 +1382,7 @@
"bezirk": 22, "bezirk": 22,
"type": "prideFlag", "type": "prideFlag",
"comment": "Erster im 22. Bezirk", "comment": "Erster im 22. Bezirk",
"officialName": "Schüttaustraße # Felix-Bischof-Weg",
"sources": [ "sources": [
{ {
"type": "photo", "type": "photo",
@ -1384,6 +1418,7 @@
"name": "Lassallestraße", "name": "Lassallestraße",
"bezirk": 2, "bezirk": 2,
"type": "prideFlag", "type": "prideFlag",
"officialName": "Lassallestraße # Radingergasse",
"sources": [ "sources": [
{ {
"type": "news", "type": "news",
@ -1424,6 +1459,7 @@
"name": "Burggasse/Museumsplatz", "name": "Burggasse/Museumsplatz",
"bezirk": 7, "bezirk": 7,
"type": "transFlag", "type": "transFlag",
"officialName": "Burggasse 1 / Museumstraße",
"sources": [ "sources": [
{ {
"type": "official", "type": "official",
@ -1459,5 +1495,49 @@
], ],
"length": 15.09 "length": 15.09
} }
},
{
"id": 4158395213,
"name": "Liesinger Platz",
"bezirk": 23,
"type": "transFlag",
"officialName": "Liesinger Platz 399",
"sources": [
{
"type": "proposal",
"date": "2022-03-24",
"url": "https://www.wien.gv.at/bezirke/liesing/politik/sitzungen/pdf/antrag-20220324-22.pdf"
},
{
"type": "proposal",
"date": "2022-03-24",
"url": "https://www.wien.gv.at/bezirke/liesing/politik/sitzungen/pdf/protokoll-20220324.pdf"
},
{
"type": "news",
"date": "2022-11-06",
"url": "https://www.facebook.com/neos.liesing/posts/pfbid02odyuq6Y9Zp7mi28VWBbnRTn8XEqVcev7tv6XPw54dsdUEnSoQAFCcqTdFe5PpfnXl"
}
],
"geosource": {
"type": "OSMnodes",
"nodes": [
2035248667,
3558815420
]
},
"geo": {
"coords": [
[
16.282958,
48.1352247
],
[
16.2831286,
48.1353368
]
],
"length": 17.77
}
} }
] ]

View file

@ -116,6 +116,10 @@
"comment": { "comment": {
"type": "string" "type": "string"
}, },
"officialName": {
"type": "string",
"description": "The name used in the documents by the City of Vienna"
},
"set": { "set": {
"type": "string" "type": "string"
}, },

View file

@ -34,6 +34,7 @@ export interface Crossing {
name: string name: string
bezirk?: number bezirk?: number
comment?: string comment?: string
officialName?: string
set?: string set?: string
type: FlagType type: FlagType
sources: Source[] sources: Source[]

View file

@ -1,5 +1,7 @@
https://www.ggg.at/2020/07/31/am-guertel-gibt-es-jetzt-den-laengsten-regenbogen-zebrastreifen/ https://www.ggg.at/2020/07/31/am-guertel-gibt-es-jetzt-den-laengsten-regenbogen-zebrastreifen/
Gürtel/Felberstraße (7x) Gürtel/Felberstraße (7x)
offizieller Name: "Neubaugürtel # Stollgasse", 7.
"Neubaugürtel # Felberstraße", 15.
Mariahilfer Straße Mariahilfer Straße

View file

@ -17,6 +17,7 @@ import tipsIcon from "../assets/favicons/tips.png"
import a1Icon from "../assets/favicons/a1.net.png" import a1Icon from "../assets/favicons/a1.net.png"
import orfIcon from "../assets/favicons/orf.png" import orfIcon from "../assets/favicons/orf.png"
import apaIcon from "../assets/favicons/apa.png" import apaIcon from "../assets/favicons/apa.png"
import facebookIcon from "../assets/favicons/facebook.svg"
export function faviconByHostname(hostname: string): string | undefined { export function faviconByHostname(hostname: string): string | undefined {
@ -54,6 +55,8 @@ export function faviconByHostname(hostname: string): string | undefined {
return a1Icon return a1Icon
case "www.ots.at": case "www.ots.at":
return apaIcon return apaIcon
case "www.facebook.com":
return facebookIcon
} }
if (hostname.includes("spoe")) { if (hostname.includes("spoe")) {

View file

@ -41,13 +41,16 @@ export function displaySources(sources: Source[]) {
export function createDateWithDisclaimer(sources: Source[]): HTMLDivElement { export function createDateWithDisclaimer(sources: Source[]): HTMLDivElement {
const dateWithDisclaimer = createElement("div") const dateWithDisclaimer = createElement("div")
const earliestDate = sources.map(s => s.date).sort()[0] const dates = sources.filter(s => s.type != "proposal").map(s => s.date).sort()
const dateP = createElement("p") const dateP = createElement("p")
const disclaimerP = createElement("p") const disclaimerP = createElement("p")
disclaimerP.innerText = "Das angezeigte Datum ist der Zeitpunkt der ersten Erwähnung in Medien " + disclaimerP.innerText = "Das angezeigte Datum ist der Zeitpunkt der ersten Erwähnung in Medien " +
"oder des ersten Bild auf Google Streetview." "oder des ersten Bild auf Google Streetview."
disclaimerP.style.display = "none" disclaimerP.style.display = "none"
dateP.innerText = prettyDate(earliestDate) if (dates.length > 0) {
dateP.innerText = prettyDate(dates[0])
}
dateP.innerText = "Datum unbekannt"
const starLink = createElement("a") const starLink = createElement("a")
starLink.href = "#" starLink.href = "#"
starLink.innerText = "*" starLink.innerText = "*"