Skip to content

Commit

Permalink
Convert json -> xml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnuessli committed Feb 15, 2024
1 parent a68ffe5 commit d3183d4
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 17 deletions.
9 changes: 8 additions & 1 deletion data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,10 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/632149386', 'properties': {'b
FeatureCollection,"{'type': 'Feature', 'id': 'node/632149415', 'properties': {'barrier': 'lift_gate', 'id': 'node/632149415'}, 'geometry': {'type': 'Point', 'coordinates': [8.7654067, 47.4788762]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/635039998', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'wood', 'id': 'node/635039998'}, 'geometry': {'type': 'Point', 'coordinates': [8.674434, 47.2307711]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/638379181', 'properties': {'barrier': 'lift_gate', 'id': 'node/638379181'}, 'geometry': {'type': 'Point', 'coordinates': [8.6731594, 47.2270087]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/641263340', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/641263340'}, 'geometry': {'type': 'Point', 'coordinates': [8.764728999999999, 47.5218227]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/641263417', 'properties': {'barrier': 'gate', 'id': 'node/641263417'}, 'geometry': {'type': 'Point', 'coordinates': [8.7668047, 47.5254196]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/641891487', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/641891487'}, 'geometry': {'type': 'Point', 'coordinates': [8.7646958, 47.5214955]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/643418882', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/643418882'}, 'geometry': {'type': 'Point', 'coordinates': [8.7646439, 47.5211065]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/643850072', 'properties': {'barrier': 'gate', 'id': 'node/643850072'}, 'geometry': {'type': 'Point', 'coordinates': [8.7324297, 47.4938202]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/647082975', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'id': 'node/647082975'}, 'geometry': {'type': 'Point', 'coordinates': [8.5201065, 47.5837664]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/648223983', 'properties': {'barrier': 'gate', 'id': 'node/648223983'}, 'geometry': {'type': 'Point', 'coordinates': [8.9622678, 47.2119204]}}"
Expand Down Expand Up @@ -1584,6 +1587,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2431412969', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2431413002', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'no', 'motor_vehicle': 'no', 'id': 'node/2431413002'}, 'geometry': {'type': 'Point', 'coordinates': [8.7421718, 47.4948677]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2431413266', 'properties': {'barrier': 'gate', 'id': 'node/2431413266'}, 'geometry': {'type': 'Point', 'coordinates': [8.7344799, 47.4953652]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2431859061', 'properties': {'barrier': 'gate', 'id': 'node/2431859061'}, 'geometry': {'type': 'Point', 'coordinates': [8.6052234, 47.0053688]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2431860462', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/2431860462'}, 'geometry': {'type': 'Point', 'coordinates': [8.6593089, 47.0166856]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2432350913', 'properties': {'barrier': 'gate', 'id': 'node/2432350913'}, 'geometry': {'type': 'Point', 'coordinates': [8.6485881, 47.2722258]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2437748868', 'properties': {'barrier': 'gate', 'id': 'node/2437748868'}, 'geometry': {'type': 'Point', 'coordinates': [8.8222397, 47.3529587]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2437748907', 'properties': {'barrier': 'gate', 'id': 'node/2437748907'}, 'geometry': {'type': 'Point', 'coordinates': [8.8216604, 47.3532612]}}"
Expand Down Expand Up @@ -3214,6 +3218,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/5837379814', 'properties': {'barrier': 'gate', 'id': 'node/5837379814'}, 'geometry': {'type': 'Point', 'coordinates': [8.5008687, 47.4013582]}}"
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]}}"
Expand Down Expand Up @@ -5472,7 +5477,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11207369335', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11207407730', 'properties': {'barrier': 'gate', 'id': 'node/11207407730'}, 'geometry': {'type': 'Point', 'coordinates': [8.702367, 47.4831504]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11209691485', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11209691485'}, 'geometry': {'type': 'Point', 'coordinates': [8.5090161, 47.4509085]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11209691486', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11209691486'}, 'geometry': {'type': 'Point', 'coordinates': [8.5098039, 47.4512555]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11211511854', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/11211511854'}, 'geometry': {'type': 'Point', 'coordinates': [8.6592784, 47.016743]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11211511855', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/11211511855'}, 'geometry': {'type': 'Point', 'coordinates': [8.6588107, 47.0176469]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11212336740', 'properties': {'barrier': 'gate', 'id': 'node/11212336740'}, 'geometry': {'type': 'Point', 'coordinates': [8.7205182, 47.2711126]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11212458834', 'properties': {'barrier': 'gate', 'id': 'node/11212458834'}, 'geometry': {'type': 'Point', 'coordinates': [8.7232343, 47.2694187]}}"
Expand Down Expand Up @@ -5763,3 +5767,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11608731474', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11609651658', 'properties': {'barrier': 'gate', 'locked': 'yes', 'vehicle': 'private', 'id': 'node/11609651658'}, 'geometry': {'type': 'Point', 'coordinates': [8.5017791, 47.5913898]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11610835462', 'properties': {'barrier': 'gate', 'foot': 'yes', 'id': 'node/11610835462'}, 'geometry': {'type': 'Point', 'coordinates': [8.507878, 47.2969372]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11611103771', 'properties': {'barrier': 'gate', 'locked': 'no', 'material': 'metal', 'wheelchair': 'no', 'id': 'node/11611103771'}, 'geometry': {'type': 'Point', 'coordinates': [8.6145067, 47.2791701]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11618298233', 'properties': {'barrier': 'gate', 'id': 'node/11618298233'}, 'geometry': {'type': 'Point', 'coordinates': [8.500606, 47.4015352]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11618298255', 'properties': {'barrier': 'gate', 'id': 'node/11618298255'}, 'geometry': {'type': 'Point', 'coordinates': [8.5006881, 47.4015027]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11619353414', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11619353414'}, 'geometry': {'type': 'Point', 'coordinates': [8.7647558, 47.5220286]}}"
2 changes: 1 addition & 1 deletion data/csv/access/gates/gates_kt_sz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2423834806', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2423877306', 'properties': {'barrier': 'gate', 'id': 'node/2423877306'}, 'geometry': {'type': 'Point', 'coordinates': [8.5607209, 47.0174225]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2423877325', 'properties': {'barrier': 'gate', 'id': 'node/2423877325'}, 'geometry': {'type': 'Point', 'coordinates': [8.55858, 47.0178708]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2431859061', 'properties': {'barrier': 'gate', 'id': 'node/2431859061'}, 'geometry': {'type': 'Point', 'coordinates': [8.6052234, 47.0053688]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2431860462', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/2431860462'}, 'geometry': {'type': 'Point', 'coordinates': [8.6593089, 47.0166856]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2566643957', 'properties': {'access': 'private', 'barrier': 'gate', 'foot': 'yes', 'id': 'node/2566643957'}, 'geometry': {'type': 'Point', 'coordinates': [8.8718121, 47.0049153]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2610453130', 'properties': {'barrier': 'gate', 'id': 'node/2610453130'}, 'geometry': {'type': 'Point', 'coordinates': [8.81157, 47.1947486]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2610453131', 'properties': {'barrier': 'gate', 'id': 'node/2610453131'}, 'geometry': {'type': 'Point', 'coordinates': [8.8117776, 47.1947791]}}"
Expand Down Expand Up @@ -376,7 +377,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10995078155', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10995079732', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/10995079732'}, 'geometry': {'type': 'Point', 'coordinates': [8.5497943, 47.0484962]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10995228307', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/10995228307'}, 'geometry': {'type': 'Point', 'coordinates': [8.553006, 47.049188]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10995228359', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/10995228359'}, 'geometry': {'type': 'Point', 'coordinates': [8.5522281, 47.0475575]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11211511854', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/11211511854'}, 'geometry': {'type': 'Point', 'coordinates': [8.6592784, 47.016743]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11211511855', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'horse': 'no', 'material': 'metal', 'motor_vehicle': 'no', 'id': 'node/11211511855'}, 'geometry': {'type': 'Point', 'coordinates': [8.6588107, 47.0176469]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11215833133', 'properties': {'barrier': 'gate', 'id': 'node/11215833133'}, 'geometry': {'type': 'Point', 'coordinates': [8.7324983, 47.1698294]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11215843282', 'properties': {'barrier': 'gate', 'id': 'node/11215843282'}, 'geometry': {'type': 'Point', 'coordinates': [8.778159, 47.1971247]}}"
Expand Down
7 changes: 7 additions & 0 deletions data/csv/access/gates/gates_kt_zh.csv
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,10 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/632149386', 'properties': {'b
FeatureCollection,"{'type': 'Feature', 'id': 'node/632149415', 'properties': {'barrier': 'lift_gate', 'id': 'node/632149415'}, 'geometry': {'type': 'Point', 'coordinates': [8.7654067, 47.4788762]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/635039998', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'wood', 'id': 'node/635039998'}, 'geometry': {'type': 'Point', 'coordinates': [8.674434, 47.2307711]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/638379181', 'properties': {'barrier': 'lift_gate', 'id': 'node/638379181'}, 'geometry': {'type': 'Point', 'coordinates': [8.6731594, 47.2270087]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/641263340', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/641263340'}, 'geometry': {'type': 'Point', 'coordinates': [8.764728999999999, 47.5218227]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/641263417', 'properties': {'barrier': 'gate', 'id': 'node/641263417'}, 'geometry': {'type': 'Point', 'coordinates': [8.7668047, 47.5254196]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/641891487', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/641891487'}, 'geometry': {'type': 'Point', 'coordinates': [8.7646958, 47.5214955]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/643418882', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/643418882'}, 'geometry': {'type': 'Point', 'coordinates': [8.7646439, 47.5211065]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/643850072', 'properties': {'barrier': 'gate', 'id': 'node/643850072'}, 'geometry': {'type': 'Point', 'coordinates': [8.7324297, 47.4938202]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/647082975', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'id': 'node/647082975'}, 'geometry': {'type': 'Point', 'coordinates': [8.5201065, 47.5837664]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/648492039', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/648492039'}, 'geometry': {'type': 'Point', 'coordinates': [8.5006255, 47.5883125]}}"
Expand Down Expand Up @@ -2790,6 +2793,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/5837379814', 'properties': {'barrier': 'gate', 'id': 'node/5837379814'}, 'geometry': {'type': 'Point', 'coordinates': [8.5008687, 47.4013582]}}"
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]}}"
Expand Down Expand Up @@ -5014,3 +5018,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11608731474', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11609651658', 'properties': {'barrier': 'gate', 'locked': 'yes', 'vehicle': 'private', 'id': 'node/11609651658'}, 'geometry': {'type': 'Point', 'coordinates': [8.5017791, 47.5913898]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11610835462', 'properties': {'barrier': 'gate', 'foot': 'yes', 'id': 'node/11610835462'}, 'geometry': {'type': 'Point', 'coordinates': [8.507878, 47.2969372]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11611103771', 'properties': {'barrier': 'gate', 'locked': 'no', 'material': 'metal', 'wheelchair': 'no', 'id': 'node/11611103771'}, 'geometry': {'type': 'Point', 'coordinates': [8.6145067, 47.2791701]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11618298233', 'properties': {'barrier': 'gate', 'id': 'node/11618298233'}, 'geometry': {'type': 'Point', 'coordinates': [8.500606, 47.4015352]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11618298255', 'properties': {'barrier': 'gate', 'id': 'node/11618298255'}, 'geometry': {'type': 'Point', 'coordinates': [8.5006881, 47.4015027]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11619353414', 'properties': {'barrier': 'gate', 'material': 'metal', 'id': 'node/11619353414'}, 'geometry': {'type': 'Point', 'coordinates': [8.7647558, 47.5220286]}}"
Loading

0 comments on commit d3183d4

Please sign in to comment.