From 73702f46f0ccf9dd1bc933caa4f6e5d95725aaaa Mon Sep 17 00:00:00 2001 From: Martin Weis Date: Sun, 3 Nov 2024 01:15:32 +0100 Subject: [PATCH 1/3] Rastatt added --- README.md | 3 +++ cities/cities.json | 8 ++++++++ cities/rastatt.json | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 cities/rastatt.json diff --git a/README.md b/README.md index 22183ccb..725906a5 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ in February 2016. |[Osnabrueck][osnabrueck-wikipedia]|[City of Osnabrueck][osnabrueck-markets]| |[Paderborn][paderborn-wikipedia]|[City of Paderborn][paderborn-markets]| |[Potsdam][potsdam-wikipedia]|[City of Potsdam][potsdam-markets]| +|[Rastatt][rastatt-wikipedia]|[City of Rastatt][rastatt-markets]| |[Rheinstetten][rheinstetten-wikipedia]|[City of Rheinstetten][rheinstetten-markets]| |[Rostock][rostock-wikipedia]|[City of Rostock][rostock-markets]| |[Rothenburg ob der Tauber][rothenburg-wikipedia]|[City of Rothenburg ob der Tauber][rothenburg-markets]| @@ -325,6 +326,8 @@ state as the new version of the website available under [https://wo-ist-markt.de [paderborn-markets]: http://www.paderborn.de/microsite/wochenmarkt/marktinfos/109010100000079411.php?p=5,1 [potsdam-wikipedia]: https://en.wikipedia.org/wiki/Potsdam [potsdam-markets]: https://www.potsdam.de/de/kategorie/einkaufen-schenken +[rastatt-wikipedia]: https://de.wikipedia.org/wiki/Rastatt +[rastatt-markets]: https://www.rastatt.de/kultur-und-freizeit/freizeit-und-einkaufen/wochenmarkt [rheinstetten-wikipedia]: https://de.wikipedia.org/wiki/Rheinstetten [rheinstetten-markets]: https://www.rheinstetten.de/de/leben-in-rheinstetten/freizeit/wochenmaerkte [rostock-wikipedia]: https://en.wikipedia.org/wiki/Rostock diff --git a/cities/cities.json b/cities/cities.json index 4ca303b1..b9ce5446 100644 --- a/cities/cities.json +++ b/cities/cities.json @@ -511,6 +511,14 @@ 8.05 ] }, + "rastatt": { + "id": "rastatt", + "label": "Rastatt", + "coordinates": [ + 48.857750, + 8.202447 + ] + }, "rheinstetten": { "id": "rheinstetten", "label": "Rheinstetten", diff --git a/cities/rastatt.json b/cities/rastatt.json new file mode 100644 index 00000000..786300a6 --- /dev/null +++ b/cities/rastatt.json @@ -0,0 +1,34 @@ +{ + "crs": { + "properties": { + "name": "urn:ogc:def:crs:OGC:1.3:CRS84" + }, + "type": "name" + }, + "features": [ + { + "geometry": { + "coordinates": [ + 8.202447, + 48.857750 + ], + "type": "Point" + }, + "properties": { + "location": "Marktplatz", + "opening_hours": "Apr-Oct Tu, Th, Sa 07:00-13:00; Nov-Mar TU, Th, Sa 08:00-13:00", + "title": "Rastatter Wochenmarkt", + "details_url" : "https://www.rastatt.de/kultur-und-freizeit/freizeit-und-einkaufen/wochenmarkt" + }, + "type": "Feature" + } + ], + "metadata": { + "data_source": { + "title": "Rastatt", + "url": "https://www.rastatt.de/kultur-und-freizeit/freizeit-und-einkaufen/wochenmarkt" + } + }, + "type": "FeatureCollection" +} + From 514d40dca051bbafec0697406a326294e10a4870 Mon Sep 17 00:00:00 2001 From: Martin Weis Date: Sun, 3 Nov 2024 01:51:50 +0100 Subject: [PATCH 2/3] validate: corrected URL kleve, positions: digits + URLs checked/updated + ACCEPTABLE_WARNINGS_COUNT=2 --- README.md | 4 +- cities/chemnitz.json | 70 ++------------------------------- cities/cities.json | 10 ++--- validation/markets-validator.js | 2 +- 4 files changed, 11 insertions(+), 75 deletions(-) diff --git a/README.md b/README.md index 725906a5..ed9c431b 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ state as the new version of the website available under [https://wo-ist-markt.de [bruehl-wikipedia]: https://de.wikipedia.org/wiki/Br%C3%BChl_(Rheinland) [bruehl-markets]: http://www.bruehl.de/wirtschaft/wirtschaftsfoerderung/wochenmaerkte.php [chemnitz-wikipedia]: https://en.wikipedia.org/wiki/Chemnitz -[chemnitz-markets]: http://chemnitz.de/chemnitz/de/aktuelles/ausschreibungen/marktausschreibung/index.html +[chemnitz-markets]: https://www.chemnitz.de/de/rathaus/ausschreibungen/marktausschreibungen/wochenmaerkte [cottbus-wikipedia]: https://de.wikipedia.org/wiki/Cottbus [cottbus-markets]: http://www.cottbuser-wochenmarkt.de/ [cuxhaven-wikipedia]: https://de.wikipedia.org/wiki/Cuxhaven @@ -285,7 +285,7 @@ state as the new version of the website available under [https://wo-ist-markt.de [kiel-wikipedia]: https://en.wikipedia.org/wiki/Kiel [kiel-markets]: https://www.kiel.de/touristik/maerkte/wochenmarkt.php [kleve-wikipedia]: https://en.wikipedia.org/wiki/Kleve -[kleve-markets]: https://www.kleve.de/de/inhalt/wochenmaerkte/ +[kleve-markets]: https://www.kleve.de/stadt-kleve/freizeit-und-kultur/veranstaltungen/wochenmaerkte-kleve [langenfeld-rhld-wikipedia]: https://de.wikipedia.org/wiki/Langenfeld_(Rheinland) [langenfeld-rhld-markets]: http://langenfeld.active-city.net/city_info/display/dokument/show.cfm?region_id=138&id=4240&design_id=3340&type_id=0&titletext=1 [laupheim-wikipedia]: https://de.wikipedia.org/wiki/Laupheim diff --git a/cities/chemnitz.json b/cities/chemnitz.json index acbd368c..678f5bf8 100644 --- a/cities/chemnitz.json +++ b/cities/chemnitz.json @@ -10,55 +10,7 @@ }, "properties": { "location": "Markt/Neumarkt", - "opening_hours": "Jan 09-Mar 03,Oct 30-Nov 16 Tu-Fr 09:00-16:00; Jan 09-Mar 03,Mar 06-Aug 18,Aug 28-Oct 27,Oct 30-Nov 16 Sa 09:00-13:00; Mar 06-Aug 18,Aug 28-Oct 27 Tu-Fr 09:00-17:00; Dec 31 08:00-12:00; Mar 24,Sep 15 09:00-15:00; Mar 26 09:00-17:00", - "opening_hours_unclassified": null, - "title": "Wochenmarkt" - }, - "type": "Feature" - }, - { - "geometry": { - "coordinates": [ - 12.921488285064695, - 50.834236363663706 - ], - "type": "Point" - }, - "properties": { - "location": "Am Roten Turm", - "opening_hours": "Nov 20,Nov 22-Dec 21 Tu-Fr 09:00-16:00; Nov 24,Dec 22 Sa 08:00-13:00", - "opening_hours_unclassified": null, - "title": "Wochenmarkt" - }, - "type": "Feature" - }, - { - "geometry": { - "coordinates": [ - 12.917357683181763, - 50.831542838072934 - ], - "type": "Point" - }, - "properties": { - "location": "Rosenhof", - "opening_hours": "Aug 21-24 Tu-Fr 09:00-17:00", - "opening_hours_unclassified": null, - "title": "Wochenmarkt" - }, - "type": "Feature" - }, - { - "geometry": { - "coordinates": [ - 12.923301458358765, - 50.840740841067756 - ], - "type": "Point" - }, - "properties": { - "location": "Georgstraße", - "opening_hours": "Tu,Th,Fr 09:00-17:00; Sa 08:00-12:00; Dec 24,31 08:00-12:00", + "opening_hours": "Jan 02-Mar 30 Tu-Fr 09:00-16:00 Sa 09:00-13:00; Apr 01-Dez 31 Tu-Fr 09:00-17:00 Sa 09:00-13:00;", "opening_hours_unclassified": null, "title": "Wochenmarkt" }, @@ -74,23 +26,7 @@ }, "properties": { "location": "Ernst-Enge-Straße", - "opening_hours": "Mo-Fr 09:00-17:00; Sa 08:00-12:00", - "opening_hours_unclassified": null, - "title": "Wochenmarkt" - }, - "type": "Feature" - }, - { - "geometry": { - "coordinates": [ - 12.88770318031311, - 50.80545333878353 - ], - "type": "Point" - }, - "properties": { - "location": "Dr.-Salvador-Allende-Straße", - "opening_hours": "Mo-Fr 09:00-16:00; Dec 22,24,29,31 08:00-12:00", + "opening_hours": "Jan 02-Dez 31 Mo-Fr 09:00-17:00; Sa 08:00-12:00", "opening_hours_unclassified": null, "title": "Wochenmarkt" }, @@ -100,7 +36,7 @@ "metadata": { "data_source": { "title": "Stadt Chemnitz", - "url": "https://www.chemnitz.de/chemnitz/de/rathaus/ausschreibungen/marktausschreibungen/index.html" + "url": "https://www.chemnitz.de/de/rathaus/ausschreibungen/marktausschreibungen/wochenmaerkte" } }, "type": "FeatureCollection" diff --git a/cities/cities.json b/cities/cities.json index b9ce5446..f42bc3cb 100644 --- a/cities/cities.json +++ b/cities/cities.json @@ -75,7 +75,7 @@ "id": "bremen", "label": "Bremen", "coordinates": [ - 53.080, + 53.08, 8.80007 ] }, @@ -268,7 +268,7 @@ "label": "Heidelberg", "coordinates": [ 49.4094, - 8.6950 + 8.695 ] }, "herne": { @@ -515,7 +515,7 @@ "id": "rastatt", "label": "Rastatt", "coordinates": [ - 48.857750, + 48.85775, 8.202447 ] }, @@ -524,7 +524,7 @@ "label": "Rheinstetten", "coordinates": [ 48.974798, - 8.312010 + 8.31201 ] }, "rostock": { @@ -687,4 +687,4 @@ 12.5 ] } -} +} \ No newline at end of file diff --git a/validation/markets-validator.js b/validation/markets-validator.js index d3b121cc..0e381d49 100644 --- a/validation/markets-validator.js +++ b/validation/markets-validator.js @@ -52,7 +52,7 @@ var MIN_LONGITUDE = -180.0; * is impossible for us to resolve the issue. * The aim is to keep this count as low as possible. */ -var ACCEPTABLE_WARNINGS_COUNT = 1; // Mallorca:403(user-agent) +var ACCEPTABLE_WARNINGS_COUNT = 2; // Marl IPv6, Chemnitz user agent var exitCode = 0; From 7a57d84194d42a860d8850f07f1ceaf0df6feca4 Mon Sep 17 00:00:00 2001 From: Martin Weis Date: Tue, 10 Dec 2024 19:40:56 +0100 Subject: [PATCH 3/3] Datetime corrected (Dec, not Dez) --- cities/chemnitz.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cities/chemnitz.json b/cities/chemnitz.json index 678f5bf8..cdf95851 100644 --- a/cities/chemnitz.json +++ b/cities/chemnitz.json @@ -10,7 +10,7 @@ }, "properties": { "location": "Markt/Neumarkt", - "opening_hours": "Jan 02-Mar 30 Tu-Fr 09:00-16:00 Sa 09:00-13:00; Apr 01-Dez 31 Tu-Fr 09:00-17:00 Sa 09:00-13:00;", + "opening_hours": "Jan 02-Mar 30 Tu-Fr 09:00-16:00, Sa 09:00-13:00; Apr 01-Dec 31 Tu-Fr 09:00-17:00, Sa 09:00-13:00", "opening_hours_unclassified": null, "title": "Wochenmarkt" }, @@ -26,7 +26,7 @@ }, "properties": { "location": "Ernst-Enge-Straße", - "opening_hours": "Jan 02-Dez 31 Mo-Fr 09:00-17:00; Sa 08:00-12:00", + "opening_hours": "Jan 02-Dec 31 Mo-Fr 09:00-17:00; Sa 08:00-12:00", "opening_hours_unclassified": null, "title": "Wochenmarkt" },