Skip to content

Commit

Permalink
Convert json -> xml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnuessli committed Feb 6, 2024
1 parent 237d914 commit ba902dc
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 11 deletions.
2 changes: 2 additions & 0 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4785,6 +4785,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/9758776314', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/9758828946', 'properties': {'barrier': 'gate', 'id': 'node/9758828946'}, 'geometry': {'type': 'Point', 'coordinates': [8.513297099999999, 47.3631207]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9758828950', 'properties': {'barrier': 'gate', 'id': 'node/9758828950'}, 'geometry': {'type': 'Point', 'coordinates': [8.5130793, 47.363036]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9758842805', 'properties': {'barrier': 'gate', 'id': 'node/9758842805'}, 'geometry': {'type': 'Point', 'coordinates': [8.5097982, 47.3632073]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9761637177', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/9761637177'}, 'geometry': {'type': 'Point', 'coordinates': [8.951879, 47.2967329]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9761961714', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/9761961714'}, 'geometry': {'type': 'Point', 'coordinates': [8.678565, 47.2603944]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9761974652', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/9761974652'}, 'geometry': {'type': 'Point', 'coordinates': [8.6784254, 47.2601923]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9762037716', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/9762037716'}, 'geometry': {'type': 'Point', 'coordinates': [8.8535705, 47.2020993]}}"
Expand Down Expand Up @@ -5744,3 +5745,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11569259844', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11570992940', 'properties': {'barrier': 'gate', 'id': 'node/11570992940'}, 'geometry': {'type': 'Point', 'coordinates': [8.6311963, 47.2720796]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11579626337', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11579626337'}, 'geometry': {'type': 'Point', 'coordinates': [8.6188238, 47.4813794]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11581624452', 'properties': {'barrier': 'gate', 'id': 'node/11581624452'}, 'geometry': {'type': 'Point', 'coordinates': [8.7368126, 47.5138793]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11583905511', 'properties': {'barrier': 'gate', 'id': 'node/11583905511'}, 'geometry': {'type': 'Point', 'coordinates': [8.5259337, 47.3799565]}}"
2 changes: 2 additions & 0 deletions data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4153,6 +4153,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/9758776314', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/9758828946', 'properties': {'barrier': 'gate', 'id': 'node/9758828946'}, 'geometry': {'type': 'Point', 'coordinates': [8.513297099999999, 47.3631207]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9758828950', 'properties': {'barrier': 'gate', 'id': 'node/9758828950'}, 'geometry': {'type': 'Point', 'coordinates': [8.5130793, 47.363036]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9758842805', 'properties': {'barrier': 'gate', 'id': 'node/9758842805'}, 'geometry': {'type': 'Point', 'coordinates': [8.5097982, 47.3632073]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9761637177', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/9761637177'}, 'geometry': {'type': 'Point', 'coordinates': [8.951879, 47.2967329]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9761961714', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/9761961714'}, 'geometry': {'type': 'Point', 'coordinates': [8.678565, 47.2603944]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9761974652', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/9761974652'}, 'geometry': {'type': 'Point', 'coordinates': [8.6784254, 47.2601923]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9772725018', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/9772725018'}, 'geometry': {'type': 'Point', 'coordinates': [8.7290707, 47.4783709]}}"
Expand Down Expand Up @@ -4995,3 +4996,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11569259844', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11570992940', 'properties': {'barrier': 'gate', 'id': 'node/11570992940'}, 'geometry': {'type': 'Point', 'coordinates': [8.6311963, 47.2720796]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11579626337', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11579626337'}, 'geometry': {'type': 'Point', 'coordinates': [8.6188238, 47.4813794]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11581624452', 'properties': {'barrier': 'gate', 'id': 'node/11581624452'}, 'geometry': {'type': 'Point', 'coordinates': [8.7368126, 47.5138793]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11583905511', 'properties': {'barrier': 'gate', 'id': 'node/11583905511'}, 'geometry': {'type': 'Point', 'coordinates': [8.5259337, 47.3799565]}}"
6 changes: 4 additions & 2 deletions data/csv/defis/defis_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/9625620056', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/9625633025', 'properties': {'access': 'no', 'defibrillator:location': 'im unteren Foyer des Gemeindesaals (Schinzenhofsaal)', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Gemeindeverwaltung Horgen / Neidhart Monika', 'phone': '+41 44 728 41 11', 'id': 'node/9625633025'}, 'geometry': {'type': 'Point', 'coordinates': [8.596901, 47.2604024]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9628005316', 'properties': {'access': 'yes', 'defibrillator:location': 'Neben dem Haupteingang vom Schulhaus, direkt an der Dorfstrasse', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'id': 'node/9628005316'}, 'geometry': {'type': 'Point', 'coordinates': [8.6619117, 47.7402153]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9628048120', 'properties': {'access': 'yes', 'defibrillator:location': 'Beim Empfang im Erdgeschoss des Bürogebäudes, hintere linke Ecke', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 08:00-12:00, 13:00-16:30', 'operator': 'Elma Electronic AG / Daniel Kälin', 'phone': '+41 44 933 41 11', 'id': 'node/9628048120'}, 'geometry': {'type': 'Point', 'coordinates': [8.7978427, 47.3090688]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9628051837', 'properties': {'access': 'yes', 'defibrillator:location': 'Neben dem Eingang zum Dorfladen im Zwischengang zwischen Gemeindekanzlei und Dorfladen.', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'id': 'node/9628051837'}, 'geometry': {'type': 'Point', 'coordinates': [8.6583209, 47.7385189]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9628051837', 'properties': {'access': 'yes', 'defibrillator:location': 'Neben dem Eingang zum Dorfladen im Zwischengang zwischen Gemeindekanzlei und Dorfladen im grünen Kasten.', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Stetten', 'wheelchair': 'yes', 'id': 'node/9628051837'}, 'geometry': {'type': 'Point', 'coordinates': [8.6583361, 47.7384132]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9628058472', 'properties': {'access': 'no', 'defibrillator:location': 'Eingangsbereich nach links im Sanitätsraum (Bademeister)', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Su 10:00-21:00', 'operator': 'Medtronic', 'phone': '+41 33 334 11 11', 'id': 'node/9628058472'}, 'geometry': {'type': 'Point', 'coordinates': [8.4692909, 47.240981]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9630319017', 'properties': {'access': 'yes', 'defibrillator:location': 'Autohalle Andelfingen bei Garderobe.\nNext to the reception.', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': '24/7', 'operator': 'Autohalle Andelfingen', 'wheelchair': 'no', 'id': 'node/9630319017'}, 'geometry': {'type': 'Point', 'coordinates': [8.6920456, 47.5935447]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9631134217', 'properties': {'access': 'no', 'defibrillator:location': 'Seminar & Wellness Hotel', 'description': 'bei Reception\n', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': '24/7', 'id': 'node/9631134217'}, 'geometry': {'type': 'Point', 'coordinates': [8.6659472, 46.9822845]}}"
Expand Down Expand Up @@ -2888,7 +2888,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10970275205', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10970405205', 'properties': {'access': 'yes', 'defibrillator:location': 'Kiosk Minigolf', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Einwohnergemeinde Unterägeri', 'phone': '+41 41 754 55 07', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10970405205'}, 'geometry': {'type': 'Point', 'coordinates': [8.5878911, 47.1363675]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10973218010', 'properties': {'access': '24/7', 'defibrillator:location': 'Aussenwand am Schulhaus Untermosen', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'operator': 'Stadt Wädenswil', 'id': 'node/10973218010'}, 'geometry': {'type': 'Point', 'coordinates': [8.6597666, 47.2282204]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10973228906', 'properties': {'access': 'yes', 'defibrillator:location': 'Spirax Sarco AG, Gustav Maurer Strasse 9', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '1', 'opening_hours': 'Mo-Fr 08:00-17:00', 'operator': 'Firma', 'phone': '+41443968000', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10973228906'}, 'geometry': {'type': 'Point', 'coordinates': [8.5747647, 47.3421125]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10973830105', 'properties': {'access': 'yes', 'defibrillator:location': 'Aussenfassade an der Bushaltestelle, rechts vom Eingang zwischen Fahrplan und Hydrant im weissen Kasten.', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Hallau', 'phone': '+41 52 687 08 50', 'source': 'local_knowledge, defikarte.ch', 'wheelchair': 'yes', 'id': 'node/10973830105'}, 'geometry': {'type': 'Point', 'coordinates': [8.4596872, 47.6975992]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10973830105', 'properties': {'access': 'yes', 'defibrillator:location': 'Aussenfassade am Schulhaus, rechts vom Eingang im grünen Kasten.', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Hallau', 'phone': '+41 52 687 08 50', 'source': 'local_knowledge, defikarte.ch', 'wheelchair': 'no', 'id': 'node/10973830105'}, 'geometry': {'type': 'Point', 'coordinates': [8.4596872, 47.6975992]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10976364705', 'properties': {'access': 'no', 'defibrillator:location': 'beim Empfang, Gemeindehaus, Zentralstrasse 21, 8604 Volketswil', 'description': 'nur während den Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': 'Mo-Fr', 'operator': 'Gemeinde Volketswil, Abteilung Liegenschaften', 'phone': '+41449102420', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10976364705'}, 'geometry': {'type': 'Point', 'coordinates': [8.6836731, 47.3888776]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10976936005', 'properties': {'access': 'no', 'defibrillator:location': 'Reservatstrasse 1 ,8953 Dietikon,Dispo Transport', 'description': 'während Arbeitszeit verfügbar ', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'opening_hours': 'Mo-Fr 05:00-18:00', 'operator': 'Coop Verteilzentrale', 'id': 'node/10976936005'}, 'geometry': {'type': 'Point', 'coordinates': [8.3996216, 47.4145574]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10977176305', 'properties': {'access': 'no', 'defibrillator:location': 'Im Erdgeschoss / Sanitätsraum', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': 'Mo-Fr 08:00-17:00', 'operator': 'AOZ - Asylorganisation Zürich', 'phone': '+41 44 415 65 00', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10977176305'}, 'geometry': {'type': 'Point', 'coordinates': [8.5435599, 47.4160989]}}"
Expand Down Expand Up @@ -3235,3 +3235,5 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11579066669', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11579506069', 'properties': {'access': 'no', 'defibrillator:location': 'Activ Fitness', 'description': 'Während Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG', 'opening_hours': '24/7', 'id': 'node/11579506069'}, 'geometry': {'type': 'Point', 'coordinates': [8.4873562, 47.3914489]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11580402270', 'properties': {'access': 'no', 'defibrillator:location': 'dachlissen 27, 8932 Mettmenstetten', 'description': 'während den Öffnungszeiten-flexibel', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '1.OG', 'operator': 'Familienbetrieb', 'phone': '+41793732128', 'id': 'node/11580402270'}, 'geometry': {'type': 'Point', 'coordinates': [8.4379878, 47.259292]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11581729469', 'properties': {'access': 'yes', 'defibrillator:location': 'Bäckerei Steiner', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG', 'id': 'node/11581729469'}, 'geometry': {'type': 'Point', 'coordinates': [8.8401052, 47.3001274]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11583826329', 'properties': {'access': 'yes', 'defibrillator:location': 'Eingang Tierpark', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeindeverwaltung Arth', 'phone': '+41 41 859 02 02', 'id': 'node/11583826329'}, 'geometry': {'type': 'Point', 'coordinates': [8.553465899999999, 47.051596]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11584300070', 'properties': {'access': 'yes', 'defibrillator:location': 'Weid-Kafi am Gebäude Hinterseite', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'Aussenwand', 'opening_hours': '24/7', 'operator': 'stiftung zzr weid', 'phone': '+41447685080', 'id': 'node/11584300070'}, 'geometry': {'type': 'Point', 'coordinates': [8.4846568, 47.2315937]}}"
1 change: 1 addition & 0 deletions data/csv/defis/defis_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2437,3 +2437,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11579066669', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11579506069', 'properties': {'access': 'no', 'defibrillator:location': 'Activ Fitness', 'description': 'Während Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG', 'opening_hours': '24/7', 'id': 'node/11579506069'}, 'geometry': {'type': 'Point', 'coordinates': [8.4873562, 47.3914489]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11580402270', 'properties': {'access': 'no', 'defibrillator:location': 'dachlissen 27, 8932 Mettmenstetten', 'description': 'während den Öffnungszeiten-flexibel', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '1.OG', 'operator': 'Familienbetrieb', 'phone': '+41793732128', 'id': 'node/11580402270'}, 'geometry': {'type': 'Point', 'coordinates': [8.4379878, 47.259292]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11581729469', 'properties': {'access': 'yes', 'defibrillator:location': 'Bäckerei Steiner', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG', 'id': 'node/11581729469'}, 'geometry': {'type': 'Point', 'coordinates': [8.8401052, 47.3001274]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11584300070', 'properties': {'access': 'yes', 'defibrillator:location': 'Weid-Kafi am Gebäude Hinterseite', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'Aussenwand', 'opening_hours': '24/7', 'operator': 'stiftung zzr weid', 'phone': '+41447685080', 'id': 'node/11584300070'}, 'geometry': {'type': 'Point', 'coordinates': [8.4846568, 47.2315937]}}"
Loading

0 comments on commit ba902dc

Please sign in to comment.