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 16, 2024
1 parent ff52c52 commit a315ce7
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 29 deletions.
5 changes: 3 additions & 2 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/1083606760', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/1083929788', 'properties': {'access': 'agricultural', 'barrier': 'gate', 'bicycle': 'no', 'foot': 'no', 'id': 'node/1083929788'}, 'geometry': {'type': 'Point', 'coordinates': [8.5222602, 47.2679118]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1084259151', 'properties': {'barrier': 'gate', 'id': 'node/1084259151'}, 'geometry': {'type': 'Point', 'coordinates': [8.5331169, 47.422425]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1085919615', 'properties': {'barrier': 'gate', 'id': 'node/1085919615'}, 'geometry': {'type': 'Point', 'coordinates': [8.6248156, 46.9992061]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1088121873', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/1088121873'}, 'geometry': {'type': 'Point', 'coordinates': [8.6884128, 47.4877765]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1089651356', 'properties': {'barrier': 'gate', 'id': 'node/1089651356'}, 'geometry': {'type': 'Point', 'coordinates': [8.754639300000001, 47.4693095]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1089651462', 'properties': {'barrier': 'gate', 'id': 'node/1089651462'}, 'geometry': {'type': 'Point', 'coordinates': [8.7548018, 47.4693506]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1092047153', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'id': 'node/1092047153'}, 'geometry': {'type': 'Point', 'coordinates': [8.735364, 47.4891693]}}"
Expand Down Expand Up @@ -5862,7 +5861,8 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11770700697', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11774134658', 'properties': {'barrier': 'gate', 'id': 'node/11774134658'}, 'geometry': {'type': 'Point', 'coordinates': [8.618348600000001, 47.2276687]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11775413472', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'material': 'metal', 'id': 'node/11775413472'}, 'geometry': {'type': 'Point', 'coordinates': [8.6790173, 47.5012531]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777771680', 'properties': {'barrier': 'gate', 'id': 'node/11777771680'}, 'geometry': {'type': 'Point', 'coordinates': [8.5440143, 47.3785764]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777993793', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/11777993793'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016278, 47.4887918]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777993793', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/11777993793'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016272, 47.4888004]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777993795', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'material': 'metal', 'id': 'node/11777993795'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016191, 47.4888648]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11778499846', 'properties': {'access': 'no', 'barrier': 'gate', 'locked': 'yes', 'id': 'node/11778499846'}, 'geometry': {'type': 'Point', 'coordinates': [8.5768041, 47.2628132]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11779138578', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11779138578'}, 'geometry': {'type': 'Point', 'coordinates': [8.8352145, 47.3517482]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11779189280', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11779189280'}, 'geometry': {'type': 'Point', 'coordinates': [8.6744936, 47.4732198]}}"
Expand All @@ -5884,3 +5884,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11805438849', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11805515096', 'properties': {'barrier': 'gate', 'id': 'node/11805515096'}, 'geometry': {'type': 'Point', 'coordinates': [8.534881, 47.3711453]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11805515121', 'properties': {'barrier': 'gate', 'id': 'node/11805515121'}, 'geometry': {'type': 'Point', 'coordinates': [8.5346809, 47.3713531]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811939281', 'properties': {'access': 'customers', 'barrier': 'gate', 'material': 'wood', 'motor_vehicle': 'no', 'wheelchair': 'no', 'id': 'node/11811939281'}, 'geometry': {'type': 'Point', 'coordinates': [8.400827, 47.4035536]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11816482831', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'material': 'metal', 'id': 'node/11816482831'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016805, 47.487756]}}"
5 changes: 3 additions & 2 deletions data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/1083492212', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/1083606760', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/1083606760'}, 'geometry': {'type': 'Point', 'coordinates': [8.5437489, 47.3943166]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1083929788', 'properties': {'access': 'agricultural', 'barrier': 'gate', 'bicycle': 'no', 'foot': 'no', 'id': 'node/1083929788'}, 'geometry': {'type': 'Point', 'coordinates': [8.5222602, 47.2679118]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1084259151', 'properties': {'barrier': 'gate', 'id': 'node/1084259151'}, 'geometry': {'type': 'Point', 'coordinates': [8.5331169, 47.422425]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1088121873', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/1088121873'}, 'geometry': {'type': 'Point', 'coordinates': [8.6884128, 47.4877765]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1089651356', 'properties': {'barrier': 'gate', 'id': 'node/1089651356'}, 'geometry': {'type': 'Point', 'coordinates': [8.754639300000001, 47.4693095]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1089651462', 'properties': {'barrier': 'gate', 'id': 'node/1089651462'}, 'geometry': {'type': 'Point', 'coordinates': [8.7548018, 47.4693506]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1092047153', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'id': 'node/1092047153'}, 'geometry': {'type': 'Point', 'coordinates': [8.735364, 47.4891693]}}"
Expand Down Expand Up @@ -5104,7 +5103,8 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11770700697', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11774134658', 'properties': {'barrier': 'gate', 'id': 'node/11774134658'}, 'geometry': {'type': 'Point', 'coordinates': [8.618348600000001, 47.2276687]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11775413472', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'material': 'metal', 'id': 'node/11775413472'}, 'geometry': {'type': 'Point', 'coordinates': [8.6790173, 47.5012531]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777771680', 'properties': {'barrier': 'gate', 'id': 'node/11777771680'}, 'geometry': {'type': 'Point', 'coordinates': [8.5440143, 47.3785764]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777993793', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/11777993793'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016278, 47.4887918]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777993793', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/11777993793'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016272, 47.4888004]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11777993795', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'material': 'metal', 'id': 'node/11777993795'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016191, 47.4888648]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11778499846', 'properties': {'access': 'no', 'barrier': 'gate', 'locked': 'yes', 'id': 'node/11778499846'}, 'geometry': {'type': 'Point', 'coordinates': [8.5768041, 47.2628132]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11779138578', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11779138578'}, 'geometry': {'type': 'Point', 'coordinates': [8.8352145, 47.3517482]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11779189280', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11779189280'}, 'geometry': {'type': 'Point', 'coordinates': [8.6744936, 47.4732198]}}"
Expand All @@ -5126,3 +5126,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11805438849', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11805515096', 'properties': {'barrier': 'gate', 'id': 'node/11805515096'}, 'geometry': {'type': 'Point', 'coordinates': [8.534881, 47.3711453]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11805515121', 'properties': {'barrier': 'gate', 'id': 'node/11805515121'}, 'geometry': {'type': 'Point', 'coordinates': [8.5346809, 47.3713531]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811939281', 'properties': {'access': 'customers', 'barrier': 'gate', 'material': 'wood', 'motor_vehicle': 'no', 'wheelchair': 'no', 'id': 'node/11811939281'}, 'geometry': {'type': 'Point', 'coordinates': [8.400827, 47.4035536]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11816482831', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'material': 'metal', 'id': 'node/11816482831'}, 'geometry': {'type': 'Point', 'coordinates': [8.7016805, 47.487756]}}"
2 changes: 1 addition & 1 deletion data/csv/ambulance_station/ambulancestation_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/6209722205', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/6578370440', 'properties': {'addr:city': 'Zug', 'addr:housenumber': '6', 'addr:postcode': '6300', 'addr:street': 'An der Aa', 'emergency': 'ambulance_station', 'government': 'healthcare', 'name': 'Rettungsdienst Zug (RDZ)', 'office': 'government', 'opening_hours': 'Mo-Fr 08:00-11:30, 13:15-17:15', 'operator': 'Kanton Zug', 'phone': '+41 41 728 46 60', 'website': 'https://www.zg.ch/rdz/', 'id': 'node/6578370440'}, 'geometry': {'type': 'Point', 'coordinates': [8.5093537, 47.1734783]}}"
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': {'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/7465975604', 'properties': {'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]}}"
Expand Down
2 changes: 1 addition & 1 deletion data/csv/childcare/childcare_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/9495092383', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/9495125926', 'properties': {'amenity': 'childcare', 'contact:city': 'Zürich', 'contact:housenumber': '40', 'contact:phone': '+41 44 413 11 56', 'contact:postcode': '8041', 'contact:street': 'Wegackerstrasse', 'name': 'Kinderhort Leimbach 1, 2 , 3', 'id': 'node/9495125926'}, 'geometry': {'type': 'Point', 'coordinates': [8.5163126, 47.3335196]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9495414050', 'properties': {'amenity': 'childcare', 'contact:city': 'Zürich', 'contact:housenumber': '1', 'contact:phone': '+41 44 413 77 16', 'contact:postcode': '8038', 'contact:street': 'Entlisbergstrasse', 'contact:website': 'https://www.stadt-zuerich.ch/content/schulen/de/entlisberg/betreuung/standorte.html', 'isced:level': '0', 'name': 'Kinderhort Lettenholz', 'operator': 'Stadt Zürich, SSD, Schulkreis Uto, Schuleinheit Entlisberg', 'operator:type': 'public', 'id': 'node/9495414050'}, 'geometry': {'type': 'Point', 'coordinates': [8.5249814, 47.3388352]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9495439063', 'properties': {'amenity': 'childcare', 'contact:city': 'Zürich', 'contact:housenumber': '10', 'contact:phone': '+41 44 413 14 51', 'contact:postcode': '8038', 'contact:street': 'Tannerauchstrasse', 'isced:level': '0', 'name': 'Kinderhort Manegg 1 bis 7', 'wheelchair': 'limited', 'id': 'node/9495439063'}, 'geometry': {'type': 'Point', 'coordinates': [8.5263497, 47.3481168]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9497427411', 'properties': {'amenity': 'childcare', 'contact:city': 'Zürich', 'contact:housenumber': '37', 'contact:phone': '+41 44 413 35 52', 'contact:postcode': '8041', 'contact:street': 'Maneggstrasse', 'contact:website': 'https://www.stadt-zuerich.ch/content/schulen/de/allmend/betreuung/standorte.html', 'isced:level': '0', 'name': 'Kinderhort Pergamin 2 Mittag-Abend', 'operator': 'Stadt Zürich, SSD, Schulkreis Uto, Schuleinheit Falletsche - Leimbach', 'operator:type': 'public', 'roof:levels': '0', 'id': 'node/9497427411'}, 'geometry': {'type': 'Point', 'coordinates': [8.520657, 47.3414599]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9497427411', 'properties': {'amenity': 'childcare', 'check_date': '2024-04-14', 'contact:city': 'Zürich', 'contact:housenumber': '37', 'contact:phone': '+41 44 413 35 52', 'contact:postcode': '8041', 'contact:street': 'Maneggstrasse', 'contact:website': 'https://www.stadt-zuerich.ch/content/schulen/de/allmend/betreuung/standorte.html', 'isced:level': '0', 'name': 'Kinderhort Pergamin 2 Mittag-Abend', 'operator': 'Stadt Zürich, SSD, Schulkreis Uto, Schuleinheit Falletsche - Leimbach', 'operator:type': 'public', 'roof:levels': '0', 'id': 'node/9497427411'}, 'geometry': {'type': 'Point', 'coordinates': [8.520657, 47.3414599]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9497601801', 'properties': {'amenity': 'childcare', 'contact:city': 'Zürich', 'contact:housenumber': '21', 'contact:phone': '+41 44 413 77 81', 'contact:postcode': '8041', 'contact:street': 'Leimbachstrasse', 'contact:website': 'https://www.stadt-zuerich.ch/content/schulen/de/falletsche/betreuung/standorte.html#sihlbogen_1_und_3', 'name': 'Kinderhort Sihlbogen 1+3', 'operator': 'Stadt Zürich, SSD, Schulkreis Uto, Schuleinheit Falletsche - Leimbach', 'operator:type': 'public', 'id': 'node/9497601801'}, 'geometry': {'type': 'Point', 'coordinates': [8.5188049, 47.3363644]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9504321316', 'properties': {'amenity': 'childcare', 'contact:city': 'Zürich', 'contact:housenumber': '6', 'contact:phone': '+41 44 413 77 65', 'contact:postcode': '8055', 'contact:street': 'Meiliweg', 'contact:website': 'https://www.stadt-zuerich.ch/content/schulen/de/buehl/betreuung/standorte.html#meiliweg_1_2', 'name': 'Kinderhort Meiliweg 1+2', 'id': 'node/9504321316'}, 'geometry': {'type': 'Point', 'coordinates': [8.5170558, 47.367662]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/9507356840', 'properties': {'amenity': 'childcare', 'contact:city': 'Zürich', 'contact:housenumber': '22', 'contact:phone': '+41 44 413 77 68', 'contact:postcode': '8055', 'contact:street': 'Im Tiergarten', 'contact:website': 'https://www.stadt-zuerich.ch/schulen/de/buehl/betreuung/standorte.html#tiergarten', 'name': 'Kinderhort Tiergarten Mittag-Abend', 'operator': 'Stadt Zürich, SSD, Schulkreis Uto, Schuleinheit Bühl', 'operator:type': 'public', 'id': 'node/9507356840'}, 'geometry': {'type': 'Point', 'coordinates': [8.511796, 47.366234]}}"
Expand Down
Loading

0 comments on commit a315ce7

Please sign in to comment.