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 8, 2023
1 parent d4d31b5 commit 30fafb4
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 8 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 @@ -5300,6 +5300,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11035774708', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11036308790', 'properties': {'access': 'yes', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11036308790'}, 'geometry': {'type': 'Point', 'coordinates': [8.8457947, 47.4190992]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11037291971', 'properties': {'barrier': 'gate', 'id': 'node/11037291971'}, 'geometry': {'type': 'Point', 'coordinates': [8.8486125, 47.2561131]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11037337229', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11037337229'}, 'geometry': {'type': 'Point', 'coordinates': [8.8462811, 47.2548138]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11037736049', 'properties': {'barrier': 'gate', 'id': 'node/11037736049'}, 'geometry': {'type': 'Point', 'coordinates': [8.5510555, 47.3758064]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11038203700', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11038203700'}, 'geometry': {'type': 'Point', 'coordinates': [8.7542401, 47.3956296]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11038695387', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11038695387'}, 'geometry': {'type': 'Point', 'coordinates': [8.758493, 47.3956184]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11040006365', 'properties': {'barrier': 'gate', 'id': 'node/11040006365'}, 'geometry': {'type': 'Point', 'coordinates': [8.4912209, 47.687264]}}"
Expand Down Expand Up @@ -5569,3 +5570,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11394084323', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11395522262', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'id': 'node/11395522262'}, 'geometry': {'type': 'Point', 'coordinates': [8.6662484, 47.3945338]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11395582292', 'properties': {'barrier': 'gate', 'id': 'node/11395582292'}, 'geometry': {'type': 'Point', 'coordinates': [8.5105739, 47.3208789]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11395582308', 'properties': {'barrier': 'gate', 'id': 'node/11395582308'}, 'geometry': {'type': 'Point', 'coordinates': [8.5103746, 47.3207937]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397510143', 'properties': {'barrier': 'gate', 'id': 'node/11397510143'}, 'geometry': {'type': 'Point', 'coordinates': [8.6190674, 47.4034031]}}"
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 @@ -4598,6 +4598,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11035774708', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11036308790', 'properties': {'access': 'yes', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11036308790'}, 'geometry': {'type': 'Point', 'coordinates': [8.8457947, 47.4190992]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11037291971', 'properties': {'barrier': 'gate', 'id': 'node/11037291971'}, 'geometry': {'type': 'Point', 'coordinates': [8.8486125, 47.2561131]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11037337229', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/11037337229'}, 'geometry': {'type': 'Point', 'coordinates': [8.8462811, 47.2548138]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11037736049', 'properties': {'barrier': 'gate', 'id': 'node/11037736049'}, 'geometry': {'type': 'Point', 'coordinates': [8.5510555, 47.3758064]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11038203700', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11038203700'}, 'geometry': {'type': 'Point', 'coordinates': [8.7542401, 47.3956296]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11038695387', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11038695387'}, 'geometry': {'type': 'Point', 'coordinates': [8.758493, 47.3956184]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11040051634', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11040051634'}, 'geometry': {'type': 'Point', 'coordinates': [8.4783896, 47.394817]}}"
Expand Down Expand Up @@ -4840,3 +4841,4 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11394084323', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11395522262', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'id': 'node/11395522262'}, 'geometry': {'type': 'Point', 'coordinates': [8.6662484, 47.3945338]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11395582292', 'properties': {'barrier': 'gate', 'id': 'node/11395582292'}, 'geometry': {'type': 'Point', 'coordinates': [8.5105739, 47.3208789]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11395582308', 'properties': {'barrier': 'gate', 'id': 'node/11395582308'}, 'geometry': {'type': 'Point', 'coordinates': [8.5103746, 47.3207937]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397510143', 'properties': {'barrier': 'gate', 'id': 'node/11397510143'}, 'geometry': {'type': 'Point', 'coordinates': [8.6190674, 47.4034031]}}"
10 changes: 9 additions & 1 deletion data/csv/defis/defis_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2890,7 +2890,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10961430605', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10961599805', 'properties': {'access': 'no', 'defibrillator:location': '1.Stock, bei Druckerzentrum ist Erste Hilfe Ecke mit AED stationiert', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '1', 'opening_hours': 'Mo-Fr 08:00-17:00', 'operator': 'CTA Energy Systems AG', 'phone': '+41 41 766 40 00', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10961599805'}, 'geometry': {'type': 'Point', 'coordinates': [8.4362658, 47.1620175]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10962060005', 'properties': {'access': 'yes', 'defibrillator:location': 'Dorfstrasse 45, 8194 Hüntwangen, Bibliotheksgebäude, Vorraum', 'description': 'es hat einen Schlüsselkasten für den Zugang ins Gebäude', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '0', 'operator': 'Gemeinde Hüntwagnen', 'phone': '+4144 869 08 70', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10962060005'}, 'geometry': {'type': 'Point', 'coordinates': [8.4926677, 47.5956226]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10963359805', 'properties': {'access': 'yes', 'defibrillator:location': 'Eingang Betriebsgebäude', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': 'EG', 'opening_hours': '24/7', 'operator': 'ARA Bachwis', 'phone': '+41433553333', 'id': 'node/10963359805'}, 'geometry': {'type': 'Point', 'coordinates': [8.6430628, 47.3799644]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10970275205', 'properties': {'access': 'public', 'defibrillator:location': 'Gemeindehaus Otelfingen', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'level': '0', 'operator': 'Politische Gemeinde Otelfingen', 'phone': '+4144 847 20 47', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10970275205'}, 'geometry': {'type': 'Point', 'coordinates': [8.3881474, 47.4624872]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10970275205', 'properties': {'access': 'yes', 'defibrillator:location': 'Gemeindehaus Otelfingen', 'description': '24h verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Politische Gemeinde Otelfingen', 'phone': '+41 44 847 20 47', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10970275205'}, 'geometry': {'type': 'Point', 'coordinates': [8.3881474, 47.4624872]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10970405205', 'properties': {'access': 'yes', 'defibrillator:location': 'Kiosk Minigolf', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Einwohnergemeinde Unterägeri', 'phone': '+41 41 754 55 07', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10970405205'}, 'geometry': {'type': 'Point', 'coordinates': [8.5878911, 47.1363675]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10973218010', 'properties': {'access': '24/7', 'defibrillator:location': 'Aussenwand am Schulhaus Untermosen', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'operator': 'Stadt Wädenswil', 'id': 'node/10973218010'}, 'geometry': {'type': 'Point', 'coordinates': [8.6597666, 47.2282204]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10973228906', 'properties': {'access': 'yes', 'defibrillator:location': 'Spirax Sarco AG, Gustav Maurer Strasse 9', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '1', 'opening_hours': 'Mo-Fr 08:00-17:00', 'operator': 'Firma', 'phone': '+41443968000', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/10973228906'}, 'geometry': {'type': 'Point', 'coordinates': [8.5747647, 47.3421125]}}"
Expand Down Expand Up @@ -3148,3 +3148,11 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11385426169', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11394056869', 'properties': {'access': 'no', 'defibrillator:location': 'Elias-Canetti-Strasse 7', 'description': 'Available during opening time', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'EG', 'opening_hours': 'Mo-Fr 08:00-17:00', 'operator': 'Railpool GmbH - Zwiegniederlassung ZH', 'phone': '+41432178201', 'id': 'node/11394056869'}, 'geometry': {'type': 'Point', 'coordinates': [8.5406447, 47.4114942]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11394696369', 'properties': {'access': 'no', 'defibrillator:location': 'Schule In der Höh', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': '1.OG', 'opening_hours': '24/7', 'operator': 'Schule ', 'id': 'node/11394696369'}, 'geometry': {'type': 'Point', 'coordinates': [8.671805299999999, 47.3846454]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11396720069', 'properties': {'access': 'yes', 'defibrillator:location': 'Lobby ASVZ, Gang zum Kraft/Cardio', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'ASVZ Kraft Cardio', 'operator': 'ASVZ', 'id': 'node/11396720069'}, 'geometry': {'type': 'Point', 'coordinates': [8.716975, 47.4937898]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397446169', 'properties': {'access': 'yes', 'defibrillator:location': 'Eingang altes Gemeindehaus, Dorfplatz 2, 8523 Hagenbuch', 'description': 'Öffentlich zugänglich', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Hagenbuch', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11397446169'}, 'geometry': {'type': 'Point', 'coordinates': [8.8879126, 47.5209358]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397452969', 'properties': {'access': 'yes', 'defibrillator:location': 'Vor dem Eingang, Oberschneit 44, 8523 Hagenbuch', 'description': 'Öffentlich zugänglich', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Hagenbuch', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11397452969'}, 'geometry': {'type': 'Point', 'coordinates': [8.8640034, 47.5203055]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397453869', 'properties': {'access': 'yes', 'defibrillator:location': 'Vor dem Eingang, Schneitbergstrasse 3, 8523 Hagenbuch', 'description': 'Öffentlich zugänglich', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Hagenbuch', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11397453869'}, 'geometry': {'type': 'Point', 'coordinates': [8.8856703, 47.5185448]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397516969', 'properties': {'access': 'yes', 'defibrillator:location': 'Schaffhausenstrasse 119b', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Neftenbach', 'phone': '+41 52 305 06 66', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11397516969'}, 'geometry': {'type': 'Point', 'coordinates': [8.6808193, 47.5421063]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397520069', 'properties': {'access': 'yes', 'defibrillator:location': 'altes Schulhaus Hünikon', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde Neftenbach', 'phone': '+41 52 305 06 66', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11397520069'}, 'geometry': {'type': 'Point', 'coordinates': [8.6701655, 47.5516039]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397529169', 'properties': {'access': 'no', 'defibrillator:location': 'TCS Zentrum Betzholz', 'description': 'während Öffnungszeiten verfügbar', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'level': 'Erdgeschoss Empfang', 'operator': 'TCS Training & Events', 'id': 'node/11397529169'}, 'geometry': {'type': 'Point', 'coordinates': [8.8177942, 47.2883626]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397677870', 'properties': {'access': 'no', 'defibrillator:location': 'Turnhalle Schulhaus Geissberg', 'description': 'nur während Öffnungszeiten zugänglich', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'yes', 'operator': 'Gemeinde Bubikon', 'phone': '+41 55 253 33 33', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11397677870'}, 'geometry': {'type': 'Point', 'coordinates': [8.803702, 47.2570461]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11397836569', 'properties': {'access': 'yes', 'defibrillator:location': 'Sanitärgebäude Camping', 'emergency': 'defibrillator', 'emergency:phone': '144', 'indoor': 'no', 'opening_hours': '24/7', 'operator': 'Gemeinde', 'phone': '+4152 647 47 47', 'source': 'local_knowledge, defikarte.ch', 'id': 'node/11397836569'}, 'geometry': {'type': 'Point', 'coordinates': [8.658294099999999, 47.686095]}}"
Loading

0 comments on commit 30fafb4

Please sign in to comment.