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 24, 2023
1 parent 9c56510 commit fc6bf8b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5620,3 +5620,5 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11436111810', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11439005763', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'lift_gate:type': 'single', 'id': 'node/11439005763'}, 'geometry': {'type': 'Point', 'coordinates': [8.551074700000001, 47.3749695]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11440075249', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11440075249'}, 'geometry': {'type': 'Point', 'coordinates': [8.7555827, 47.4531482]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11440076996', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11440076996'}, 'geometry': {'type': 'Point', 'coordinates': [8.756325, 47.4530557]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11444270997', 'properties': {'barrier': 'gate', 'id': 'node/11444270997'}, 'geometry': {'type': 'Point', 'coordinates': [8.7688826, 47.420946]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11445113611', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11445113611'}, 'geometry': {'type': 'Point', 'coordinates': [8.7623225, 47.455514]}}"
2 changes: 2 additions & 0 deletions data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4886,3 +4886,5 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11436111810', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11439005763', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'lift_gate:type': 'single', 'id': 'node/11439005763'}, 'geometry': {'type': 'Point', 'coordinates': [8.551074700000001, 47.3749695]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11440075249', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11440075249'}, 'geometry': {'type': 'Point', 'coordinates': [8.7555827, 47.4531482]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11440076996', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11440076996'}, 'geometry': {'type': 'Point', 'coordinates': [8.756325, 47.4530557]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11444270997', 'properties': {'barrier': 'gate', 'id': 'node/11444270997'}, 'geometry': {'type': 'Point', 'coordinates': [8.7688826, 47.420946]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11445113611', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11445113611'}, 'geometry': {'type': 'Point', 'coordinates': [8.7623225, 47.455514]}}"
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 @@ -19,7 +19,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'way/99405686', 'properties': {'add
FeatureCollection,"{'type': 'Feature', 'id': 'way/104474405', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housenumber': '16', 'addr:postcode': '8044', 'addr:street': 'Nägelistrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'Globegarden', 'operator': 'Globegarden', 'source': 'Stadt Zürich Open Government Data;Geomatik + Vermessung;Tiefbau- und Entsorgungsdepartement', 'id': 'way/104474405'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5560114, 47.3744598], [8.556049, 47.3744733], [8.5560618, 47.3744571], [8.5561216, 47.3744786], [8.5561073, 47.3744968], [8.5561472, 47.3745112], [8.556087, 47.374588], [8.5560518, 47.3745754], [8.5560416, 47.3745883], [8.5559722, 47.3745634], [8.5559838, 47.3745485], [8.5559511, 47.3745367], [8.5560114, 47.3744598]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/108686728', 'properties': {'addr:city': 'Mettmenstetten', 'addr:housenumber': '30', 'addr:postcode': '8932', 'addr:street': 'Albisstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'Kinderkrippe Knirpsenvilla', 'nursery': 'yes', 'id': 'way/108686728'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.465103, 47.2442141], [8.4649923, 47.2441468], [8.4650776, 47.2440821], [8.4651883, 47.2441495], [8.465103, 47.2442141]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/112704597', 'properties': {'amenity': 'childcare', 'building': 'yes', 'name': 'pop e poppa schneggehüsli', 'website': 'https://www.popepoppa.ch/de/einrichtungen/kita-in-egg/', 'id': 'way/112704597'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.6923485, 47.2968518], [8.6924401, 47.2967721], [8.6926069, 47.2968626], [8.6925155, 47.2969433], [8.6923485, 47.2968518]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/113820364', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housename': 'UZH-TWF', 'addr:housenumber': '211', 'addr:postcode': '8057', 'addr:street': 'Frohburgstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'kihz Tierspital', 'source': 'Stadt Zürich Open Government Data;Geomatik + Vermessung;Tiefbau- und Entsorgungsdepartement', 'website': 'https://www.kihz.uzh.ch/de/kitas/kihz-tierspital.html', 'id': 'way/113820364'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5529287, 47.399555], [8.5529895, 47.3996209], [8.552827, 47.3996896], [8.5527662, 47.3996237], [8.5529287, 47.399555]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/113820364', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housename': 'UZH-TWF', 'addr:housenumber': '211', 'addr:postcode': '8057', 'addr:street': 'Frohburgstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'kihz Tierspital', 'website': 'https://www.kihz.uzh.ch/de/kitas/kihz-tierspital.html', 'id': 'way/113820364'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5529286, 47.3995546], [8.5529889, 47.3996206], [8.5528311, 47.3996867], [8.5527708, 47.3996208], [8.5529286, 47.3995546]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/117522671', 'properties': {'addr:city': 'Elsau', 'addr:housenumber': '1', 'addr:postcode': '8352', 'addr:street': 'Elsauerstrasse', 'amenity': 'childcare', 'building': 'yes', 'building:roof': 'tile', 'email': '[email protected]', 'name': 'Kinderclub Jojo Elsau', 'opening_hours': 'Mo-Fr 7:00-8:00', 'phone': '+41 52 363 18 71', 'website': 'http://www.ps-elsau.ch/wb/pages/angebote/kinderbetreuung.php', 'id': 'way/117522671'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.8012901, 47.5039045], [8.8011927, 47.5038995], [8.8011901, 47.5039229], [8.801101599999999, 47.5039183], [8.8011043, 47.5038938], [8.8010099, 47.503889], [8.8010221, 47.5037802], [8.8013025, 47.5037946], [8.8012901, 47.5039045]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/120956566', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housenumber': '16', 'addr:postcode': '8032', 'addr:street': 'Biberlinstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'Kindervilla Lummerland', 'source': 'Stadt Zürich Open Government Data;Geomatik + Vermessung;Tiefbau- und Entsorgungsdepartement', 'website': 'http://www.kindervilla-lummerland.ch', 'id': 'way/120956566'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5688906, 47.3631563], [8.568924299999999, 47.3631201], [8.568926, 47.3631071], [8.5689391, 47.3630939], [8.5689533, 47.363089], [8.5689959, 47.3630433], [8.5690566, 47.3630693], [8.5690462, 47.3630805], [8.5690991, 47.3631031], [8.5690042, 47.3632049], [8.5688906, 47.3631563]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/122455986', 'properties': {'addr:housenumber': '28', 'addr:postcode': '8051', 'addr:street': 'Auhofstrasse', 'amenity': 'childcare', 'building': 'school', 'name': 'Auhof 1+2 - Morgentisch, Mittag-/Abendhort', 'id': 'way/122455986'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.569852000000001, 47.4072128], [8.5698936, 47.4072839], [8.5697726, 47.4073163], [8.5697883, 47.4073451], [8.5697958, 47.4073437], [8.5698142, 47.4073778], [8.5699012, 47.4073562], [8.5699423, 47.4074266], [8.5698158, 47.4074605], [8.5698546, 47.4075268], [8.5699806, 47.4074931], [8.5700217, 47.4075633], [8.5698566, 47.4076075], [8.5696609, 47.4072727], [8.569698, 47.4072627], [8.5696936, 47.4072552], [8.569852000000001, 47.4072128]]]}}"
Expand Down
2 changes: 1 addition & 1 deletion data/csv/childcare/childcare_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'way/99405686', 'properties': {'add
FeatureCollection,"{'type': 'Feature', 'id': 'way/104474405', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housenumber': '16', 'addr:postcode': '8044', 'addr:street': 'Nägelistrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'Globegarden', 'operator': 'Globegarden', 'source': 'Stadt Zürich Open Government Data;Geomatik + Vermessung;Tiefbau- und Entsorgungsdepartement', 'id': 'way/104474405'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5560114, 47.3744598], [8.556049, 47.3744733], [8.5560618, 47.3744571], [8.5561216, 47.3744786], [8.5561073, 47.3744968], [8.5561472, 47.3745112], [8.556087, 47.374588], [8.5560518, 47.3745754], [8.5560416, 47.3745883], [8.5559722, 47.3745634], [8.5559838, 47.3745485], [8.5559511, 47.3745367], [8.5560114, 47.3744598]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/108686728', 'properties': {'addr:city': 'Mettmenstetten', 'addr:housenumber': '30', 'addr:postcode': '8932', 'addr:street': 'Albisstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'Kinderkrippe Knirpsenvilla', 'nursery': 'yes', 'id': 'way/108686728'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.465103, 47.2442141], [8.4649923, 47.2441468], [8.4650776, 47.2440821], [8.4651883, 47.2441495], [8.465103, 47.2442141]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/112704597', 'properties': {'amenity': 'childcare', 'building': 'yes', 'name': 'pop e poppa schneggehüsli', 'website': 'https://www.popepoppa.ch/de/einrichtungen/kita-in-egg/', 'id': 'way/112704597'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.6923485, 47.2968518], [8.6924401, 47.2967721], [8.6926069, 47.2968626], [8.6925155, 47.2969433], [8.6923485, 47.2968518]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/113820364', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housename': 'UZH-TWF', 'addr:housenumber': '211', 'addr:postcode': '8057', 'addr:street': 'Frohburgstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'kihz Tierspital', 'source': 'Stadt Zürich Open Government Data;Geomatik + Vermessung;Tiefbau- und Entsorgungsdepartement', 'website': 'https://www.kihz.uzh.ch/de/kitas/kihz-tierspital.html', 'id': 'way/113820364'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5529287, 47.399555], [8.5529895, 47.3996209], [8.552827, 47.3996896], [8.5527662, 47.3996237], [8.5529287, 47.399555]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/113820364', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housename': 'UZH-TWF', 'addr:housenumber': '211', 'addr:postcode': '8057', 'addr:street': 'Frohburgstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'kihz Tierspital', 'website': 'https://www.kihz.uzh.ch/de/kitas/kihz-tierspital.html', 'id': 'way/113820364'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5529286, 47.3995546], [8.5529889, 47.3996206], [8.5528311, 47.3996867], [8.5527708, 47.3996208], [8.5529286, 47.3995546]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/117522671', 'properties': {'addr:city': 'Elsau', 'addr:housenumber': '1', 'addr:postcode': '8352', 'addr:street': 'Elsauerstrasse', 'amenity': 'childcare', 'building': 'yes', 'building:roof': 'tile', 'email': '[email protected]', 'name': 'Kinderclub Jojo Elsau', 'opening_hours': 'Mo-Fr 7:00-8:00', 'phone': '+41 52 363 18 71', 'website': 'http://www.ps-elsau.ch/wb/pages/angebote/kinderbetreuung.php', 'id': 'way/117522671'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.8012901, 47.5039045], [8.8011927, 47.5038995], [8.8011901, 47.5039229], [8.801101599999999, 47.5039183], [8.8011043, 47.5038938], [8.8010099, 47.503889], [8.8010221, 47.5037802], [8.8013025, 47.5037946], [8.8012901, 47.5039045]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/120956566', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housenumber': '16', 'addr:postcode': '8032', 'addr:street': 'Biberlinstrasse', 'amenity': 'childcare', 'building': 'yes', 'name': 'Kindervilla Lummerland', 'source': 'Stadt Zürich Open Government Data;Geomatik + Vermessung;Tiefbau- und Entsorgungsdepartement', 'website': 'http://www.kindervilla-lummerland.ch', 'id': 'way/120956566'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5688906, 47.3631563], [8.568924299999999, 47.3631201], [8.568926, 47.3631071], [8.5689391, 47.3630939], [8.5689533, 47.363089], [8.5689959, 47.3630433], [8.5690566, 47.3630693], [8.5690462, 47.3630805], [8.5690991, 47.3631031], [8.5690042, 47.3632049], [8.5688906, 47.3631563]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/122455986', 'properties': {'addr:housenumber': '28', 'addr:postcode': '8051', 'addr:street': 'Auhofstrasse', 'amenity': 'childcare', 'building': 'school', 'name': 'Auhof 1+2 - Morgentisch, Mittag-/Abendhort', 'id': 'way/122455986'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.569852000000001, 47.4072128], [8.5698936, 47.4072839], [8.5697726, 47.4073163], [8.5697883, 47.4073451], [8.5697958, 47.4073437], [8.5698142, 47.4073778], [8.5699012, 47.4073562], [8.5699423, 47.4074266], [8.5698158, 47.4074605], [8.5698546, 47.4075268], [8.5699806, 47.4074931], [8.5700217, 47.4075633], [8.5698566, 47.4076075], [8.5696609, 47.4072727], [8.569698, 47.4072627], [8.5696936, 47.4072552], [8.569852000000001, 47.4072128]]]}}"
Expand Down
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 @@ -3181,3 +3181,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11434561769', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11437253569', 'properties': {'access': 'yes', 'defibrillator:location': 'Neben dem Eingang zum Restaurant Rauti', 'description': 'während der Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': 'Mo -Fr 08:00 - 17:00', 'operator': 'Stiftung RgZ', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11437253569'}, 'geometry': {'type': 'Point', 'coordinates': [8.4885693, 47.3818466]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11438133269', 'properties': {'access': 'no', 'defibrillator:location': 'Wirtschaftsschule KV Winterthur, Haupteingang innen auf der rechten Seite', 'description': 'während Öffnungszeiten verfügbar, in den Ferien spezielle Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': 'Mo-Fr 06:30 - 21:30, Sa 07:00 - 18:00', 'operator': 'Kaufmännischer Verband Winterthur', 'phone': '+41 52 269 18 07', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11438133269'}, 'geometry': {'type': 'Point', 'coordinates': [8.7348068, 47.4971075]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11438673869', 'properties': {'access': 'yes', 'defibrillator:location': 'Bildungszentrum Blaulicht', 'description': 'während den Öffnungszeiten verfügbar, an Feiertagen geschlossen.', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'operator': 'Schutz und Rettung', 'phone': '+41 44 411 10 00', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11438673869'}, 'geometry': {'type': 'Point', 'coordinates': [8.5662621, 47.417736]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11442882269', 'properties': {'access': 'no', 'defibrillator:location': 'Tennisclub Meilen, Restaurant Platz 7', 'description': 'Während Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': '08:00-22:00', 'operator': 'Tennisclub Meilen', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11442882269'}, 'geometry': {'type': 'Point', 'coordinates': [8.6430591, 47.2733291]}}"
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 @@ -2389,3 +2389,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11434561769', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11437253569', 'properties': {'access': 'yes', 'defibrillator:location': 'Neben dem Eingang zum Restaurant Rauti', 'description': 'während der Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': 'Mo -Fr 08:00 - 17:00', 'operator': 'Stiftung RgZ', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11437253569'}, 'geometry': {'type': 'Point', 'coordinates': [8.4885693, 47.3818466]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11438133269', 'properties': {'access': 'no', 'defibrillator:location': 'Wirtschaftsschule KV Winterthur, Haupteingang innen auf der rechten Seite', 'description': 'während Öffnungszeiten verfügbar, in den Ferien spezielle Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'opening_hours': 'Mo-Fr 06:30 - 21:30, Sa 07:00 - 18:00', 'operator': 'Kaufmännischer Verband Winterthur', 'phone': '+41 52 269 18 07', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11438133269'}, 'geometry': {'type': 'Point', 'coordinates': [8.7348068, 47.4971075]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11438673869', 'properties': {'access': 'yes', 'defibrillator:location': 'Bildungszentrum Blaulicht', 'description': 'während den Öffnungszeiten verfügbar, an Feiertagen geschlossen.', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'operator': 'Schutz und Rettung', 'phone': '+41 44 411 10 00', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11438673869'}, 'geometry': {'type': 'Point', 'coordinates': [8.5662621, 47.417736]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11442882269', 'properties': {'access': 'no', 'defibrillator:location': 'Tennisclub Meilen, Restaurant Platz 7', 'description': 'Während Öffnungszeiten', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': '08:00-22:00', 'operator': 'Tennisclub Meilen', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11442882269'}, 'geometry': {'type': 'Point', 'coordinates': [8.6430591, 47.2733291]}}"
Loading

0 comments on commit fc6bf8b

Please sign in to comment.