Skip to content

Commit

Permalink
Convert json -> xml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnuessli committed Nov 1, 2023
1 parent 0a96812 commit 5a06dd2
Show file tree
Hide file tree
Showing 36 changed files with 152 additions and 147 deletions.
10 changes: 5 additions & 5 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3156,9 +3156,9 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/5766155782', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/5767719558', 'properties': {'barrier': 'gate', 'id': 'node/5767719558'}, 'geometry': {'type': 'Point', 'coordinates': [8.7551247, 47.5059688]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5768354632', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5768354632'}, 'geometry': {'type': 'Point', 'coordinates': [8.5005707, 47.3274662]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5770476032', 'properties': {'barrier': 'gate', 'id': 'node/5770476032'}, 'geometry': {'type': 'Point', 'coordinates': [8.528502, 47.3686089]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847508', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'id': 'node/5777847508'}, 'geometry': {'type': 'Point', 'coordinates': [8.4898452, 47.3975176]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847509', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'id': 'node/5777847509'}, 'geometry': {'type': 'Point', 'coordinates': [8.4922762, 47.3974265]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5778632581', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5778632581'}, 'geometry': {'type': 'Point', 'coordinates': [8.4922459, 47.3972168]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847508', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5777847508'}, 'geometry': {'type': 'Point', 'coordinates': [8.4898653, 47.397521]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847509', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'id': 'node/5777847509'}, 'geometry': {'type': 'Point', 'coordinates': [8.492276799999999, 47.3974224]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5778632581', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5778632581'}, 'geometry': {'type': 'Point', 'coordinates': [8.4922733, 47.39721]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5789987040', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/5789987040'}, 'geometry': {'type': 'Point', 'coordinates': [8.5503827, 47.3545393]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5794144107', 'properties': {'barrier': 'gate', 'id': 'node/5794144107'}, 'geometry': {'type': 'Point', 'coordinates': [8.3842066, 47.4465192]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5796040586', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/5796040586'}, 'geometry': {'type': 'Point', 'coordinates': [8.5530212, 47.3756945]}}"
Expand All @@ -3174,7 +3174,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/5829810652', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/5831719980', 'properties': {'access': 'yes', 'barrier': 'gate', 'id': 'node/5831719980'}, 'geometry': {'type': 'Point', 'coordinates': [8.9045631, 47.011433]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5831719981', 'properties': {'access': 'yes', 'barrier': 'gate', 'id': 'node/5831719981'}, 'geometry': {'type': 'Point', 'coordinates': [8.9030115, 47.011152]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5835860091', 'properties': {'barrier': 'gate', 'id': 'node/5835860091'}, 'geometry': {'type': 'Point', 'coordinates': [8.5888212, 47.4100373]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5839708546', 'properties': {'barrier': 'gate', 'id': 'node/5839708546'}, 'geometry': {'type': 'Point', 'coordinates': [8.4891979, 47.398102]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5839708546', 'properties': {'barrier': 'gate', 'id': 'node/5839708546'}, 'geometry': {'type': 'Point', 'coordinates': [8.4892093, 47.3980999]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5844655669', 'properties': {'barrier': 'gate', 'id': 'node/5844655669'}, 'geometry': {'type': 'Point', 'coordinates': [8.721512, 47.5064557]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5844655672', 'properties': {'barrier': 'gate', 'id': 'node/5844655672'}, 'geometry': {'type': 'Point', 'coordinates': [8.7220483, 47.5071857]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5846452095', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5846452095'}, 'geometry': {'type': 'Point', 'coordinates': [8.4879256, 47.3915136]}}"
Expand Down Expand Up @@ -3434,7 +3434,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/6659079293', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/6664816963', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'motor_vehicle': 'permit', 'id': 'node/6664816963'}, 'geometry': {'type': 'Point', 'coordinates': [8.5062192, 47.3931431]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6664816977', 'properties': {'access': 'permit', 'barrier': 'gate', 'id': 'node/6664816977'}, 'geometry': {'type': 'Point', 'coordinates': [8.5030493, 47.3927646]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6665020453', 'properties': {'barrier': 'gate', 'id': 'node/6665020453'}, 'geometry': {'type': 'Point', 'coordinates': [8.5033564, 47.3942667]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668016673', 'properties': {'barrier': 'lift_gate', 'id': 'node/6668016673'}, 'geometry': {'type': 'Point', 'coordinates': [8.489071, 47.3976527]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668016673', 'properties': {'barrier': 'lift_gate', 'id': 'node/6668016673'}, 'geometry': {'type': 'Point', 'coordinates': [8.4890697, 47.3976536]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668113186', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/6668113186'}, 'geometry': {'type': 'Point', 'coordinates': [8.6340761, 47.270944]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668113187', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/6668113187'}, 'geometry': {'type': 'Point', 'coordinates': [8.634303, 47.2708941]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668113194', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/6668113194'}, 'geometry': {'type': 'Point', 'coordinates': [8.6339774, 47.2709829]}}"
Expand Down
10 changes: 5 additions & 5 deletions data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2736,9 +2736,9 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/5766155782', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/5767719558', 'properties': {'barrier': 'gate', 'id': 'node/5767719558'}, 'geometry': {'type': 'Point', 'coordinates': [8.7551247, 47.5059688]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5768354632', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5768354632'}, 'geometry': {'type': 'Point', 'coordinates': [8.5005707, 47.3274662]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5770476032', 'properties': {'barrier': 'gate', 'id': 'node/5770476032'}, 'geometry': {'type': 'Point', 'coordinates': [8.528502, 47.3686089]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847508', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'id': 'node/5777847508'}, 'geometry': {'type': 'Point', 'coordinates': [8.4898452, 47.3975176]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847509', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'id': 'node/5777847509'}, 'geometry': {'type': 'Point', 'coordinates': [8.4922762, 47.3974265]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5778632581', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5778632581'}, 'geometry': {'type': 'Point', 'coordinates': [8.4922459, 47.3972168]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847508', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5777847508'}, 'geometry': {'type': 'Point', 'coordinates': [8.4898653, 47.397521]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5777847509', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'id': 'node/5777847509'}, 'geometry': {'type': 'Point', 'coordinates': [8.492276799999999, 47.3974224]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5778632581', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5778632581'}, 'geometry': {'type': 'Point', 'coordinates': [8.4922733, 47.39721]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5789987040', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/5789987040'}, 'geometry': {'type': 'Point', 'coordinates': [8.5503827, 47.3545393]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5794144107', 'properties': {'barrier': 'gate', 'id': 'node/5794144107'}, 'geometry': {'type': 'Point', 'coordinates': [8.3842066, 47.4465192]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5796040586', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/5796040586'}, 'geometry': {'type': 'Point', 'coordinates': [8.5530212, 47.3756945]}}"
Expand All @@ -2750,7 +2750,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/5814367471', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/5826757178', 'properties': {'barrier': 'gate', 'foot': 'yes', 'motor_vehicle': 'no', 'id': 'node/5826757178'}, 'geometry': {'type': 'Point', 'coordinates': [8.5350322, 47.3463906]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5829810652', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5829810652'}, 'geometry': {'type': 'Point', 'coordinates': [8.4812113, 47.3882135]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5835860091', 'properties': {'barrier': 'gate', 'id': 'node/5835860091'}, 'geometry': {'type': 'Point', 'coordinates': [8.5888212, 47.4100373]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5839708546', 'properties': {'barrier': 'gate', 'id': 'node/5839708546'}, 'geometry': {'type': 'Point', 'coordinates': [8.4891979, 47.398102]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5839708546', 'properties': {'barrier': 'gate', 'id': 'node/5839708546'}, 'geometry': {'type': 'Point', 'coordinates': [8.4892093, 47.3980999]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5844655669', 'properties': {'barrier': 'gate', 'id': 'node/5844655669'}, 'geometry': {'type': 'Point', 'coordinates': [8.721512, 47.5064557]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5844655672', 'properties': {'barrier': 'gate', 'id': 'node/5844655672'}, 'geometry': {'type': 'Point', 'coordinates': [8.7220483, 47.5071857]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5846452095', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/5846452095'}, 'geometry': {'type': 'Point', 'coordinates': [8.4879256, 47.3915136]}}"
Expand Down Expand Up @@ -2974,7 +2974,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/6659079293', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/6664816963', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'motor_vehicle': 'permit', 'id': 'node/6664816963'}, 'geometry': {'type': 'Point', 'coordinates': [8.5062192, 47.3931431]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6664816977', 'properties': {'access': 'permit', 'barrier': 'gate', 'id': 'node/6664816977'}, 'geometry': {'type': 'Point', 'coordinates': [8.5030493, 47.3927646]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6665020453', 'properties': {'barrier': 'gate', 'id': 'node/6665020453'}, 'geometry': {'type': 'Point', 'coordinates': [8.5033564, 47.3942667]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668016673', 'properties': {'barrier': 'lift_gate', 'id': 'node/6668016673'}, 'geometry': {'type': 'Point', 'coordinates': [8.489071, 47.3976527]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668016673', 'properties': {'barrier': 'lift_gate', 'id': 'node/6668016673'}, 'geometry': {'type': 'Point', 'coordinates': [8.4890697, 47.3976536]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668113186', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/6668113186'}, 'geometry': {'type': 'Point', 'coordinates': [8.6340761, 47.270944]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668113187', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/6668113187'}, 'geometry': {'type': 'Point', 'coordinates': [8.634303, 47.2708941]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6668113194', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/6668113194'}, 'geometry': {'type': 'Point', 'coordinates': [8.6339774, 47.2709829]}}"
Expand Down
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 @@ -13,7 +13,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/800658573', 'properties': {'e
FeatureCollection,"{'type': 'Feature', 'id': 'node/4592367996', 'properties': {'addr:city': 'Meilen', 'addr:country': 'CH', 'addr:housenumber': '7', 'addr:postcode': '8706', 'addr:street': 'Bruechstrasse', 'emergency': 'ambulance_station', 'name': 'Rettungsdienst Spital Männedorf AG', 'id': 'node/4592367996'}, 'geometry': {'type': 'Point', 'coordinates': [8.6428432, 47.2715586]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/5282740906', 'properties': {'addr:city': 'Bachenbülach', 'addr:housenumber': '8', 'addr:postcode': '8184', 'addr:street': 'Länggenstrasse', 'email': '[email protected]', 'emergency': 'ambulance_station', 'name': 'Einsatzzentrale Tierrettung', 'opening_hours': '24/7', 'operator': 'Stiftung TierRettungsDienst', 'phone': '+41 800 211 222', 'website': 'http://www.tierrettungsdienst.ch', 'id': 'node/5282740906'}, 'geometry': {'type': 'Point', 'coordinates': [8.5439085, 47.5034812]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6209722205', 'properties': {'emergency': 'ambulance_station', 'name': 'Rettungsdienst See-Spital', 'operator': 'See-Spital Horgen', 'id': 'node/6209722205'}, 'geometry': {'type': 'Point', 'coordinates': [8.591203, 47.2625627]}}"
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': 'http://www.zg.ch/rdz/', 'id': 'node/6578370440'}, 'geometry': {'type': 'Point', 'coordinates': [8.5093537, 47.1734783]}}"
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]}}"
Expand Down
Loading

0 comments on commit 5a06dd2

Please sign in to comment.