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 14, 2024
1 parent 1c5a10a commit b5b5bbf
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 11 deletions.
1 change: 1 addition & 0 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5883,3 +5883,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11804224452', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11805438849', 'properties': {'barrier': 'gate', 'id': 'node/11805438849'}, 'geometry': {'type': 'Point', 'coordinates': [8.5382046, 47.3705337]}}"
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]}}"
1 change: 1 addition & 0 deletions data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5125,3 +5125,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11804224452', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11805438849', 'properties': {'barrier': 'gate', 'id': 'node/11805438849'}, 'geometry': {'type': 'Point', 'coordinates': [8.5382046, 47.3705337]}}"
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]}}"
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 @@ -490,4 +490,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11635003920', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11702200400', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housenumber': '78', 'addr:postcode': '8050', 'addr:street': 'Binzmühlestrasse', 'alt_name': 'KiTa 1 - Zürich, Oerlikon', 'amenity': 'childcare', 'name': 'Kita Mariakäfer', 'operator': 'Kita Mariakäfer', 'website': 'https://kinderkrippe-mariakaefer.ch/kita-1-zuerich-oerlikon/', 'id': 'node/11702200400'}, 'geometry': {'type': 'Point', 'coordinates': [8.5425371, 47.4148792]}}"
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', 'id': 'node/11810205560'}, 'geometry': {'type': 'Point', 'coordinates': [8.5188827, 47.3402372]}}"
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]}}"
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 @@ -460,4 +460,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11635003920', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11702200400', 'properties': {'addr:city': 'Zürich', 'addr:country': 'CH', 'addr:housenumber': '78', 'addr:postcode': '8050', 'addr:street': 'Binzmühlestrasse', 'alt_name': 'KiTa 1 - Zürich, Oerlikon', 'amenity': 'childcare', 'name': 'Kita Mariakäfer', 'operator': 'Kita Mariakäfer', 'website': 'https://kinderkrippe-mariakaefer.ch/kita-1-zuerich-oerlikon/', 'id': 'node/11702200400'}, 'geometry': {'type': 'Point', 'coordinates': [8.5425371, 47.4148792]}}"
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', 'id': 'node/11810205560'}, 'geometry': {'type': 'Point', 'coordinates': [8.5188827, 47.3402372]}}"
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]}}"
8 changes: 7 additions & 1 deletion data/csv/defis/defis_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11203495938', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11204764537', 'properties': {'access': 'yes', 'defibrillator:location': 'Beim Eingang zur Tiefgarage bei Velostand', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'id': 'node/11204764537'}, 'geometry': {'type': 'Point', 'coordinates': [8.6572753, 47.0186127]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11205117137', 'properties': {'access': 'no', 'defibrillator:location': 'Schulhaus Haupteingang links', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'opening_hours': 'Mo-Fr: 07:30-17:00', 'id': 'node/11205117137'}, 'geometry': {'type': 'Point', 'coordinates': [8.5478224, 47.5181335]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11207822537', 'properties': {'access': 'yes', 'defibrillator:location': 'Mythen Forum ', 'description': 'Eingang der Säle / Aussenterrasse Restaurant > an Hauswand', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': '0', 'opening_hours': '24/7', 'operator': 'Meldung: Beim Standort in Karte ""Haus Bethlehem"" ist kein Defibrillator vorhanden!!!', 'phone': '+41 41 819 67 38', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11207822537'}, 'geometry': {'type': 'Point', 'coordinates': [8.6550862, 47.020931]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11210666237', 'properties': {'access': 'yes', 'defibrillator:location': 'Melkstand', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': '24/7', 'operator': 'Kanton Zürich Strickhof ', 'phone': '+41795444906', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11210666237'}, 'geometry': {'type': 'Point', 'coordinates': [8.5361833, 47.1128486]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11210666237', 'properties': {'access': 'yes', 'defibrillator:location': 'Melkstand', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 09:00-17:00', 'operator': 'Kanton Zürich Strickhof', 'phone': '+41795444906', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11210666237'}, 'geometry': {'type': 'Point', 'coordinates': [8.536177200000001, 47.1130893]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11215265144', 'properties': {'access': 'yes', 'defibrillator:location': 'AED Wiese beim Landungssteg Kursschiff', 'emergency': 'defibrillator', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Einwohnergemeinde Cham', 'phone': '041 723 87 94', 'id': 'node/11215265144'}, 'geometry': {'type': 'Point', 'coordinates': [8.4634972, 47.1788006]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11217354437', 'properties': {'access': 'no', 'defibrillator:location': 'Eingang Bildungszentrum links', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'operator': 'Kanton Zürich', 'id': 'node/11217354437'}, 'geometry': {'type': 'Point', 'coordinates': [8.650718, 47.2482889]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11218762259', 'properties': {'access': 'permissive', 'defibrillator:location': 'AVANTEC AG, 3rd floor', 'defibrillator:location:de': 'Regal in der Garderobe', 'defibrillator:location:en': 'Shelf in the wardrobe', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '3', 'opening_hours': 'Mo-Fr 08:00-18:00', 'operator': 'AVANTEC AG', 'phone': '+41 44 457 13 13', 'wheelchair': 'yes', 'id': 'node/11218762259'}, 'geometry': {'type': 'Point', 'coordinates': [8.5212785, 47.3885039]}}"
Expand Down Expand Up @@ -3391,3 +3391,9 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11809641370', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11809670469', 'properties': {'access': 'no', 'defibrillator:location': 'BZ Sonnhalde', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG, Gemeinschaftsraum', 'operator': 'Gemeinde', 'id': 'node/11809670469'}, 'geometry': {'type': 'Point', 'coordinates': [8.4620663, 47.4525817]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11809690980', 'properties': {'access': 'no', 'defibrillator:location': 'Uetlibergstrasse 132', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '11', 'opening_hours': 'Mo-Fr 08:30-16:30', 'operator': 'private company', 'phone': '+41444610524', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11809690980'}, 'geometry': {'type': 'Point', 'coordinates': [8.5164589, 47.3606188]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11810431569', 'properties': {'access': 'yes', 'defibrillator:location': 'Tiefgarage, Besucherzugang', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '-1', 'opening_hours': '24/7', 'operator': 'Eigentümergemeinschaft', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11810431569'}, 'geometry': {'type': 'Point', 'coordinates': [8.472921, 47.3343317]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811208069', 'properties': {'access': 'yes', 'defibrillator:location': 'Platz Feldstrasse 13 /21', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Verwaltung ', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11811208069'}, 'geometry': {'type': 'Point', 'coordinates': [8.4455649, 47.4031804]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811219137', 'properties': {'access': 'no', 'defibrillator:location': 'Erdgeschoss, Friedbergstrasse 68', 'description': 'nur während der Bürozeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 8:00-17:00', 'operator': 'Letec IT Solutions AG', 'phone': '+41526324422', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11811219137'}, 'geometry': {'type': 'Point', 'coordinates': [8.6277813, 47.6970324]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811221512', 'properties': {'access': 'no', 'defibrillator:location': 'Rheinweg 6, rechts neben Eingang', 'description': 'nur während der Bürozeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'opening_hours': 'Mo-Fr 8:00-17:00', 'operator': 'Letec IT Solutions AG', 'phone': '+41526324422', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11811221512'}, 'geometry': {'type': 'Point', 'coordinates': [8.6227602, 47.6919305]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811526969', 'properties': {'access': 'yes', 'defibrillator:location': 'Schulhaus Neuwies', 'description': 'Jederzeit Verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Wald', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11811526969'}, 'geometry': {'type': 'Point', 'coordinates': [8.9214724, 47.2746141]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811584527', 'properties': {'access': 'yes', 'defibrillator:location': 'Schulhaus Högler', 'description': 'Direkt bei dem Eingang vom Gebäude Trackt B', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG - Eingang', 'opening_hours': '24/7', 'operator': 'Schulhaus Högler', 'id': 'node/11811584527'}, 'geometry': {'type': 'Point', 'coordinates': [8.6089485, 47.3938658]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11812245969', 'properties': {'access': 'no', 'defibrillator:location': 'treppenhaus EG', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'opening_hours': 'Mo-Fr 07:00-17:00', 'operator': 'Inauen Strassenbau Gutenswil', 'phone': '+41449451445', 'id': 'node/11812245969'}, 'geometry': {'type': 'Point', 'coordinates': [8.7168813, 47.3800608]}}"
4 changes: 4 additions & 0 deletions data/csv/defis/defis_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2572,3 +2572,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11809641370', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11809670469', 'properties': {'access': 'no', 'defibrillator:location': 'BZ Sonnhalde', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG, Gemeinschaftsraum', 'operator': 'Gemeinde', 'id': 'node/11809670469'}, 'geometry': {'type': 'Point', 'coordinates': [8.4620663, 47.4525817]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11809690980', 'properties': {'access': 'no', 'defibrillator:location': 'Uetlibergstrasse 132', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '11', 'opening_hours': 'Mo-Fr 08:30-16:30', 'operator': 'private company', 'phone': '+41444610524', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11809690980'}, 'geometry': {'type': 'Point', 'coordinates': [8.5164589, 47.3606188]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11810431569', 'properties': {'access': 'yes', 'defibrillator:location': 'Tiefgarage, Besucherzugang', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '-1', 'opening_hours': '24/7', 'operator': 'Eigentümergemeinschaft', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11810431569'}, 'geometry': {'type': 'Point', 'coordinates': [8.472921, 47.3343317]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811208069', 'properties': {'access': 'yes', 'defibrillator:location': 'Platz Feldstrasse 13 /21', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Verwaltung ', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11811208069'}, 'geometry': {'type': 'Point', 'coordinates': [8.4455649, 47.4031804]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811526969', 'properties': {'access': 'yes', 'defibrillator:location': 'Schulhaus Neuwies', 'description': 'Jederzeit Verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Wald', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11811526969'}, 'geometry': {'type': 'Point', 'coordinates': [8.9214724, 47.2746141]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11811584527', 'properties': {'access': 'yes', 'defibrillator:location': 'Schulhaus Högler', 'description': 'Direkt bei dem Eingang vom Gebäude Trackt B', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG - Eingang', 'opening_hours': '24/7', 'operator': 'Schulhaus Högler', 'id': 'node/11811584527'}, 'geometry': {'type': 'Point', 'coordinates': [8.6089485, 47.3938658]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11812245969', 'properties': {'access': 'no', 'defibrillator:location': 'treppenhaus EG', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'opening_hours': 'Mo-Fr 07:00-17:00', 'operator': 'Inauen Strassenbau Gutenswil', 'phone': '+41449451445', 'id': 'node/11812245969'}, 'geometry': {'type': 'Point', 'coordinates': [8.7168813, 47.3800608]}}"
Loading

0 comments on commit b5b5bbf

Please sign in to comment.