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 13, 2024
1 parent 734bad1 commit 289bec3
Show file tree
Hide file tree
Showing 16 changed files with 68 additions and 47 deletions.
12 changes: 9 additions & 3 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/1635740360', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/1635740630', 'properties': {'barrier': 'gate', 'id': 'node/1635740630'}, 'geometry': {'type': 'Point', 'coordinates': [8.6942268, 47.2602528]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1635740690', 'properties': {'barrier': 'gate', 'id': 'node/1635740690'}, 'geometry': {'type': 'Point', 'coordinates': [8.6941455, 47.2604501]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1635740725', 'properties': {'barrier': 'gate', 'id': 'node/1635740725'}, 'geometry': {'type': 'Point', 'coordinates': [8.6940671, 47.2606326]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1636292891', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/1636292891'}, 'geometry': {'type': 'Point', 'coordinates': [8.7349194, 47.2510537]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1636292891', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/1636292891'}, 'geometry': {'type': 'Point', 'coordinates': [8.734843099999999, 47.2510031]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1648806131', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/1648806131'}, 'geometry': {'type': 'Point', 'coordinates': [8.6293342, 47.2999921]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1650415334', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'no', 'horse': 'no', 'motorcar': 'no', 'motorcycle': 'no', 'id': 'node/1650415334'}, 'geometry': {'type': 'Point', 'coordinates': [8.5688044, 47.4322237]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/1650415639', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'no', 'horse': 'no', 'motorcar': 'no', 'motorcycle': 'no', 'id': 'node/1650415639'}, 'geometry': {'type': 'Point', 'coordinates': [8.5676843, 47.4332457]}}"
Expand Down Expand Up @@ -1560,7 +1560,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2420727870', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2420727879', 'properties': {'barrier': 'gate', 'id': 'node/2420727879'}, 'geometry': {'type': 'Point', 'coordinates': [8.7649064, 47.4362]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2420727895', 'properties': {'barrier': 'gate', 'id': 'node/2420727895'}, 'geometry': {'type': 'Point', 'coordinates': [8.7648865, 47.4364343]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2420728004', 'properties': {'barrier': 'gate', 'id': 'node/2420728004'}, 'geometry': {'type': 'Point', 'coordinates': [8.7130471, 47.4676881]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2422195842', 'properties': {'barrier': 'gate', 'id': 'node/2422195842'}, 'geometry': {'type': 'Point', 'coordinates': [8.7405086, 47.4958774]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2422195842', 'properties': {'barrier': 'gate', 'id': 'node/2422195842'}, 'geometry': {'type': 'Point', 'coordinates': [8.7405024, 47.4958757]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2422195851', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/2422195851'}, 'geometry': {'type': 'Point', 'coordinates': [8.7412798, 47.4959153]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2422332367', 'properties': {'barrier': 'gate', 'id': 'node/2422332367'}, 'geometry': {'type': 'Point', 'coordinates': [8.4754746, 47.5457593]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2423061462', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'motorcar': 'yes', 'id': 'node/2423061462'}, 'geometry': {'type': 'Point', 'coordinates': [8.5406515, 47.3357493]}}"
Expand Down Expand Up @@ -3330,6 +3330,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/6351689527', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/6353865617', 'properties': {'barrier': 'lift_gate', 'id': 'node/6353865617'}, 'geometry': {'type': 'Point', 'coordinates': [8.7453506, 47.2380312]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6353865620', 'properties': {'barrier': 'lift_gate', 'id': 'node/6353865620'}, 'geometry': {'type': 'Point', 'coordinates': [8.7453917, 47.2380203]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6359065516', 'properties': {'access': 'no', 'barrier': 'gate', 'locked': 'yes', 'name': 'Tor 126', 'id': 'node/6359065516'}, 'geometry': {'type': 'Point', 'coordinates': [8.54616, 47.4525917]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6367264877', 'properties': {'access': 'yes', 'barrier': 'lift_gate', 'description': 'Strasse während der Amphibienwanderung gesperrt.', 'lift_gate:type': 'single', 'locked': 'no', 'motor_vehicle:conditional': 'no @ (Feb 15-Apr 15 Mo-Su 18:00-08:00; Jun-Jul; Oct 10-Nov 20 19:00-07:00)', 'id': 'node/6367264877'}, 'geometry': {'type': 'Point', 'coordinates': [8.6287772, 47.4600539]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6367725814', 'properties': {'barrier': 'gate', 'id': 'node/6367725814'}, 'geometry': {'type': 'Point', 'coordinates': [8.6185327, 47.6794888]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6374599213', 'properties': {'barrier': 'gate', 'foot': 'private', 'id': 'node/6374599213'}, 'geometry': {'type': 'Point', 'coordinates': [8.6337203, 47.0170606]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/6375421200', 'properties': {'access': 'private', 'barrier': 'lift_gate', 'id': 'node/6375421200'}, 'geometry': {'type': 'Point', 'coordinates': [8.6700894, 47.2224158]}}"
Expand Down Expand Up @@ -3819,6 +3820,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/7340202748', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/7340202758', 'properties': {'barrier': 'gate', 'id': 'node/7340202758'}, 'geometry': {'type': 'Point', 'coordinates': [8.7152227, 47.6078332]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7340408141', 'properties': {'barrier': 'lift_gate', 'fixme': 'access?', 'id': 'node/7340408141'}, 'geometry': {'type': 'Point', 'coordinates': [8.5911493, 47.4082026]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7342665955', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/7342665955'}, 'geometry': {'type': 'Point', 'coordinates': [8.7597427, 47.4072762]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7357048631', 'properties': {'barrier': 'gate', 'name': 'B Eingang Tösstalstrasse', 'id': 'node/7357048631'}, 'geometry': {'type': 'Point', 'coordinates': [8.738192699999999, 47.49507]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7358196000', 'properties': {'barrier': 'gate', 'id': 'node/7358196000'}, 'geometry': {'type': 'Point', 'coordinates': [8.6307997, 47.6782973]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7364577213', 'properties': {'barrier': 'gate', 'id': 'node/7364577213'}, 'geometry': {'type': 'Point', 'coordinates': [8.5394752, 47.4059602]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7365952600', 'properties': {'barrier': 'gate', 'id': 'node/7365952600'}, 'geometry': {'type': 'Point', 'coordinates': [8.5004497, 47.3300788]}}"
Expand Down Expand Up @@ -3949,6 +3951,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/7705087465', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/7732385149', 'properties': {'barrier': 'lift_gate', 'id': 'node/7732385149'}, 'geometry': {'type': 'Point', 'coordinates': [8.5866043, 47.2698214]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7733629009', 'properties': {'barrier': 'gate', 'id': 'node/7733629009'}, 'geometry': {'type': 'Point', 'coordinates': [8.6522107, 47.2652914]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7733629020', 'properties': {'barrier': 'gate', 'id': 'node/7733629020'}, 'geometry': {'type': 'Point', 'coordinates': [8.6519806, 47.2653582]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7764521789', 'properties': {'access': 'yes', 'barrier': 'gate', 'id': 'node/7764521789'}, 'geometry': {'type': 'Point', 'coordinates': [8.5075555, 47.2966315]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7780042646', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/7780042646'}, 'geometry': {'type': 'Point', 'coordinates': [8.4706371, 47.4837395]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7783959278', 'properties': {'barrier': 'gate', 'id': 'node/7783959278'}, 'geometry': {'type': 'Point', 'coordinates': [8.4815732, 47.3981986]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/7783959281', 'properties': {'barrier': 'gate', 'id': 'node/7783959281'}, 'geometry': {'type': 'Point', 'coordinates': [8.481637599999999, 47.397788]}}"
Expand Down Expand Up @@ -4893,7 +4896,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10118974457', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10121779841', 'properties': {'access': 'no', 'barrier': 'gate', 'maxwidth': '5.0', 'id': 'node/10121779841'}, 'geometry': {'type': 'Point', 'coordinates': [8.4539379, 47.6889853]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10121779852', 'properties': {'access': 'no', 'barrier': 'gate', 'maxwidth': '8.0', 'id': 'node/10121779852'}, 'geometry': {'type': 'Point', 'coordinates': [8.4549391, 47.6890187]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10128226627', 'properties': {'access': 'no', 'barrier': 'gate', 'locked': 'yes', 'name': 'Tor 124', 'id': 'node/10128226627'}, 'geometry': {'type': 'Point', 'coordinates': [8.5340681, 47.4607655]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10129565314', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/10129565314'}, 'geometry': {'type': 'Point', 'coordinates': [8.7362626, 47.2507352]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10129565314', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/10129565314'}, 'geometry': {'type': 'Point', 'coordinates': [8.7362554, 47.250733]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10139496673', 'properties': {'barrier': 'gate', 'id': 'node/10139496673'}, 'geometry': {'type': 'Point', 'coordinates': [8.7159241, 46.9947284]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10142866017', 'properties': {'barrier': 'gate', 'id': 'node/10142866017'}, 'geometry': {'type': 'Point', 'coordinates': [8.5684499, 47.4027994]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10153077910', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'id': 'node/10153077910'}, 'geometry': {'type': 'Point', 'coordinates': [8.7373656, 47.2792335]}}"
Expand Down Expand Up @@ -5757,3 +5760,6 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11603003938', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11608707163', 'properties': {'access': 'yes', 'barrier': 'lift_gate', 'description': 'Strasse während der Amphibienwanderung gesperrt.', 'lift_gate:type': 'single', 'locked': 'no', 'motor_vehicle:conditional': 'no @ (Feb 15-Apr 15 Mo-Su 18:00-08:00; Jun-Jul; Oct 10-Nov 20 19:00-07:00)', 'id': 'node/11608707163'}, 'geometry': {'type': 'Point', 'coordinates': [8.6189701, 47.471087]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11608707165', 'properties': {'access': 'yes', 'barrier': 'lift_gate', 'description': 'Strasse während der Amphibienwanderung gesperrt.', 'lift_gate:type': 'single', 'locked': 'no', 'motor_vehicle:conditional': 'no @ (Feb 15-Apr 15 Mo-Su 18:00-08:00; Jun-Jul; Oct 10-Nov 20 19:00-07:00)', 'id': 'node/11608707165'}, 'geometry': {'type': 'Point', 'coordinates': [8.6287915, 47.4599089]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11608731474', 'properties': {'access': 'yes', 'barrier': 'lift_gate', 'description': 'Strasse während der Amphibienwanderung gesperrt.', 'lift_gate:type': 'single', 'locked': 'no', 'motor_vehicle:conditional': 'no @ (Feb 15-Apr 15 Mo-Su 18:00-08:00; Jun-Jul; Oct 10-Nov 20 19:00-07:00)', 'id': 'node/11608731474'}, 'geometry': {'type': 'Point', 'coordinates': [8.6207722, 47.4670494]}}"
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]}}"
Loading

0 comments on commit 289bec3

Please sign in to comment.