Skip to content

Commit

Permalink
Convert json -> xml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnuessli committed Apr 26, 2024
1 parent 8425867 commit 2a8ad47
Show file tree
Hide file tree
Showing 19 changed files with 51 additions and 26 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 @@ -729,7 +729,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/901551896', 'properties': {'b
FeatureCollection,"{'type': 'Feature', 'id': 'node/916945097', 'properties': {'barrier': 'gate', 'id': 'node/916945097'}, 'geometry': {'type': 'Point', 'coordinates': [8.5455157, 47.3687596]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/918522146', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'no', 'id': 'node/918522146'}, 'geometry': {'type': 'Point', 'coordinates': [8.8906147, 47.1295795]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/919588484', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'motorcar': 'yes', 'motorcycle': 'yes', 'id': 'node/919588484'}, 'geometry': {'type': 'Point', 'coordinates': [8.6763176, 47.3803632]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/919868782', 'properties': {'barrier': 'gate', 'id': 'node/919868782'}, 'geometry': {'type': 'Point', 'coordinates': [8.5483498, 47.4011285]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/919868782', 'properties': {'access': 'no', 'barrier': 'gate', 'emergency': 'yes', 'id': 'node/919868782'}, 'geometry': {'type': 'Point', 'coordinates': [8.5483498, 47.4011285]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/920969917', 'properties': {'barrier': 'lift_gate', 'id': 'node/920969917'}, 'geometry': {'type': 'Point', 'coordinates': [8.719687, 47.4990454]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/920970073', 'properties': {'barrier': 'lift_gate', 'id': 'node/920970073'}, 'geometry': {'type': 'Point', 'coordinates': [8.7195169, 47.4992775]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/921236992', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'id': 'node/921236992'}, 'geometry': {'type': 'Point', 'coordinates': [8.4426588, 47.522959]}}"
Expand Down Expand Up @@ -4066,6 +4066,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/8176347475', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/8187794319', 'properties': {'barrier': 'gate', 'id': 'node/8187794319'}, 'geometry': {'type': 'Point', 'coordinates': [8.459469, 47.1781724]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8224083397', 'properties': {'barrier': 'gate', 'id': 'node/8224083397'}, 'geometry': {'type': 'Point', 'coordinates': [8.8046283, 47.417287]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8224083407', 'properties': {'barrier': 'gate', 'id': 'node/8224083407'}, 'geometry': {'type': 'Point', 'coordinates': [8.8046575, 47.4174179]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8231001441', 'properties': {'barrier': 'lift_gate', 'id': 'node/8231001441'}, 'geometry': {'type': 'Point', 'coordinates': [8.5527846, 47.4151586]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8233931930', 'properties': {'barrier': 'gate', 'id': 'node/8233931930'}, 'geometry': {'type': 'Point', 'coordinates': [8.6789881, 47.3823661]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8233931942', 'properties': {'barrier': 'gate', 'id': 'node/8233931942'}, 'geometry': {'type': 'Point', 'coordinates': [8.6785646, 47.3818202]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8235150751', 'properties': {'barrier': 'gate', 'vehicle': 'private', 'id': 'node/8235150751'}, 'geometry': {'type': 'Point', 'coordinates': [8.7399918, 47.3883297]}}"
Expand Down
3 changes: 2 additions & 1 deletion data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/895787687', 'properties': {'b
FeatureCollection,"{'type': 'Feature', 'id': 'node/897902056', 'properties': {'barrier': 'gate', 'id': 'node/897902056'}, 'geometry': {'type': 'Point', 'coordinates': [8.5470569, 47.3694258]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/916945097', 'properties': {'barrier': 'gate', 'id': 'node/916945097'}, 'geometry': {'type': 'Point', 'coordinates': [8.5455157, 47.3687596]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/919588484', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'motorcar': 'yes', 'motorcycle': 'yes', 'id': 'node/919588484'}, 'geometry': {'type': 'Point', 'coordinates': [8.6763176, 47.3803632]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/919868782', 'properties': {'barrier': 'gate', 'id': 'node/919868782'}, 'geometry': {'type': 'Point', 'coordinates': [8.5483498, 47.4011285]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/919868782', 'properties': {'access': 'no', 'barrier': 'gate', 'emergency': 'yes', 'id': 'node/919868782'}, 'geometry': {'type': 'Point', 'coordinates': [8.5483498, 47.4011285]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/920969917', 'properties': {'barrier': 'lift_gate', 'id': 'node/920969917'}, 'geometry': {'type': 'Point', 'coordinates': [8.719687, 47.4990454]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/920970073', 'properties': {'barrier': 'lift_gate', 'id': 'node/920970073'}, 'geometry': {'type': 'Point', 'coordinates': [8.7195169, 47.4992775]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/921236992', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'id': 'node/921236992'}, 'geometry': {'type': 'Point', 'coordinates': [8.4426588, 47.522959]}}"
Expand Down Expand Up @@ -3549,6 +3549,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/8158697384', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/8176347475', 'properties': {'barrier': 'lift_gate', 'id': 'node/8176347475'}, 'geometry': {'type': 'Point', 'coordinates': [8.4920636, 47.3859173]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8224083397', 'properties': {'barrier': 'gate', 'id': 'node/8224083397'}, 'geometry': {'type': 'Point', 'coordinates': [8.8046283, 47.417287]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8224083407', 'properties': {'barrier': 'gate', 'id': 'node/8224083407'}, 'geometry': {'type': 'Point', 'coordinates': [8.8046575, 47.4174179]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8231001441', 'properties': {'barrier': 'lift_gate', 'id': 'node/8231001441'}, 'geometry': {'type': 'Point', 'coordinates': [8.5527846, 47.4151586]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8233931930', 'properties': {'barrier': 'gate', 'id': 'node/8233931930'}, 'geometry': {'type': 'Point', 'coordinates': [8.6789881, 47.3823661]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8233931942', 'properties': {'barrier': 'gate', 'id': 'node/8233931942'}, 'geometry': {'type': 'Point', 'coordinates': [8.6785646, 47.3818202]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8235150751', 'properties': {'barrier': 'gate', 'vehicle': 'private', 'id': 'node/8235150751'}, 'geometry': {'type': 'Point', 'coordinates': [8.7399918, 47.3883297]}}"
Expand Down
3 changes: 2 additions & 1 deletion data/csv/ambulance_station/ambulancestation_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'way/130399122', 'properties': {'ad
FeatureCollection,"{'type': 'Feature', 'id': 'way/199578656', 'properties': {'building:part': 'yes', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Schaffhausen', 'operator': 'Kantonsspital Schaffhausen', 'id': 'way/199578656'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.6347296, 47.7122655], [8.6346262, 47.7122532], [8.6344601, 47.712233499999996], [8.6344928, 47.7121093], [8.6347623, 47.7121414], [8.6347598, 47.7121506], [8.6347296, 47.7122655]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/233903417', 'properties': {'addr:city': 'Winterthur', 'addr:housenumber': '20', 'addr:postcode': '8400', 'addr:street': 'Brauerstrasse', 'building': 'house', 'building:levels': '1', 'building:roof': 'flat', 'emergency': 'ambulance_station', 'name': 'Rettungswache Winterthur', 'operator': 'Kantonsspital Winterthur', 'roof:shape': 'flat', 'short_name': 'Haus V', 'id': 'way/233903417'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7297882, 47.5073925], [8.7301869, 47.5072653], [8.7303178, 47.5074524], [8.7302223, 47.5074829], [8.7301371, 47.5075101], [8.73009, 47.5074427], [8.7300328, 47.5074609], [8.730082, 47.5075311], [8.730035, 47.5075461], [8.7299197, 47.5075829], [8.7298867, 47.5075356], [8.7298672, 47.5075078], [8.7298891, 47.5075008], [8.7298603, 47.5074597], [8.7298398, 47.5074663], [8.7297882, 47.5073925]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/251502068', 'properties': {'addr:city': 'Affoltern am Albis', 'addr:housenumber': '31.1', 'addr:postcode': '8910', 'addr:street': 'Sonnenbergstrasse', 'building': 'yes', 'emergency': 'ambulance_station', 'emergency:phone': '144', 'name': 'Wache Affoltern am Albis', 'opening_hours': '24/7', 'operator': 'Schutz & Rettung Zürich', 'website': 'https://www.stadt-zuerich.ch/pd/de/index/schutz_u_rettung_zuerich/sanitaet/so_arbeiten_wir/rettungsdienstwachen.html', 'id': 'way/251502068'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4562136, 47.2854169], [8.456234, 47.2853415], [8.4561927, 47.2853364], [8.4562212, 47.2852308], [8.4563253, 47.2852438], [8.4562959, 47.2853527], [8.4563367, 47.2853578], [8.4563267, 47.2853949], [8.4563173, 47.2854298], [8.4562136, 47.2854169]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/368291218', 'properties': {'addr:city': 'Regensdorf', 'addr:housenumber': '183', 'addr:postcode': '8105', 'addr:street': 'Riedthofstrasse', 'alt_name': 'Wache Regensdorf', 'building': 'service', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Limmattal - Wache Regensdorf', 'operator': 'Rettungsdienst Limmattal', 'id': 'way/368291218'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4624265, 47.4391805], [8.4624904, 47.4392656], [8.4621014, 47.4393992], [8.462033, 47.4393081], [8.4619914, 47.4393224], [8.461913, 47.439218], [8.4620427, 47.4391735], [8.4622126, 47.4391857], [8.4622533, 47.43924], [8.4624265, 47.4391805]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/843565567', 'properties': {'addr:city': 'Lachen SZ', 'addr:housenumber': '41', 'addr:postcode': '8853', 'addr:street': 'Oberdorfstrasse', 'building': 'yes', 'emergency': 'ambulance_station', 'emergency:phone': '144', 'name': 'Rettungsdienst Spital Lachen', 'operator': 'Spital Lachen', 'phone': '+41554513640', 'website': 'https://rettungsdienst-lachen.ch/', 'id': 'way/843565567'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.8598335, 47.1897568], [8.8597982, 47.1897062], [8.8600367, 47.1896278], [8.8600494, 47.1896479], [8.8602913, 47.189568], [8.8604025, 47.1897253], [8.8601411, 47.1898106], [8.8598335, 47.1897568]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/862861748', 'properties': {'addr:city': 'Schlieren', 'addr:housenumber': '34', 'addr:postcode': '8952', 'addr:street': 'Spitalstrasse', 'building': 'yes', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Limmattal', 'operator': 'Spital Limmattal', 'id': 'way/862861748'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4286113, 47.3938039], [8.4289606, 47.3938996], [8.4288583, 47.3940706], [8.428509, 47.393975], [8.4286113, 47.3938039]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/1089404410', 'properties': {'addr:city': 'Uster', 'addr:housenumber': '3', 'addr:postcode': '8610', 'addr:street': 'Feldhofstrasse', 'alt_name': 'Wache RD Uster', 'building': 'yes', 'email': '[email protected]', 'emergency': 'ambulance_station', 'emergency:phone': '144', 'name': 'Rettungsdienst Uster', 'operator': 'Spital Uster', 'short_name': 'RD Uster', 'website': 'https://www.spitaluster.ch/de/Patienten/Behandlungsangebot/Fuer-Patienten/Bereiche/Rettungsdienst.135.html', 'id': 'way/1089404410'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7235116, 47.3520895], [8.7231952, 47.3523717], [8.7230155, 47.3522792], [8.723332, 47.351997], [8.7235116, 47.3520895]]]}}"
Expand All @@ -16,7 +17,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/6578370440', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/7274104579', 'properties': {'alt_name': 'Hauptwache Neumühlequai', 'emergency': 'ambulance_station', 'emergency:phone': '144', 'name': 'Wache Zentrum', 'opening_hours': '24/7', 'operator': 'Schutz & Rettung Zürich', 'website': 'https://www.stadt-zuerich.ch/pd/de/index/schutz_u_rettung_zuerich/sanitaet/so_arbeiten_wir/rettungsdienstwachen.html', 'id': 'node/7274104579'}, 'geometry': {'type': 'Point', 'coordinates': [8.5406851, 47.3819317]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7463260938', 'properties': {'alt_name': 'Wache RD Schwyz;Wache RD MediTrans GmbH', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Schwyz', 'operator': 'Rettungsdienst Schwyz', 'id': 'node/7463260938'}, 'geometry': {'type': 'Point', 'coordinates': [8.636422, 47.0246694]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7465975604', 'properties': {'alt_name': 'Wache Dübendorf', 'check_date': '2024-04-14', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Uster - Wache Dübendorf', 'operator': 'Rettungsdienst Spital Uster', 'id': 'node/7465975604'}, 'geometry': {'type': 'Point', 'coordinates': [8.6220534, 47.3973465]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7465975605', 'properties': {'addr:city': 'Regensdorf', 'addr:housenumber': '183', 'addr:postcode': '8105', 'addr:street': 'Riedthofstrasse', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Limmattal - Wache Regensdorf', 'operator': 'Rettungsdienst Limmattal', 'source': 'local knowledge', 'id': 'node/7465975605'}, 'geometry': {'type': 'Point', 'coordinates': [8.4621506, 47.4393164]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7465975608', 'properties': {'emergency': 'ambulance_station', 'name': 'Rettungsdienst Männedorf - Wache Oetwil am See', 'operator': 'Rettungsdienst Spital Uster', 'id': 'node/7465975608'}, 'geometry': {'type': 'Point', 'coordinates': [8.7237177, 47.2734444]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7674000208', 'properties': {'addr:city': 'Kloten', 'addr:housenumber': '56', 'addr:postcode': '8302', 'addr:street': 'Dorfstrasse', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Bülach - Wache Kloten', 'operator': 'Spital Bülach - Rettungsdienst', 'id': 'node/7674000208'}, 'geometry': {'type': 'Point', 'coordinates': [8.588467, 47.4517901]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/8227050913', 'properties': {'emergency': 'ambulance_station', 'name': 'Rettungsdienst Horgen - Wache Kilchberg', 'operator': 'Rettungsdienst Horgen', 'id': 'node/8227050913'}, 'geometry': {'type': 'Point', 'coordinates': [8.5355905, 47.3208167]}}"
Expand All @@ -29,3 +29,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/9710403481', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/9941663602', 'properties': {'emergency': 'ambulance_station', 'name': 'Rettungsdienst Winterthur - Wache Süd-West', 'operator': 'Rettungsdienst Winterthur', 'id': 'node/9941663602'}, 'geometry': {'type': 'Point', 'coordinates': [8.7513064, 47.4256203]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10074458031', 'properties': {'addr:city': 'Winkel', 'addr:housenumber': '1', 'addr:postcode': '8185', 'addr:street': 'Lufingerstrasse', 'emergency': 'ambulance_station', 'name': 'Tierrettung Zürich (Schweiz)', 'operator': 'Stiftung TierRettungsDienst', 'id': 'node/10074458031'}, 'geometry': {'type': 'Point', 'coordinates': [8.5537092, 47.4798389]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11737684629', 'properties': {'alt_name': 'Wache Rüti, Regio 144', 'description': 'Rettungsdienst Zürichsee – Oberland – Linth', 'email': '[email protected]', 'emergency': 'ambulance_station', 'name': 'Regio 144 Rettung AG', 'phone': '+41 55 220 41 41', 'website': 'https://www.regio144.ch/', 'id': 'node/11737684629'}, 'geometry': {'type': 'Point', 'coordinates': [8.8430759, 47.2596602]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11843241786', 'properties': {'alt_name': 'Wache MoPi', 'email': '[email protected]', 'emergency': 'ambulance_station', 'name': 'MoPi', 'operator': 'MoPi.ch AG', 'phone': '+41 80 014 43 65', 'website': 'https://www.mopi.ch/', 'id': 'node/11843241786'}, 'geometry': {'type': 'Point', 'coordinates': [8.5160027, 47.3879322]}}"
1 change: 1 addition & 0 deletions data/csv/childcare/childcare_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -491,3 +491,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11702200400', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11746040085', 'properties': {'amenity': 'childcare', 'name': 'Край Рай', 'name:de': 'Russische Kinderkrippe Krai Rai', 'name:en': 'Krai Rai Russian Kindergarten', 'website': 'https://krairai.ch/', 'id': 'node/11746040085'}, 'geometry': {'type': 'Point', 'coordinates': [8.5469683, 47.4114384]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11802544285', 'properties': {'amenity': 'childcare', 'name': 'Kinderkrippe BAMBI', 'id': 'node/11802544285'}, 'geometry': {'type': 'Point', 'coordinates': [8.545607799999999, 47.4192155]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11810205560', 'properties': {'amenity': 'childcare', 'name': 'Kita Busi', 'phone': '+41 44 341 15 15', 'website': 'https://www.kita-buesi.ch/buesi-manegg-zh/', 'id': 'node/11810205560'}, 'geometry': {'type': 'Point', 'coordinates': [8.5188827, 47.3402372]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11844907898', 'properties': {'amenity': 'childcare', 'name': 'pop e poppa', 'id': 'node/11844907898'}, 'geometry': {'type': 'Point', 'coordinates': [8.5486405, 47.403622]}}"
1 change: 1 addition & 0 deletions data/csv/childcare/childcare_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -461,3 +461,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11702200400', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11746040085', 'properties': {'amenity': 'childcare', 'name': 'Край Рай', 'name:de': 'Russische Kinderkrippe Krai Rai', 'name:en': 'Krai Rai Russian Kindergarten', 'website': 'https://krairai.ch/', 'id': 'node/11746040085'}, 'geometry': {'type': 'Point', 'coordinates': [8.5469683, 47.4114384]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11802544285', 'properties': {'amenity': 'childcare', 'name': 'Kinderkrippe BAMBI', 'id': 'node/11802544285'}, 'geometry': {'type': 'Point', 'coordinates': [8.545607799999999, 47.4192155]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11810205560', 'properties': {'amenity': 'childcare', 'name': 'Kita Busi', 'phone': '+41 44 341 15 15', 'website': 'https://www.kita-buesi.ch/buesi-manegg-zh/', 'id': 'node/11810205560'}, 'geometry': {'type': 'Point', 'coordinates': [8.5188827, 47.3402372]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11844907898', 'properties': {'amenity': 'childcare', 'name': 'pop e poppa', 'id': 'node/11844907898'}, 'geometry': {'type': 'Point', 'coordinates': [8.5486405, 47.403622]}}"
Loading

0 comments on commit 2a8ad47

Please sign in to comment.