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 24, 2024
1 parent ae8dc95 commit 99fb627
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,8 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2074410950', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2074900022', 'properties': {'barrier': 'gate', 'id': 'node/2074900022'}, 'geometry': {'type': 'Point', 'coordinates': [8.8496393, 47.0636125]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075319021', 'properties': {'barrier': 'gate', 'id': 'node/2075319021'}, 'geometry': {'type': 'Point', 'coordinates': [8.8574096, 47.0532258]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075931082', 'properties': {'barrier': 'gate', 'id': 'node/2075931082'}, 'geometry': {'type': 'Point', 'coordinates': [8.8529816, 47.0309605]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075931238', 'properties': {'access': 'no', 'barrier': 'lift_gate', 'id': 'node/2075931238'}, 'geometry': {'type': 'Point', 'coordinates': [8.8608422, 47.0428253]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075931285', 'properties': {'access': 'no', 'barrier': 'lift_gate', 'id': 'node/2075931285'}, 'geometry': {'type': 'Point', 'coordinates': [8.861163, 47.0460257]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2076006626', 'properties': {'barrier': 'gate', 'id': 'node/2076006626'}, 'geometry': {'type': 'Point', 'coordinates': [8.4416768, 47.144854]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2077998580', 'properties': {'barrier': 'lift_gate', 'id': 'node/2077998580'}, 'geometry': {'type': 'Point', 'coordinates': [8.8903053, 47.1740537]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2078651564', 'properties': {'barrier': 'lift_gate', 'id': 'node/2078651564'}, 'geometry': {'type': 'Point', 'coordinates': [8.5492954, 47.0624607]}}"
Expand Down Expand Up @@ -1655,7 +1657,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2476829467', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2476829493', 'properties': {'access': 'no', 'barrier': 'gate', 'locked': 'yes', 'name': 'Tor 141.3', 'id': 'node/2476829493'}, 'geometry': {'type': 'Point', 'coordinates': [8.5667629, 47.4474636]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2476829543', 'properties': {'barrier': 'lift_gate', 'id': 'node/2476829543'}, 'geometry': {'type': 'Point', 'coordinates': [8.5656376, 47.4482699]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2476829574', 'properties': {'barrier': 'lift_gate', 'id': 'node/2476829574'}, 'geometry': {'type': 'Point', 'coordinates': [8.5648246, 47.4484894]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2476915929', 'properties': {'barrier': 'gate', 'material': 'wood', 'note': 'Hier ist eine Absperrung des Weges damit niemand hier weitergeht. Der Weg scheint aufgehoben worden zu sein.', 'id': 'node/2476915929'}, 'geometry': {'type': 'Point', 'coordinates': [8.6730371, 47.7168868]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2477778998', 'properties': {'barrier': 'gate', 'id': 'node/2477778998'}, 'geometry': {'type': 'Point', 'coordinates': [8.3794395, 47.5065805]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2479526630', 'properties': {'barrier': 'gate', 'id': 'node/2479526630'}, 'geometry': {'type': 'Point', 'coordinates': [8.7759262, 47.5669769]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2479526635', 'properties': {'barrier': 'gate', 'id': 'node/2479526635'}, 'geometry': {'type': 'Point', 'coordinates': [8.7750169, 47.5670078]}}"
Expand Down
1 change: 0 additions & 1 deletion data/csv/access/gates/gates_kt_sh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2288210577', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2288210634', 'properties': {'barrier': 'gate', 'id': 'node/2288210634'}, 'geometry': {'type': 'Point', 'coordinates': [8.6236722, 47.6998639]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2288210656', 'properties': {'barrier': 'gate', 'id': 'node/2288210656'}, 'geometry': {'type': 'Point', 'coordinates': [8.6257477, 47.7000322]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2311311600', 'properties': {'barrier': 'gate', 'id': 'node/2311311600'}, 'geometry': {'type': 'Point', 'coordinates': [8.6214968, 47.7012807]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2476915929', 'properties': {'barrier': 'gate', 'material': 'wood', 'note': 'Hier ist eine Absperrung des Weges damit niemand hier weitergeht. Der Weg scheint aufgehoben worden zu sein.', 'id': 'node/2476915929'}, 'geometry': {'type': 'Point', 'coordinates': [8.6730371, 47.7168868]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2842902476', 'properties': {'barrier': 'gate', 'id': 'node/2842902476'}, 'geometry': {'type': 'Point', 'coordinates': [8.6637896, 47.7793768]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2859246775', 'properties': {'barrier': 'gate', 'id': 'node/2859246775'}, 'geometry': {'type': 'Point', 'coordinates': [8.5095805, 47.7248452]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2859274470', 'properties': {'barrier': 'gate', 'id': 'node/2859274470'}, 'geometry': {'type': 'Point', 'coordinates': [8.5170406, 47.7154166]}}"
Expand Down
2 changes: 2 additions & 0 deletions data/csv/access/gates/gates_kt_sz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2074410950', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2074900022', 'properties': {'barrier': 'gate', 'id': 'node/2074900022'}, 'geometry': {'type': 'Point', 'coordinates': [8.8496393, 47.0636125]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075319021', 'properties': {'barrier': 'gate', 'id': 'node/2075319021'}, 'geometry': {'type': 'Point', 'coordinates': [8.8574096, 47.0532258]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075931082', 'properties': {'barrier': 'gate', 'id': 'node/2075931082'}, 'geometry': {'type': 'Point', 'coordinates': [8.8529816, 47.0309605]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075931238', 'properties': {'access': 'no', 'barrier': 'lift_gate', 'id': 'node/2075931238'}, 'geometry': {'type': 'Point', 'coordinates': [8.8608422, 47.0428253]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2075931285', 'properties': {'access': 'no', 'barrier': 'lift_gate', 'id': 'node/2075931285'}, 'geometry': {'type': 'Point', 'coordinates': [8.861163, 47.0460257]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2077998580', 'properties': {'barrier': 'lift_gate', 'id': 'node/2077998580'}, 'geometry': {'type': 'Point', 'coordinates': [8.8903053, 47.1740537]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2078651564', 'properties': {'barrier': 'lift_gate', 'id': 'node/2078651564'}, 'geometry': {'type': 'Point', 'coordinates': [8.5492954, 47.0624607]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2083291984', 'properties': {'barrier': 'gate', 'id': 'node/2083291984'}, 'geometry': {'type': 'Point', 'coordinates': [8.7792378, 47.1063237]}}"
Expand Down
3 changes: 1 addition & 2 deletions data/csv/defis/defis_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2842,7 +2842,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676173', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676174', 'properties': {'access': 'no', 'defibrillator:location': 'Gemeindehaus im Druckerraum', 'description': 'oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'latitude': '47.61354', 'longitude': '8.53643', 'name': 'Gemeinde Rafz', 'operator': 'Lifetec AG Schweiz', 'phone': '0800 122 144', 'id': 'node/10910676174'}, 'geometry': {'type': 'Point', 'coordinates': [8.53643, 47.61354]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676175', 'properties': {'access': 'no', 'defibrillator:location': 'Büro', 'description': 'oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'latitude': '47.39934', 'longitude': '8.45835', 'name': 'Binelli Automobile AG', 'operator': 'Lifetec AG Schweiz', 'phone': '0800 122 144', 'id': 'node/10910676175'}, 'geometry': {'type': 'Point', 'coordinates': [8.45835, 47.39934]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676176', 'properties': {'access': 'yes', 'defibrillator:location': 'Empfang', 'description': 'oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'latitude': '47.33176', 'longitude': '8.79985', 'name': 'Digipack AG', 'operator': 'Lifetec AG Schweiz', 'phone': '0800 122 144', 'id': 'node/10910676176'}, 'geometry': {'type': 'Point', 'coordinates': [8.79985, 47.33176]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676177', 'properties': {'access': 'no', 'defibrillator:location': 'Empfang;Future Camp', 'description': 'oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'latitude': '47.36889', 'longitude': '8.54096', 'name': 'Accenture AG', 'opening_hours': 'Mo-Fr 08:00-18:00', 'operator': 'Lifetec AG Schweiz', 'phone': '0800 122 144', 'id': 'node/10910676177'}, 'geometry': {'type': 'Point', 'coordinates': [8.54096, 47.36889]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676178', 'properties': {'access': 'no', 'defibrillator:location': 'Sanitätszimmer', 'description': 'oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'latitude': '47.38924', 'longitude': '8.52494', 'name': 'Migros-Genossenschafts-Bund', 'operator': 'Lifetec AG Schweiz', 'phone': '0800 122 144', 'id': 'node/10910676178'}, 'geometry': {'type': 'Point', 'coordinates': [8.52494, 47.38924]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676179', 'properties': {'access': 'yes', 'defibrillator:location': 'Lager, bei Kopierer', 'description': 'oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'latitude': '47.37709', 'longitude': '8.5113', 'name': 'Franz AG', 'opening_hours': 'Mo-Fr 07:00-18:00; Sa 09:00-16:00', 'operator': 'Lifetec AG Schweiz', 'phone': '0800 122 144', 'id': 'node/10910676179'}, 'geometry': {'type': 'Point', 'coordinates': [8.5113, 47.37709]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10910676180', 'properties': {'access': 'yes', 'defibrillator:location': 'Verkaufsbereich, rechts hinter Empfang', 'description': 'oranger Koffer', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'latitude': '47.37751', 'longitude': '8.51186', 'name': 'Franz AG', 'opening_hours': 'Mo-Fr 07:00-18:00; Sa 09:00-16:00', 'operator': 'Lifetec AG Schweiz', 'phone': '0800 122 144', 'id': 'node/10910676180'}, 'geometry': {'type': 'Point', 'coordinates': [8.51186, 47.37751]}}"
Expand Down Expand Up @@ -3098,7 +3097,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11333012469', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11343665369', 'properties': {'access': 'yes', 'defibrillator:location': 'Im Heumoos 11, 8906 Bonstetten', 'description': 'während Sprechstundenzeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'opening_hours': 'Mo-Fr 07:30-12:00, 13:30-18:00; Th 07:30-12:00', 'operator': 'Praxis im Heumoos AG', 'phone': '+41 44 701 9090', 'id': 'node/11343665369'}, 'geometry': {'type': 'Point', 'coordinates': [8.469505, 47.324801]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11346336784', 'properties': {'access': 'yes', 'defibrillator:location': 'Eingang Dreifachturnhalle ""Sunnegrund""', 'description': 'Zoll AED 3, mit Kindertaste und CPR Feedback. Inkl. Notfallset: Schere, Rasierer, Beatmungs-Folie, Taschenmaske in Hartbox mit Filter, Gummizug, Handschuhe und Alkoholpads.', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Steinhausen', 'phone': '+41 41 748 11 55', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11346336784'}, 'geometry': {'type': 'Point', 'coordinates': [8.4881306, 47.1977112]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11347034769', 'properties': {'access': 'no', 'defibrillator:location': 'Turnhalle Dreispitz, bei Haupteingang', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'id': 'node/11347034769'}, 'geometry': {'type': 'Point', 'coordinates': [8.660747, 47.72035]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11348207269', 'properties': {'access': 'no', 'defibrillator:location': 'Near front Desk', 'description': 'MO to FR ', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'MO-FR 08:00-17:00', 'operator': 'Company Tata Consultancy Services Switzerland Ltd', 'phone': '+41448324700', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11348207269'}, 'geometry': {'type': 'Point', 'coordinates': [8.5517621, 47.4138374]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11348207269', 'properties': {'access': 'no', 'defibrillator:location': 'Near front Desk', 'description': 'MO to FR', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 08:00-17:00', 'operator': 'Company Tata Consultancy Services Switzerland Ltd', 'phone': '+41448324700', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11348207269'}, 'geometry': {'type': 'Point', 'coordinates': [8.5517621, 47.4138374]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11348652969', 'properties': {'access': 'no', 'defibrillator:location': 'Logistikraum, links neben der Eingangstüre zum Bürotrakt', 'description': 'während Öffnungszeiten verfügbar, ausser Feiertage Kanton Zug, National Feiertage', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': '1', 'operator': 'OPED AG ', 'phone': '+41 41 748 53 35', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11348652969'}, 'geometry': {'type': 'Point', 'coordinates': [8.4791708, 47.186971]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11350444269', 'properties': {'access': 'no', 'defibrillator:location': 'Bahnhofstrasse 67, rosa Verwaltungsgebäude der Lactalis Suisse SA', 'description': 'befindet sich beim Eingang, wenn man gerade ausschaut', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'operator': 'Firma, Lactalis Suisse SA', 'phone': '+41 41 854 04 00', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11350444269'}, 'geometry': {'type': 'Point', 'coordinates': [8.4353167, 47.0848625]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11351257390', 'properties': {'access': 'no', 'defibrillator:location': 'im Sanitätszimmer E0.09', 'emergency': 'defibrillator', 'indoor': 'yes', 'operator': 'DZZ Druckzentrum Zürich AG', 'id': 'node/11351257390'}, 'geometry': {'type': 'Point', 'coordinates': [8.5200988, 47.3587581]}}"
Expand Down
Loading

0 comments on commit 99fb627

Please sign in to comment.