Skip to content

Commit

Permalink
Convert json -> xml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnuessli committed Dec 30, 2024
1 parent 075ba5a commit d4ddb42
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 29 deletions.
1 change: 1 addition & 0 deletions data/csv/defis/defis_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3863,3 +3863,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/12434978801', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/12436086201', 'properties': {'defibrillator:location': 'Rest. Gubel Öff. WC Anlage', 'description': 'Dauernd verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/12436086201'}, 'geometry': {'type': 'Point', 'coordinates': [8.5740191, 47.162386]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/12436486801', 'properties': {'access': 'yes', 'defibrillator:location': 'Pfadiheim Wulp', 'description': '24/7 zugänglich, alarmgesichert', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Verein Altpfadi Küsnacht-Erlenbach', 'id': 'node/12436486801'}, 'geometry': {'type': 'Point', 'coordinates': [8.6088478, 47.3157014]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/12451677901', 'properties': {'access': 'yes', 'defibrillator:location': 'Eingang Tiefgarage Überbauung Euli', 'description': 'immer Zugänlich', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Privat', 'id': 'node/12451677901'}, 'geometry': {'type': 'Point', 'coordinates': [8.5756088, 47.1387414]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/12458934101', 'properties': {'access': 'yes', 'defibrillator:location': 'Zeughausstrasse 60 im Windfang der Berufsfeuerwehr Winterthur', 'description': 'Im Windfang beim Haupteingang der Berufsfeuerwehr Winterthur', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': '24/7', 'operator': 'Stadt Winterthur, DSU, Schutz & Intervention Winterthur Feuerwehr', 'phone': '+41 52 267 61 00', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/12458934101'}, 'geometry': {'type': 'Point', 'coordinates': [8.7330633, 47.495241]}}"
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 @@ -2972,3 +2972,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/12433563301', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/12434971301', 'properties': {'access': 'permissive', 'defibrillator:location': 'Friesenberg 75', 'description': 'nur während Bürozeiten, vor Türe zum Lift', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': '08:00- 18:00', 'operator': 'Privat', 'id': 'node/12434971301'}, 'geometry': {'type': 'Point', 'coordinates': [8.5113685, 47.3675951]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/12434978801', 'properties': {'access': 'permissive', 'defibrillator:location': 'Friesenberg 75', 'description': 'Büros Hitachi Rail', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '3', 'opening_hours': '08:00-18:00', 'operator': 'Mobimo', 'id': 'node/12434978801'}, 'geometry': {'type': 'Point', 'coordinates': [8.5112787, 47.367623]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/12436486801', 'properties': {'access': 'yes', 'defibrillator:location': 'Pfadiheim Wulp', 'description': '24/7 zugänglich, alarmgesichert', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Verein Altpfadi Küsnacht-Erlenbach', 'id': 'node/12436486801'}, 'geometry': {'type': 'Point', 'coordinates': [8.6088478, 47.3157014]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/12458934101', 'properties': {'access': 'yes', 'defibrillator:location': 'Zeughausstrasse 60 im Windfang der Berufsfeuerwehr Winterthur', 'description': 'Im Windfang beim Haupteingang der Berufsfeuerwehr Winterthur', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': '24/7', 'operator': 'Stadt Winterthur, DSU, Schutz & Intervention Winterthur Feuerwehr', 'phone': '+41 52 267 61 00', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/12458934101'}, 'geometry': {'type': 'Point', 'coordinates': [8.7330633, 47.495241]}}"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'relation/3863808', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'relation/8319289', 'properties': {'addr:city': 'Einsiedeln', 'addr:country': 'CH', 'addr:housenumber': '1', 'addr:postcode': '8840', 'addr:street': 'Allmeindstrasse', 'amenity': 'social_facility', 'building': 'yes', 'name': 'Altersheim Langrüti', 'social_facility': 'nursing_home', 'type': 'multipolygon', 'website': 'https://www.langrueti-einsiedeln.ch', 'id': 'relation/8319289'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7411381, 47.1215277], [8.7413857, 47.1213711], [8.7415236, 47.121474], [8.741264900000001, 47.121635], [8.7413396, 47.1216899], [8.7414319, 47.1217582], [8.7413737, 47.121799], [8.7414002, 47.1218193], [8.741316, 47.1218728], [8.7412865, 47.1218498], [8.7411286, 47.1219469], [8.7409895, 47.1218389], [8.7411381, 47.121743], [8.7410723, 47.1216766], [8.7409032, 47.1216787], [8.740897799999999, 47.1216893], [8.7407987, 47.1216881], [8.7407932, 47.1216743], [8.7407554, 47.1216766], [8.7407536, 47.1216686], [8.7406445, 47.1216648], [8.7405828, 47.1214846], [8.7406505, 47.1212608], [8.7410215, 47.1212986], [8.7411381, 47.1215277]], [[8.7409651, 47.1213954], [8.7407747, 47.1214337], [8.7407837, 47.1215322], [8.7410761, 47.1215509], [8.7409651, 47.1213954]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'relation/13468273', 'properties': {'addr:city': 'Winterthur', 'addr:housenumber': '2', 'addr:postcode': '8408', 'addr:street': 'Gartenhof', 'alt_name': 'Alters- und Pflegeheim Gartenhof', 'amenity': 'social_facility', 'building': 'yes', 'contact:email': 'gartenhof@tertianum.ch', 'contact:phone': '+41 52 544 74 74', 'contact:website': 'https://www.tertianum.ch/de/tertianum-gartenhof-winterthur_url-correct', 'name': 'Tertianum Gartenhof', 'social_facility': 'nursing_home', 'type': 'multipolygon', 'id': 'relation/13468273'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.6888807, 47.5079836], [8.6881989, 47.5079914], [8.6880526, 47.507993], [8.6880426, 47.5075989], [8.6890165, 47.507588], [8.6890256, 47.5079823], [8.6888807, 47.5079836]], [[8.6886507, 47.5079029], [8.6888934, 47.5079029], [8.6888934, 47.5076775], [8.6886507, 47.5076775], [8.6886507, 47.5079029]], [[8.6881855, 47.5079091], [8.6884293, 47.5079091], [8.6884293, 47.5076884], [8.6881855, 47.5076884], [8.6881855, 47.5079091]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'relation/15021789', 'properties': {'addr:city': 'Volketswil', 'addr:country': 'CH', 'addr:housenumber': '6', 'addr:postcode': '8604', 'addr:street': 'In der Au', 'alt_name': 'Pflegezentrum VitaFutura;Altersheim VitraFutura', 'amenity': 'social_facility', 'building': 'yes', 'email': 'info@vitafutura.ch', 'name': 'Leben und Wohnen ""In der Au""', 'operator': 'Volketswil (VitaFutura AG)', 'operator:type': 'government', 'phone': '+41 43 399 36 00', 'social_facility': 'group_home', 'social_facility:for': 'senior', 'type': 'multipolygon', 'website': 'https://www.vitafutura.ch/', 'wheelchair': 'yes', 'id': 'relation/15021789'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.6890966, 47.3908639], [8.6891327, 47.3907191], [8.6891069, 47.3907178], [8.6891454, 47.3905608], [8.689150399999999, 47.3905618], [8.689171, 47.3904492], [8.6891553, 47.3904521], [8.6891422, 47.3903], [8.6890831, 47.3903039], [8.6890824, 47.3901473], [8.6891899, 47.3901464], [8.6891906, 47.3901272], [8.6894958, 47.3901331], [8.689537, 47.390256], [8.6895624, 47.3902588], [8.6895208, 47.3905281], [8.68946, 47.3905382], [8.689513, 47.3906796], [8.6895454, 47.3906732], [8.6896022, 47.3908192], [8.6893973, 47.3908267], [8.6892844, 47.3908377], [8.6890966, 47.3908639]], [[8.6892577, 47.3907422], [8.6893727, 47.3907216], [8.6893636, 47.390686], [8.6892661, 47.3906798], [8.6892577, 47.3907422]], [[8.689263799999999, 47.3905215], [8.6893453, 47.3905266], [8.6893575, 47.3904374], [8.6892409, 47.3904328], [8.689263799999999, 47.3905215]], [[8.6892501, 47.3902976], [8.6893407, 47.3902878], [8.6893438, 47.3902456], [8.6892409, 47.3902389], [8.6892501, 47.3902976]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'relation/18471445', 'properties': {'addr:city': 'Oetwil am See', 'addr:housenumber': '3', 'addr:postcode': '8618', 'addr:street': 'Willikonerstrasse', 'amenity': 'social_facility', 'name': 'Oase Oetwil am See', 'operator': 'Oase Service AG', 'operator:type': 'private', 'phone': '+41 43 844 82 82', 'social_facility': 'nursing_home', 'social_facility:for': 'senior', 'type': 'multipolygon', 'website': 'https://oaseoetwilamsee.ch/', 'id': 'relation/18471445'}, 'geometry': {'type': 'MultiPolygon', 'coordinates': [[[[8.7207761, 47.2707563], [8.7209946, 47.2708129], [8.7209249, 47.2709418], [8.7206677, 47.2708778], [8.7205448, 47.2708473], [8.7206013, 47.2707448], [8.7206324, 47.270752], [8.7206505, 47.2707235], [8.7207141, 47.2707401], [8.7207761, 47.2707563]]], [[[8.7207761, 47.2707563], [8.720807, 47.2707011], [8.7207882, 47.2706962], [8.720794099999999, 47.2706856], [8.7207993, 47.2706763], [8.7208181, 47.2706812], [8.7208488, 47.2706262], [8.7209229, 47.2707053], [8.7210955, 47.2706304], [8.7209946, 47.2708129], [8.7207761, 47.2707563]]], [[[8.7210955, 47.2706304], [8.7209229, 47.2707053], [8.7208488, 47.2706262], [8.720705, 47.2704726], [8.720877699999999, 47.2703977], [8.7210955, 47.2706304]]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/22702052', 'properties': {'addr:housenumber': '7', 'addr:street': 'Konradstrasse', 'amenity': 'social_facility', 'building': 'apartments', 'building:levels': '6', 'name': 'Konradhof', 'social_facility': 'group_home', 'social_facility:for': 'senior', 'id': 'way/22702052'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7228514, 47.5016326], [8.7227401, 47.5016691], [8.7227305, 47.5016566], [8.7227083, 47.5016644], [8.7227173, 47.5016772], [8.7225187, 47.5017439], [8.7224655, 47.501671], [8.7222447, 47.5017463], [8.7222959, 47.5018191], [8.7221227, 47.5018791], [8.7218332, 47.5014804], [8.7221034, 47.5013894], [8.722269, 47.5016143], [8.7224815, 47.5015425], [8.7223043, 47.5012993], [8.7224791, 47.501241], [8.7225325, 47.5013142], [8.7226017, 47.50129], [8.7228514, 47.5016326]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/22702359', 'properties': {'addr:housenumber': '7', 'addr:street': 'Wülflingerstrasse', 'amenity': 'nursing_home', 'building': 'dormitory', 'building:levels': '10', 'fax': '+41 52 2645400', 'name': 'Seniorenzentrum Wiesengrund', 'phone': '+41 52 264 54 54', 'website': 'https://www.huelfsgesellschaft.ch/seniorenzentrum.php', 'id': 'way/22702359'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7227292, 47.5030145], [8.722760300000001, 47.5030557], [8.7226494, 47.503093], [8.7226625, 47.5031155], [8.7224568, 47.503176], [8.7224677, 47.5031932], [8.7223174, 47.5032364], [8.7223202, 47.5032408], [8.7223253, 47.5032393], [8.7223426, 47.5032668], [8.7221992, 47.503308], [8.7221356, 47.5032069], [8.7221072, 47.5032155], [8.7221512, 47.5032864], [8.722106, 47.5032997], [8.7219852, 47.5031068], [8.7219603, 47.5031138], [8.7218909, 47.5030031], [8.7222207, 47.5029074], [8.7222774, 47.5029973], [8.72253, 47.5029252], [8.7225882, 47.5030189], [8.7226718, 47.5029948], [8.7226925, 47.5030249], [8.7227292, 47.5030145]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/23702429', 'properties': {'addr:city': 'Stäfa', 'addr:country': 'CH', 'addr:housename': 'Alters- und Pflegeheim Wiesengrund', 'addr:housenumber': '44', 'addr:postcode': '8712', 'addr:street': 'Etzelstrasse', 'amenity': 'social_facility', 'building': 'yes', 'name': 'Alters- und Pflegeheim Wiesengrund', 'operator': 'ETG - Evangelische Freikirch', 'social_facility': 'group_home', 'social_facility:for': 'senior', 'id': 'way/23702429'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7224999, 47.2454117], [8.7225014, 47.2454116], [8.7225118, 47.2455954], [8.722415699999999, 47.2455979], [8.7223152, 47.2456005], [8.7223149, 47.2455952], [8.7222246, 47.2455976], [8.7222234, 47.245578], [8.7220996, 47.2455812], [8.7221007, 47.2456005], [8.7219816, 47.2456036], [8.7219808, 47.2455406], [8.7219711, 47.2454312], [8.7221151, 47.2454275], [8.7221137, 47.2454023], [8.722271, 47.2453982], [8.7222721, 47.2454176], [8.7223619, 47.2454153], [8.7223502, 47.2451661], [8.7225227, 47.2451615], [8.7225394, 47.2453211], [8.7224988, 47.2453341], [8.7224999, 47.2454117]]]}}"
Expand Down Expand Up @@ -304,6 +303,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'way/1293567864', 'properties': {'a
FeatureCollection,"{'type': 'Feature', 'id': 'way/1301704185', 'properties': {'amenity': 'social_facility', 'contact:city': 'Wallisellen', 'contact:housenumber': '33', 'contact:phone': '+41 44 877 76 76', 'contact:postcode': '8304', 'contact:street': 'Obere Kirchstrasse', 'email': 'info@waegelwiesen.ch', 'name': 'Wägelwiesen Alters- und Pflegezentrum', 'operator': 'Wägelwiesen Alters- und Pflegezentrum AG', 'social_facility': 'nursing_home', 'social_facility:for': 'senior', 'website': 'https://www.waegelwiesen.ch/', 'id': 'way/1301704185'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5958956, 47.4171423], [8.5959938, 47.4171874], [8.5961006, 47.4172222], [8.5962258, 47.4172482], [8.596293, 47.417248], [8.5963561, 47.4172394], [8.5964151, 47.4172204], [8.5964661, 47.4171917], [8.596652, 47.4170386], [8.5967059, 47.4170022], [8.5967213, 47.4169897], [8.5967494, 47.4170056], [8.597069, 47.4171781], [8.5971041, 47.4171974], [8.5970614, 47.4172359], [8.5970746, 47.4173227], [8.5970135, 47.417447], [8.5971636, 47.4175296], [8.5971158, 47.4175689], [8.5971306, 47.4176488], [8.5970481, 47.4176712], [8.5970536, 47.4176882], [8.5970558, 47.4176949], [8.5970481, 47.4177173], [8.5970267, 47.4177376], [8.5969952, 47.4177493], [8.5969348, 47.4177623], [8.5968105, 47.4177893], [8.5967881, 47.4178874], [8.5967932, 47.4180086], [8.596767700000001, 47.4180316], [8.5967647, 47.418084], [8.5966924, 47.4182475], [8.5966782, 47.4182754], [8.5959936, 47.418288], [8.5959114, 47.418288], [8.5958573, 47.4182994], [8.5958409, 47.4183082], [8.5958217, 47.418306], [8.5957814, 47.4182468], [8.5957665, 47.4181886], [8.5957814, 47.4181384], [8.5958148, 47.4180907], [8.5958352, 47.4180036], [8.5959753, 47.4180231], [8.5960424, 47.4179262], [8.5961073, 47.4178613], [8.5962284, 47.4178103], [8.5962257, 47.4176335], [8.5958735, 47.4175036], [8.5957114, 47.4173841], [8.5956975, 47.4173286], [8.5957211, 47.4173085], [8.5957418, 47.4172844], [8.595733599999999, 47.4172641], [8.5958714, 47.4172236], [8.5958956, 47.4171423]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/1306815630', 'properties': {'amenity': 'social_facility', 'name': 'KZU Pflegezentrum Embrach', 'operator': 'Kompetenzzentrum Pflege und Gesundheit', 'operator:type': 'public', 'social_facility': 'nursing_home', 'social_facility:for': 'senior', 'id': 'way/1306815630'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5834324, 47.5252018], [8.5823229, 47.5250903], [8.5825552, 47.5240414], [8.582581, 47.5240153], [8.5826919, 47.523578], [8.5825548, 47.5235196], [8.582633, 47.523175], [8.5843231, 47.5229067], [8.5849416, 47.5237928], [8.5849151, 47.5240046], [8.5855756, 47.5240643], [8.5853511, 47.5250952], [8.5855518, 47.5253264], [8.5837706, 47.5258822], [8.5834324, 47.5252018]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/1315287386', 'properties': {'addr:city': 'Winterthur', 'addr:housenumber': '6', 'addr:postcode': '8400', 'addr:street': 'Brühlbergstrasse', 'amenity': 'social_facility', 'name': 'Brühlgut Stiftung', 'operator': 'Brühlgut Stiftung', 'social_facility': 'group_home', 'social_facility:for': 'disabled', 'id': 'way/1315287386'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7112773, 47.4967034], [8.7114482, 47.4965212], [8.7114703, 47.4965212], [8.7116899, 47.4962982], [8.7118387, 47.4963211], [8.7119714, 47.4963559], [8.7121158, 47.4964256], [8.7121983, 47.4964565], [8.7123752, 47.4964724], [8.7124562, 47.4964615], [8.7125387, 47.4964296], [8.7129263, 47.4966526], [8.7124105, 47.4970529], [8.7121232, 47.4968946], [8.7119095, 47.4970569], [8.7112773, 47.4967034]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/1346859246', 'properties': {'addr:city': 'Oetwil am See', 'addr:postcode': '8618', 'addr:street': 'Willikonerstrasse', 'amenity': 'social_facility', 'building': 'yes', 'name': 'Oase Oetwil am See', 'operator': 'Oase Service AG', 'operator:type': 'private', 'phone': '+41 43 844 82 82', 'social_facility': 'nursing_home', 'social_facility:for': 'senior', 'website': 'https://oaseoetwilamsee.ch/', 'id': 'way/1346859246'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7208488, 47.2706262], [8.720705, 47.2704726], [8.720877699999999, 47.2703977], [8.7210955, 47.2706304], [8.7209946, 47.2708129], [8.7209249, 47.2709418], [8.7206677, 47.2708778], [8.7205448, 47.2708473], [8.7206013, 47.2707448], [8.7206324, 47.270752], [8.7206505, 47.2707235], [8.7207141, 47.2707401], [8.7207761, 47.2707563], [8.720807, 47.2707011], [8.7207882, 47.2706962], [8.720794099999999, 47.2706856], [8.7207993, 47.2706763], [8.7208181, 47.2706812], [8.7208488, 47.2706262]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/845207315', 'properties': {'addr:city': 'Zürich', 'addr:housenumber': '63', 'addr:postcode': '8004', 'addr:street': 'Engelstrasse', 'amenity': 'social_facility', 'contact:email': 'info@qah-aussersihl.ch', 'contact:phone': '+41 44 298 60 60', 'contact:website': 'https://www.qah-aussersihl.ch/kontakt/', 'name': 'Quartieraltersheim Aussersihl', 'social_facility': 'nursing_home', 'social_facility:for': 'senior', 'id': 'node/845207315'}, 'geometry': {'type': 'Point', 'coordinates': [8.523788, 47.3769007]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/925637003', 'properties': {'amenity': 'nursing_home', 'name': 'Stiftung Emilienheim', 'social_facility:for': 'senior', 'id': 'node/925637003'}, 'geometry': {'type': 'Point', 'coordinates': [8.5377885, 47.3288669]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1240990718', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housenumber': '119', 'addr:postcode': '8004', 'addr:street': 'Lagerstrasse', 'amenity': 'nursing_home', 'capacity': '89', 'name': 'Pflegezentrum Erlenhof', 'operator': 'Diakonie Nidelbad', 'phone': '+41 44 298 39 00', 'website': 'https://www.erlenhof.ch/', 'id': 'node/1240990718'}, 'geometry': {'type': 'Point', 'coordinates': [8.5285352, 47.3798233]}}"
Expand Down
Loading

0 comments on commit d4ddb42

Please sign in to comment.