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 19, 2023
1 parent 396eea4 commit 82ea8dc
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 20 deletions.
11 changes: 10 additions & 1 deletion data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/1231544791', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/1233572419', 'properties': {'barrier': 'gate', 'id': 'node/1233572419'}, 'geometry': {'type': 'Point', 'coordinates': [8.5283877, 47.3821548]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1236630705', 'properties': {'access': 'emergency', 'barrier': 'gate', 'emergency': 'designated', 'layer': '-2', 'level': '-2', 'note': 'gated emergency access to Halle Museumstrasse/Landesmuseum', 'id': 'node/1236630705'}, 'geometry': {'type': 'Point', 'coordinates': [8.5388215, 47.3791345]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1241610875', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/1241610875'}, 'geometry': {'type': 'Point', 'coordinates': [8.7135333, 47.3036391]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1259688858', 'properties': {'barrier': 'gate', 'id': 'node/1259688858'}, 'geometry': {'type': 'Point', 'coordinates': [8.548508, 47.5186603]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1259798109', 'properties': {'barrier': 'lift_gate', 'motorcar': 'yes', 'motorcycle': 'yes', 'source': 'survey', 'id': 'node/1259798109'}, 'geometry': {'type': 'Point', 'coordinates': [8.8802874, 47.1808118]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1259798141', 'properties': {'barrier': 'lift_gate', 'motorcar': 'yes', 'motorcycle': 'yes', 'source': 'survey', 'id': 'node/1259798141'}, 'geometry': {'type': 'Point', 'coordinates': [8.8780565, 47.1817638]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1259798174', 'properties': {'barrier': 'lift_gate', 'motorcar': 'yes', 'motorcycle': 'yes', 'source': 'survey', 'id': 'node/1259798174'}, 'geometry': {'type': 'Point', 'coordinates': [8.8779797, 47.1816125]}}"
Expand Down Expand Up @@ -2666,7 +2667,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/4702114333', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/4716015140', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'horse': 'no', 'motorcar': 'no', 'motorcycle': 'no', 'id': 'node/4716015140'}, 'geometry': {'type': 'Point', 'coordinates': [8.4402329, 47.2013768]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4717273975', 'properties': {'barrier': 'gate', 'id': 'node/4717273975'}, 'geometry': {'type': 'Point', 'coordinates': [8.5241878, 47.4152503]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4717361287', 'properties': {'barrier': 'gate', 'id': 'node/4717361287'}, 'geometry': {'type': 'Point', 'coordinates': [8.5634968, 47.3840342]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4718106664', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/4718106664'}, 'geometry': {'type': 'Point', 'coordinates': [8.5261666, 47.5219108]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4718106664', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/4718106664'}, 'geometry': {'type': 'Point', 'coordinates': [8.5261736, 47.521916]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4724739324', 'properties': {'barrier': 'gate', 'id': 'node/4724739324'}, 'geometry': {'type': 'Point', 'coordinates': [8.5803064, 47.580921599999996]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4728482312', 'properties': {'barrier': 'gate', 'id': 'node/4728482312'}, 'geometry': {'type': 'Point', 'coordinates': [8.817871, 47.288494]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4728482320', 'properties': {'barrier': 'gate', 'id': 'node/4728482320'}, 'geometry': {'type': 'Point', 'coordinates': [8.8164356, 47.2879754]}}"
Expand Down Expand Up @@ -5376,6 +5377,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11098049714', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11098049717', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11098049717'}, 'geometry': {'type': 'Point', 'coordinates': [8.7536841, 47.3035316]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11098049724', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11098049724'}, 'geometry': {'type': 'Point', 'coordinates': [8.7554994, 47.3025786]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11099500586', 'properties': {'barrier': 'gate', 'id': 'node/11099500586'}, 'geometry': {'type': 'Point', 'coordinates': [8.6629031, 47.3942623]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11099958969', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11099958969'}, 'geometry': {'type': 'Point', 'coordinates': [8.6824098, 47.5954274]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11101273878', 'properties': {'barrier': 'gate', 'id': 'node/11101273878'}, 'geometry': {'type': 'Point', 'coordinates': [8.6343984, 47.3963986]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11101273904', 'properties': {'barrier': 'gate', 'id': 'node/11101273904'}, 'geometry': {'type': 'Point', 'coordinates': [8.637213299999999, 47.3958474]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11101898678', 'properties': {'barrier': 'gate', 'id': 'node/11101898678'}, 'geometry': {'type': 'Point', 'coordinates': [8.6276925, 47.401871]}}"
Expand Down Expand Up @@ -5601,3 +5603,10 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11421028106', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11422402914', 'properties': {'barrier': 'gate', 'id': 'node/11422402914'}, 'geometry': {'type': 'Point', 'coordinates': [8.6474388, 47.4104701]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11422435986', 'properties': {'barrier': 'gate', 'id': 'node/11422435986'}, 'geometry': {'type': 'Point', 'coordinates': [8.6499139, 47.4036272]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11422436061', 'properties': {'barrier': 'gate', 'id': 'node/11422436061'}, 'geometry': {'type': 'Point', 'coordinates': [8.6493222, 47.404558]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425020902', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/11425020902'}, 'geometry': {'type': 'Point', 'coordinates': [8.6816441, 47.595462]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425145082', 'properties': {'barrier': 'gate', 'id': 'node/11425145082'}, 'geometry': {'type': 'Point', 'coordinates': [8.549294, 47.5183087]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425145175', 'properties': {'barrier': 'gate', 'id': 'node/11425145175'}, 'geometry': {'type': 'Point', 'coordinates': [8.5493508, 47.5182202]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425167918', 'properties': {'barrier': 'gate', 'id': 'node/11425167918'}, 'geometry': {'type': 'Point', 'coordinates': [8.6435876, 47.4116222]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11426851516', 'properties': {'barrier': 'gate', 'id': 'node/11426851516'}, 'geometry': {'type': 'Point', 'coordinates': [8.5257549, 47.5210635]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11426854643', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11426854643'}, 'geometry': {'type': 'Point', 'coordinates': [8.550624299999999, 47.0493835]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11426854657', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11426854657'}, 'geometry': {'type': 'Point', 'coordinates': [8.5504071, 47.0494768]}}"
2 changes: 2 additions & 0 deletions data/csv/access/gates/gates_kt_sz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -385,3 +385,5 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11307760338', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11391639531', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11391639531'}, 'geometry': {'type': 'Point', 'coordinates': [8.7513035, 47.1866314]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11393839611', 'properties': {'barrier': 'gate', 'foot': 'yes', 'id': 'node/11393839611'}, 'geometry': {'type': 'Point', 'coordinates': [8.7477303, 47.1873759]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11399948849', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11399948849'}, 'geometry': {'type': 'Point', 'coordinates': [8.8222025, 47.1836316]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11426854643', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11426854643'}, 'geometry': {'type': 'Point', 'coordinates': [8.550624299999999, 47.0493835]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11426854657', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/11426854657'}, 'geometry': {'type': 'Point', 'coordinates': [8.5504071, 47.0494768]}}"
9 changes: 8 additions & 1 deletion data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/1231544791', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/1233572419', 'properties': {'barrier': 'gate', 'id': 'node/1233572419'}, 'geometry': {'type': 'Point', 'coordinates': [8.5283877, 47.3821548]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1236630705', 'properties': {'access': 'emergency', 'barrier': 'gate', 'emergency': 'designated', 'layer': '-2', 'level': '-2', 'note': 'gated emergency access to Halle Museumstrasse/Landesmuseum', 'id': 'node/1236630705'}, 'geometry': {'type': 'Point', 'coordinates': [8.5388215, 47.3791345]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1241610875', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/1241610875'}, 'geometry': {'type': 'Point', 'coordinates': [8.7135333, 47.3036391]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1259688858', 'properties': {'barrier': 'gate', 'id': 'node/1259688858'}, 'geometry': {'type': 'Point', 'coordinates': [8.548508, 47.5186603]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1261296343', 'properties': {'barrier': 'gate', 'id': 'node/1261296343'}, 'geometry': {'type': 'Point', 'coordinates': [8.5320221, 47.4039765]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1261442339', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/1261442339'}, 'geometry': {'type': 'Point', 'coordinates': [8.4275875, 47.2935422]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1261442803', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/1261442803'}, 'geometry': {'type': 'Point', 'coordinates': [8.4222753, 47.2886401]}}"
Expand Down Expand Up @@ -2267,7 +2268,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/4699772167', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/4702114333', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/4702114333'}, 'geometry': {'type': 'Point', 'coordinates': [8.530467, 47.5180282]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4717273975', 'properties': {'barrier': 'gate', 'id': 'node/4717273975'}, 'geometry': {'type': 'Point', 'coordinates': [8.5241878, 47.4152503]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4717361287', 'properties': {'barrier': 'gate', 'id': 'node/4717361287'}, 'geometry': {'type': 'Point', 'coordinates': [8.5634968, 47.3840342]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4718106664', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/4718106664'}, 'geometry': {'type': 'Point', 'coordinates': [8.5261666, 47.5219108]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4718106664', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/4718106664'}, 'geometry': {'type': 'Point', 'coordinates': [8.5261736, 47.521916]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4724739324', 'properties': {'barrier': 'gate', 'id': 'node/4724739324'}, 'geometry': {'type': 'Point', 'coordinates': [8.5803064, 47.580921599999996]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4728482312', 'properties': {'barrier': 'gate', 'id': 'node/4728482312'}, 'geometry': {'type': 'Point', 'coordinates': [8.817871, 47.288494]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/4728482320', 'properties': {'barrier': 'gate', 'id': 'node/4728482320'}, 'geometry': {'type': 'Point', 'coordinates': [8.8164356, 47.2879754]}}"
Expand Down Expand Up @@ -4662,6 +4663,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11098049714', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11098049717', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11098049717'}, 'geometry': {'type': 'Point', 'coordinates': [8.7536841, 47.3035316]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11098049724', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11098049724'}, 'geometry': {'type': 'Point', 'coordinates': [8.7554994, 47.3025786]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11099500586', 'properties': {'barrier': 'gate', 'id': 'node/11099500586'}, 'geometry': {'type': 'Point', 'coordinates': [8.6629031, 47.3942623]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11099958969', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11099958969'}, 'geometry': {'type': 'Point', 'coordinates': [8.6824098, 47.5954274]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11101273878', 'properties': {'barrier': 'gate', 'id': 'node/11101273878'}, 'geometry': {'type': 'Point', 'coordinates': [8.6343984, 47.3963986]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11101273904', 'properties': {'barrier': 'gate', 'id': 'node/11101273904'}, 'geometry': {'type': 'Point', 'coordinates': [8.637213299999999, 47.3958474]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11101898678', 'properties': {'barrier': 'gate', 'id': 'node/11101898678'}, 'geometry': {'type': 'Point', 'coordinates': [8.6276925, 47.401871]}}"
Expand Down Expand Up @@ -4869,3 +4871,8 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11421028106', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11422402914', 'properties': {'barrier': 'gate', 'id': 'node/11422402914'}, 'geometry': {'type': 'Point', 'coordinates': [8.6474388, 47.4104701]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11422435986', 'properties': {'barrier': 'gate', 'id': 'node/11422435986'}, 'geometry': {'type': 'Point', 'coordinates': [8.6499139, 47.4036272]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11422436061', 'properties': {'barrier': 'gate', 'id': 'node/11422436061'}, 'geometry': {'type': 'Point', 'coordinates': [8.6493222, 47.404558]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425020902', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/11425020902'}, 'geometry': {'type': 'Point', 'coordinates': [8.6816441, 47.595462]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425145082', 'properties': {'barrier': 'gate', 'id': 'node/11425145082'}, 'geometry': {'type': 'Point', 'coordinates': [8.549294, 47.5183087]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425145175', 'properties': {'barrier': 'gate', 'id': 'node/11425145175'}, 'geometry': {'type': 'Point', 'coordinates': [8.5493508, 47.5182202]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11425167918', 'properties': {'barrier': 'gate', 'id': 'node/11425167918'}, 'geometry': {'type': 'Point', 'coordinates': [8.6435876, 47.4116222]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11426851516', 'properties': {'barrier': 'gate', 'id': 'node/11426851516'}, 'geometry': {'type': 'Point', 'coordinates': [8.5257549, 47.5210635]}}"
Loading

0 comments on commit 82ea8dc

Please sign in to comment.