Skip to content

Commit

Permalink
Convert json -> xml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnuessli committed Apr 29, 2024
1 parent 38caba1 commit f007847
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 53 deletions.
15 changes: 9 additions & 6 deletions data/csv/access/gates/gates_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/458475074', 'properties': {'b
FeatureCollection,"{'type': 'Feature', 'id': 'node/458892641', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/458892641'}, 'geometry': {'type': 'Point', 'coordinates': [8.8291981, 47.175581]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/460423269', 'properties': {'barrier': 'gate', 'id': 'node/460423269'}, 'geometry': {'type': 'Point', 'coordinates': [8.4184402, 47.4144889]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/461078296', 'properties': {'access': 'no', 'barrier': 'gate', 'id': 'node/461078296'}, 'geometry': {'type': 'Point', 'coordinates': [8.5560141, 47.2937976]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/469315515', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/469315515'}, 'geometry': {'type': 'Point', 'coordinates': [8.5282835, 47.3719837]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/469315515', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/469315515'}, 'geometry': {'type': 'Point', 'coordinates': [8.5282868, 47.3719819]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/469743773', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/469743773'}, 'geometry': {'type': 'Point', 'coordinates': [8.4448236, 47.3454365]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/469743927', 'properties': {'barrier': 'gate', 'foot': 'yes', 'id': 'node/469743927'}, 'geometry': {'type': 'Point', 'coordinates': [8.4450069, 47.3445167]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/469743930', 'properties': {'barrier': 'gate', 'foot': 'yes', 'id': 'node/469743930'}, 'geometry': {'type': 'Point', 'coordinates': [8.4442105, 47.3441346]}}"
Expand Down Expand Up @@ -691,7 +691,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/849883548', 'properties': {'b
FeatureCollection,"{'type': 'Feature', 'id': 'node/849980711', 'properties': {'access': 'no', 'barrier': 'gate', 'material': 'metal', 'maxheight': '1.5', 'maxwidth': '1.0', 'id': 'node/849980711'}, 'geometry': {'type': 'Point', 'coordinates': [8.4836795, 47.7462107]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/854805741', 'properties': {'barrier': 'gate', 'note': 'continues on to industrial area', 'id': 'node/854805741'}, 'geometry': {'type': 'Point', 'coordinates': [8.4161134, 47.4072953]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/856773455', 'properties': {'barrier': 'gate', 'id': 'node/856773455'}, 'geometry': {'type': 'Point', 'coordinates': [8.4115161, 47.396905]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/858927966', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/858927966'}, 'geometry': {'type': 'Point', 'coordinates': [8.6971392, 47.1605911]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/858927966', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/858927966'}, 'geometry': {'type': 'Point', 'coordinates': [8.6971392, 47.1605895]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/862861989', 'properties': {'barrier': 'gate', 'locked': 'no', 'material': 'metal', 'id': 'node/862861989'}, 'geometry': {'type': 'Point', 'coordinates': [8.5521834, 47.3691814]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/865269861', 'properties': {'barrier': 'gate', 'id': 'node/865269861'}, 'geometry': {'type': 'Point', 'coordinates': [8.7318744, 47.4944947]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/872150622', 'properties': {'barrier': 'gate', 'id': 'node/872150622'}, 'geometry': {'type': 'Point', 'coordinates': [8.7662722, 47.5153883]}}"
Expand Down Expand Up @@ -1515,7 +1515,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2377287138', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2377287777', 'properties': {'barrier': 'gate', 'id': 'node/2377287777'}, 'geometry': {'type': 'Point', 'coordinates': [8.7588023, 47.4987563]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2377305777', 'properties': {'barrier': 'gate', 'id': 'node/2377305777'}, 'geometry': {'type': 'Point', 'coordinates': [8.4443686, 47.4197563]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2378227341', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/2378227341'}, 'geometry': {'type': 'Point', 'coordinates': [8.4639476, 47.4212609]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2383111323', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'motor_vehicle': 'private', 'id': 'node/2383111323'}, 'geometry': {'type': 'Point', 'coordinates': [8.572591, 47.149705]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2383111323', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'motor_vehicle': 'private', 'id': 'node/2383111323'}, 'geometry': {'type': 'Point', 'coordinates': [8.5725973, 47.1497601]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2390207283', 'properties': {'barrier': 'gate', 'id': 'node/2390207283'}, 'geometry': {'type': 'Point', 'coordinates': [8.7416996, 47.4974416]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2390207293', 'properties': {'barrier': 'gate', 'id': 'node/2390207293'}, 'geometry': {'type': 'Point', 'coordinates': [8.7414644, 47.4975141]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2390207302', 'properties': {'barrier': 'gate', 'id': 'node/2390207302'}, 'geometry': {'type': 'Point', 'coordinates': [8.7420867, 47.4975976]}}"
Expand Down Expand Up @@ -2055,7 +2055,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2947902804', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2951617756', 'properties': {'barrier': 'gate', 'vehicle': 'no', 'id': 'node/2951617756'}, 'geometry': {'type': 'Point', 'coordinates': [8.641893, 47.5161788]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2951620251', 'properties': {'barrier': 'gate', 'id': 'node/2951620251'}, 'geometry': {'type': 'Point', 'coordinates': [8.6281576, 47.5201852]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2953842481', 'properties': {'barrier': 'gate', 'id': 'node/2953842481'}, 'geometry': {'type': 'Point', 'coordinates': [8.5263403, 47.3748768]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2956814076', 'properties': {'barrier': 'gate', 'id': 'node/2956814076'}, 'geometry': {'type': 'Point', 'coordinates': [8.5264131, 47.3753236]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2956814076', 'properties': {'barrier': 'gate', 'id': 'node/2956814076'}, 'geometry': {'type': 'Point', 'coordinates': [8.526417200000001, 47.3753201]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2956814081', 'properties': {'barrier': 'gate', 'id': 'node/2956814081'}, 'geometry': {'type': 'Point', 'coordinates': [8.5256644, 47.3752229]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2960915635', 'properties': {'access': 'private', 'barrier': 'gate', 'bicycle': 'no', 'foot': 'no', 'id': 'node/2960915635'}, 'geometry': {'type': 'Point', 'coordinates': [8.5449085, 47.3756505]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2964119734', 'properties': {'barrier': 'lift_gate', 'id': 'node/2964119734'}, 'geometry': {'type': 'Point', 'coordinates': [8.4176495, 47.3994993]}}"
Expand Down Expand Up @@ -5251,8 +5251,8 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10845520963', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10845520973', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/10845520973'}, 'geometry': {'type': 'Point', 'coordinates': [8.531725999999999, 47.5285847]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10845925976', 'properties': {'barrier': 'gate', 'id': 'node/10845925976'}, 'geometry': {'type': 'Point', 'coordinates': [8.5523193, 47.4262651]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10853072488', 'properties': {'access': 'private', 'barrier': 'gate', 'locked': 'yes', 'id': 'node/10853072488'}, 'geometry': {'type': 'Point', 'coordinates': [8.4834895, 47.3799361]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10853398461', 'properties': {'barrier': 'gate', 'id': 'node/10853398461'}, 'geometry': {'type': 'Point', 'coordinates': [8.5152606, 47.368661]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10853398465', 'properties': {'barrier': 'gate', 'id': 'node/10853398465'}, 'geometry': {'type': 'Point', 'coordinates': [8.5152315, 47.3686835]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10853398461', 'properties': {'barrier': 'gate', 'id': 'node/10853398461'}, 'geometry': {'type': 'Point', 'coordinates': [8.5152633, 47.3686661]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10853398465', 'properties': {'barrier': 'gate', 'id': 'node/10853398465'}, 'geometry': {'type': 'Point', 'coordinates': [8.5152366, 47.3686858]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10859648897', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'id': 'node/10859648897'}, 'geometry': {'type': 'Point', 'coordinates': [8.5223564, 47.5390882]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10860440818', 'properties': {'access': 'private', 'barrier': 'gate', 'foot': 'yes', 'material': 'metal', 'maxwidth': '1', 'wheelchair': 'no', 'id': 'node/10860440818'}, 'geometry': {'type': 'Point', 'coordinates': [8.4839918, 47.7467909]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10860440819', 'properties': {'access': 'private', 'barrier': 'gate', 'material': 'metal', 'maxwidth': '4', 'id': 'node/10860440819'}, 'geometry': {'type': 'Point', 'coordinates': [8.4838939, 47.7469129]}}"
Expand All @@ -5277,6 +5277,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/10911044373', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/10911044378', 'properties': {'barrier': 'gate', 'id': 'node/10911044378'}, 'geometry': {'type': 'Point', 'coordinates': [8.5006791, 47.3602222]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10911078240', 'properties': {'barrier': 'gate', 'id': 'node/10911078240'}, 'geometry': {'type': 'Point', 'coordinates': [8.5019798, 47.3593557]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10911172058', 'properties': {'barrier': 'gate', 'id': 'node/10911172058'}, 'geometry': {'type': 'Point', 'coordinates': [8.5033675, 47.3597926]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10913635155', 'properties': {'barrier': 'lift_gate', 'crossing:barrier': 'full', 'foot': 'yes', 'lift_gate:type': 'single', 'vehicle': 'no', 'wheelchair': 'yes', 'id': 'node/10913635155'}, 'geometry': {'type': 'Point', 'coordinates': [8.4475732, 47.2772021]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10918001930', 'properties': {'barrier': 'gate', 'id': 'node/10918001930'}, 'geometry': {'type': 'Point', 'coordinates': [8.6164576, 47.3440779]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10929276211', 'properties': {'barrier': 'gate', 'id': 'node/10929276211'}, 'geometry': {'type': 'Point', 'coordinates': [8.5058981, 47.3605203]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/10929338297', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/10929338297'}, 'geometry': {'type': 'Point', 'coordinates': [8.5099389, 47.3636052]}}"
Expand Down Expand Up @@ -5911,3 +5912,5 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/11834605649', 'properties': {
FeatureCollection,"{'type': 'Feature', 'id': 'node/11834606828', 'properties': {'barrier': 'lift_gate', 'lift_gate:type': 'single', 'vehicle': 'private', 'id': 'node/11834606828'}, 'geometry': {'type': 'Point', 'coordinates': [8.5618038, 47.2184813]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11834606859', 'properties': {'access': 'private', 'barrier': 'gate', 'id': 'node/11834606859'}, 'geometry': {'type': 'Point', 'coordinates': [8.5651931, 47.2149135]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11847944332', 'properties': {'barrier': 'gate', 'id': 'node/11847944332'}, 'geometry': {'type': 'Point', 'coordinates': [8.5100649, 47.3772543]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11860365058', 'properties': {'barrier': 'gate', 'id': 'node/11860365058'}, 'geometry': {'type': 'Point', 'coordinates': [8.4970777, 47.4016671]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/11860387161', 'properties': {'barrier': 'gate', 'id': 'node/11860387161'}, 'geometry': {'type': 'Point', 'coordinates': [8.4014227, 47.2646443]}}"
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 @@ -93,7 +93,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/848784522', 'properties': {'b
FeatureCollection,"{'type': 'Feature', 'id': 'node/848785543', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'id': 'node/848785543'}, 'geometry': {'type': 'Point', 'coordinates': [8.767837, 47.0847636]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/849395977', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'id': 'node/849395977'}, 'geometry': {'type': 'Point', 'coordinates': [8.776248, 47.0999651]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/849395985', 'properties': {'barrier': 'gate', 'bicycle': 'no', 'foot': 'yes', 'id': 'node/849395985'}, 'geometry': {'type': 'Point', 'coordinates': [8.7774282, 47.1017713]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/858927966', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/858927966'}, 'geometry': {'type': 'Point', 'coordinates': [8.6971392, 47.1605911]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/858927966', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/858927966'}, 'geometry': {'type': 'Point', 'coordinates': [8.6971392, 47.1605895]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/879123771', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/879123771'}, 'geometry': {'type': 'Point', 'coordinates': [8.81077, 47.1631874]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/879123839', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/879123839'}, 'geometry': {'type': 'Point', 'coordinates': [8.8476907, 47.1251594]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/879123902', 'properties': {'barrier': 'gate', 'bicycle': 'yes', 'foot': 'yes', 'id': 'node/879123902'}, 'geometry': {'type': 'Point', 'coordinates': [8.818824, 47.1553878]}}"
Expand Down
2 changes: 1 addition & 1 deletion data/csv/access/gates/gates_kt_zg.csv
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'node/2277283995', 'properties': {'
FeatureCollection,"{'type': 'Feature', 'id': 'node/2292755972', 'properties': {'barrier': 'gate', 'foot': 'private', 'id': 'node/2292755972'}, 'geometry': {'type': 'Point', 'coordinates': [8.4395846, 47.1541507]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2292919181', 'properties': {'barrier': 'gate', 'id': 'node/2292919181'}, 'geometry': {'type': 'Point', 'coordinates': [8.4394678, 47.1537899]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2328274506', 'properties': {'barrier': 'lift_gate', 'id': 'node/2328274506'}, 'geometry': {'type': 'Point', 'coordinates': [8.4362412, 47.1485457]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2383111323', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'motor_vehicle': 'private', 'id': 'node/2383111323'}, 'geometry': {'type': 'Point', 'coordinates': [8.572591, 47.149705]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2383111323', 'properties': {'barrier': 'lift_gate', 'bicycle': 'yes', 'foot': 'yes', 'motor_vehicle': 'private', 'id': 'node/2383111323'}, 'geometry': {'type': 'Point', 'coordinates': [8.5725973, 47.1497601]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2605551829', 'properties': {'barrier': 'gate', 'id': 'node/2605551829'}, 'geometry': {'type': 'Point', 'coordinates': [8.4402781, 47.1453282]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2665987849', 'properties': {'barrier': 'gate', 'id': 'node/2665987849'}, 'geometry': {'type': 'Point', 'coordinates': [8.5860878, 47.1584794]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'node/2798487839', 'properties': {'barrier': 'gate', 'id': 'node/2798487839'}, 'geometry': {'type': 'Point', 'coordinates': [8.4476184, 47.1880064]}}"
Expand Down
Loading

0 comments on commit f007847

Please sign in to comment.