Skip to content

Commit

Permalink
Convert json -> xml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnuessli committed Mar 14, 2024
1 parent 4e9c821 commit 14eed74
Show file tree
Hide file tree
Showing 12 changed files with 81 additions and 65 deletions.
4 changes: 4 additions & 0 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5821,3 +5821,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11716455122', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11716455123', 'properties': {'barrier': 'gate', 'id': 'node/11716455123'}, 'geometry': {'type': 'Point', 'coordinates': [8.5149784, 47.5844221]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11716455146', 'properties': {'barrier': 'gate', 'id': 'node/11716455146'}, 'geometry': {'type': 'Point', 'coordinates': [8.5136662, 47.5825297]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11717121349', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11717121349'}, 'geometry': {'type': 'Point', 'coordinates': [8.53914, 47.3374752]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11722110601', 'properties': {'barrier': 'gate', 'id': 'node/11722110601'}, 'geometry': {'type': 'Point', 'coordinates': [8.5137961, 47.1708244]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11722311398', 'properties': {'barrier': 'gate', 'id': 'node/11722311398'}, 'geometry': {'type': 'Point', 'coordinates': [8.4946016, 47.6055522]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11724267082', 'properties': {'access': 'private', 'barrier': 'gate', 'gate:type': 'rolling', 'id': 'node/11724267082'}, 'geometry': {'type': 'Point', 'coordinates': [8.5776865, 47.2832275]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11725355055', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11725355055'}, 'geometry': {'type': 'Point', 'coordinates': [8.5836795, 47.268119]}}"
1 change: 1 addition & 0 deletions data/csv/access/gates/gates_kt_zg.csv
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11371256944', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11708701946', 'properties': {'access': 'no', 'barrier': 'lift_gate', 'bus': 'designated', 'lift_gate:type': 'single', 'id': 'node/11708701946'}, 'geometry': {'type': 'Point', 'coordinates': [8.5273704, 47.1740182]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11709113748', 'properties': {'barrier': 'gate', 'locked': 'yes', 'vehicle': 'no', 'id': 'node/11709113748'}, 'geometry': {'type': 'Point', 'coordinates': [8.4527889, 47.1909979]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11711204278', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'motor_vehicle': 'permissive', 'id': 'node/11711204278'}, 'geometry': {'type': 'Point', 'coordinates': [8.5162308, 47.1945797]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11722110601', 'properties': {'barrier': 'gate', 'id': 'node/11722110601'}, 'geometry': {'type': 'Point', 'coordinates': [8.5137961, 47.1708244]}}"
3 changes: 3 additions & 0 deletions data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5066,3 +5066,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11716455122', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11716455123', 'properties': {'barrier': 'gate', 'id': 'node/11716455123'}, 'geometry': {'type': 'Point', 'coordinates': [8.5149784, 47.5844221]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11716455146', 'properties': {'barrier': 'gate', 'id': 'node/11716455146'}, 'geometry': {'type': 'Point', 'coordinates': [8.5136662, 47.5825297]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11717121349', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11717121349'}, 'geometry': {'type': 'Point', 'coordinates': [8.53914, 47.3374752]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11722311398', 'properties': {'barrier': 'gate', 'id': 'node/11722311398'}, 'geometry': {'type': 'Point', 'coordinates': [8.4946016, 47.6055522]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11724267082', 'properties': {'access': 'private', 'barrier': 'gate', 'gate:type': 'rolling', 'id': 'node/11724267082'}, 'geometry': {'type': 'Point', 'coordinates': [8.5776865, 47.2832275]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11725355055', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11725355055'}, 'geometry': {'type': 'Point', 'coordinates': [8.5836795, 47.268119]}}"
8 changes: 5 additions & 3 deletions data/csv/defis/defis_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/8592093328', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/8592104302', 'properties': {'access': 'no', 'defibrillator:location': 'Im nördlichen Büroteil, 1. Stock über dem Fitnessstudio.', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 08:00-12:00,13:15-17:00', 'operator': 'Gossweiler Ingenieure AG', 'phone': '044 802 77 11', 'id': 'node/8592104302'}, 'geometry': {'type': 'Point', 'coordinates': [8.5416894, 47.521292]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8592488919', 'properties': {'access': 'yes', 'defibrillator:location': 'Bei der roten Türe zum Rescueshop direkt zur Mettlengasse', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Rescuetools A.Melliger', 'phone': '+41800118144', 'id': 'node/8592488919'}, 'geometry': {'type': 'Point', 'coordinates': [8.5760504, 47.4314032]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8592581718', 'properties': {'access': 'yes', 'defibrillator:location': '2. OG Empfang Lohwisstrasse 50 Bei Eintritt links durch die Türe in den Gang, dort sofort ersichtlich', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 07:30-12:00,13:00-17:00', 'operator': 'Procamed', 'phone': '+41 52 368 60 00', 'id': 'node/8592581718'}, 'geometry': {'type': 'Point', 'coordinates': [8.6429328, 47.3577271]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8592626283', 'properties': {'access': 'no', 'defibrillator:location': 'Seebad Oberrieden bei Abfallcontainern, zwischen Badikiosk und Badmeisterraum', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Gemeinde Oberrieden / Badmeister Oggenfuss, Schrepfer, Barmettler', 'phone': '+41 44 720 07 58', 'id': 'node/8592626283'}, 'geometry': {'type': 'Point', 'coordinates': [8.5821339, 47.276282]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8592626283', 'properties': {'access': 'no', 'defibrillator:location': 'Büro Bademeister', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Gemeinde Oberrieden', 'phone': '+41 44 720 07 58', 'id': 'node/8592626283'}, 'geometry': {'type': 'Point', 'coordinates': [8.5822224, 47.2762656]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8597448710', 'properties': {'access': 'no', 'defibrillator:location': 'Bei Familie Neufeld läuten', 'description': 'nur bei Anwesenheit Familie verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Uri Neufeld', 'phone': '+41 76 503 73 49', 'id': 'node/8597448710'}, 'geometry': {'type': 'Point', 'coordinates': [8.5288922, 47.3581896]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8599184511', 'properties': {'access': 'yes', 'defibrillator:location': 'Eingang Service Werkstatt / rechte Seite vor Treppenaufgang', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 08:00-12:00,13:30-17:00', 'operator': 'Firma KYBURZ Switzerland AG / René Stoll', 'phone': '0448656363', 'id': 'node/8599184511'}, 'geometry': {'type': 'Point', 'coordinates': [8.5832703, 47.529066]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8599194803', 'properties': {'access': 'yes', 'defibrillator:location': 'EG Ladestation Stapler bei der Logistik', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 08:00-12:00,13:30-17:00', 'operator': 'Firma KYBURZ Switzerland AG / René Stoll', 'phone': '+41 44 865 63 63', 'id': 'node/8599194803'}, 'geometry': {'type': 'Point', 'coordinates': [8.5912191, 47.5080389]}}"
Expand Down Expand Up @@ -1537,7 +1537,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/9094570217', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/9105841317', 'properties': {'access': 'yes', 'defibrillator:location': 'Schulhaus Wygarten bei Hallenbadeingang', 'description': 'nur während Öffnungszeiten zugänglich', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 07:30-22:00', 'operator': 'Schule', 'phone': '+41 78 601 96 06', 'id': 'node/9105841317'}, 'geometry': {'type': 'Point', 'coordinates': [8.4633508, 47.2463268]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9107168038', 'properties': {'access': 'yes', 'defibrillator:location': 'Bei Eingang rechts', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Su 08:00-18:00', 'operator': 'Kath. Kirchgemeinde Uster', 'phone': '+41 44 944 85 48', 'id': 'node/9107168038'}, 'geometry': {'type': 'Point', 'coordinates': [8.7236662, 47.3494284]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9112746806', 'properties': {'access': 'yes', 'defibrillator:location': 'Östlich auf der Seite der Bannstrasse beim Velounterstand', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'eTeam plus AG Bannstr. 1 - Steinhausen / Martin Hausheer', 'phone': '+41 79 339 29 05', 'id': 'node/9112746806'}, 'geometry': {'type': 'Point', 'coordinates': [8.4851119, 47.1978204]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9112938930', 'properties': {'access': 'yes', 'defibrillator:location': 'Erdgeschoss im Treppenhaus zur Bibliothek', 'description': 'während Öffnungszeiten oder Anlässe im Gemeindesaal verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Gemeindeverwaltung Steinhausen', 'phone': '+41 41 748 11 55', 'id': 'node/9112938930'}, 'geometry': {'type': 'Point', 'coordinates': [8.4834736, 47.1964293]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9112938930', 'properties': {'access': 'yes', 'defibrillator:location': 'Erdgeschoss im Treppenhaus zur Bibliothek, beim Feuerlöscher', 'description': 'während Öffnungszeiten oder Anlässe im Gemeindesaal verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Gemeindeverwaltung Steinhausen', 'phone': '+41 41 748 11 55', 'ref': 'ZOLL AED 3', 'id': 'node/9112938930'}, 'geometry': {'type': 'Point', 'coordinates': [8.4834736, 47.1964293]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9113383211', 'properties': {'access': 'yes', 'defibrillator:location': 'Restaurant Grüne Gans links vor dem Haupteingang', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': 'Mo-Su 09:00-17:00', 'operator': 'Natur und Tierpark Goldau', 'phone': '+41 41 859 06 06', 'id': 'node/9113383211'}, 'geometry': {'type': 'Point', 'coordinates': [8.5570742, 47.053058]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9115252217', 'properties': {'access': 'no', 'defibrillator:location': 'Colt Technology services AG', 'description': 'nur zu Bürozeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Colt Technology Services AG', 'phone': '+41585601600', 'id': 'node/9115252217'}, 'geometry': {'type': 'Point', 'coordinates': [8.4935273, 47.3879521]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9117239117', 'properties': {'access': 'no', 'defibrillator:location': 'Eingang Links', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 07:15-18:15', 'operator': 'A. Bruhin AG', 'id': 'node/9117239117'}, 'geometry': {'type': 'Point', 'coordinates': [8.8383913, 47.1895931]}}"
Expand Down Expand Up @@ -2880,7 +2880,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10962060005', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10963359805', 'properties': {'access': 'yes', 'defibrillator:location': 'Eingang Betriebsgebäude', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG', 'opening_hours': '24/7', 'operator': 'ARA Bachwis', 'phone': '+41433553333', 'id': 'node/10963359805'}, 'geometry': {'type': 'Point', 'coordinates': [8.6430628, 47.3799644]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10970275205', 'properties': {'access': 'yes', 'defibrillator:location': 'Gemeindehaus Otelfingen', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Politische Gemeinde Otelfingen', 'phone': '+41 44 847 20 47', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10970275205'}, 'geometry': {'type': 'Point', 'coordinates': [8.3881474, 47.4624872]}}"
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/10973218010', 'properties': {'access': 'yes', '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 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]}}"
Expand Down Expand Up @@ -3301,3 +3301,5 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11704203671', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11716085268', 'properties': {'access': 'permit', 'defibrillator:location': '5. OG Empfang\n1183LTM', 'description': 'Oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '5.OG', 'name': 'CMS von Erlach Partners AG', 'opening_hours': 'Mo-Fr 08:00-19:00', 'operator': 'Lifetec AG Schweiz', 'phone': '+41 800 122 144', 'id': 'node/11716085268'}, 'geometry': {'type': 'Point', 'coordinates': [8.5381509, 47.3674248]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11718109869', 'properties': {'access': 'yes', 'defibrillator:location': 'Steakhouse Bahnhof', 'description': 'Während Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '1', 'opening_hours': 'Mo-Su 11:00-23:00', 'operator': 'Bahnhöfli GmbH', 'phone': '+41793775373', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11718109869'}, 'geometry': {'type': 'Point', 'coordinates': [8.4579604, 47.2442503]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11721951571', 'properties': {'access': 'yes', 'defibrillator:location': 'Haupteingang Keller AG', 'description': 'Während den Bürozeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'opening_hours': 'Mo-Fr 6:00-18:00', 'operator': 'Keller Druckmesstechnik AG', 'id': 'node/11721951571'}, 'geometry': {'type': 'Point', 'coordinates': [8.7475329, 47.4985308]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11722110669', 'properties': {'access': 'no', 'defibrillator:location': 'Firma: Nova Swiss', 'description': 'während Öffungszeiten verfügbar (an Empfang / Rezeption wenden) ', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': 'Mo - Fr 08:00 - 17:00', 'operator': 'Nova Werke AG', 'phone': '+41 52 354 16 16', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11722110669'}, 'geometry': {'type': 'Point', 'coordinates': [8.6813565, 47.4190043]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11723311466', 'properties': {'access': 'permit', 'defibrillator:location': 'EG, neben Werkstatt Büro in blauer Schrank\n\n0849LTM', 'description': 'Oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'name': 'Emil Frey Altendorf', 'opening_hours': 'Mo-Fr 08:00- 11:30 13:00-16:00', 'operator': 'Lifetec AG Schweiz', 'phone': '+41 800 122 144', 'id': 'node/11723311466'}, 'geometry': {'type': 'Point', 'coordinates': [8.8497464, 47.1848141]}}"
Loading

0 comments on commit 14eed74

Please sign in to comment.