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 4, 2023
1 parent f9ca93e commit 5d1e4d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions data/csv/schools/schools_dispo_srz.csv
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'way/39890204', 'properties': {'add
FeatureCollection,"{'type': 'Feature', 'id': 'way/40031797', 'properties': {'amenity': 'school', 'id': 'way/40031797'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5168645, 47.5261353], [8.5168284, 47.5261662], [8.5167784, 47.5261756], [8.5162314, 47.5262321], [8.5158452, 47.5263124], [8.5154798, 47.5264789], [8.5154068, 47.5264941], [8.5153319, 47.5264674], [8.515301000000001, 47.5264025], [8.515034, 47.5253485], [8.5155749, 47.5252901], [8.5156511, 47.5255743], [8.5158991, 47.5255473], [8.5159364, 47.5256952], [8.5166693, 47.5256022], [8.5165135, 47.5250021], [8.516564, 47.524997], [8.5168645, 47.5261353]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/40456669', 'properties': {'amenity': 'school', 'name': 'Primarschule Schanz', 'id': 'way/40456669'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.8612444, 47.6594691], [8.8612649, 47.6594579], [8.8612886, 47.6594485], [8.861317, 47.6594414], [8.8613468, 47.6594374], [8.8613695, 47.6594369], [8.861392, 47.6594389], [8.8614057, 47.659440000000004], [8.8614102, 47.6594246], [8.8617152, 47.6594732], [8.8618272, 47.659491], [8.8619449, 47.6595308], [8.8619696, 47.6595352], [8.8619953, 47.6595426], [8.8620453, 47.659565], [8.8620573, 47.6595797], [8.8620789, 47.6596158], [8.8620662, 47.6596559], [8.8620406, 47.6596946], [8.8619624, 47.6597609], [8.8619042, 47.65976], [8.8617269, 47.6598912], [8.861715, 47.6599], [8.8616691, 47.659934], [8.8616593, 47.6599412], [8.8614898, 47.6600675], [8.8614619, 47.6601022], [8.8614922, 47.6601207], [8.8614935, 47.6601236], [8.8614917, 47.6601266], [8.8614879, 47.660128], [8.8614838, 47.6601276], [8.8614519, 47.6601147], [8.8612921, 47.6603143], [8.861111, 47.6604813], [8.8609927, 47.6604349], [8.8606167, 47.6602954], [8.8607371, 47.6601506], [8.8608719, 47.6599909], [8.8608946, 47.6599638], [8.8609281, 47.6599212], [8.8609534, 47.6598863], [8.8609779, 47.6598501], [8.8610217, 47.6597834], [8.8611948, 47.6595221], [8.8612444, 47.6594691]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/41062607', 'properties': {'addr:city': 'Baar', 'addr:housenumber': '177', 'addr:postcode': '6340', 'addr:street': 'Rigistrasse', 'amenity': 'school', 'building': 'school', 'name': 'Schulhaus Inwil', 'id': 'way/41062607'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5345625, 47.1827138], [8.5341858, 47.1827321], [8.5338468, 47.1827467], [8.5338226, 47.1824633], [8.534315, 47.1824413], [8.5345706, 47.182231], [8.534555600000001, 47.1820811], [8.5348838, 47.182051799999996], [8.5348873, 47.182073], [8.5351976, 47.182247], [8.5351343, 47.1823051], [8.5351402, 47.1823655], [8.5350039, 47.1823735], [8.5349635, 47.1823462], [8.5348531, 47.1824249], [8.5350307, 47.1825255], [8.5351426, 47.1825181], [8.5351574, 47.1826169], [8.5348585, 47.1826361], [8.5346325, 47.1824852], [8.5345437, 47.1825529], [8.5345625, 47.1827138]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/41085090', 'properties': {'addr:city': 'Zürich', 'addr:housenumber': '3', 'addr:postcode': '8050', 'addr:street': 'Saatlenfussweg', 'amenity': 'school', 'architect:wikipedia': 'https://de.wikipedia.org/wiki/Christian_Kerez', 'building': 'school', 'building:levels': '8', 'building:material': 'concrete', 'isced:level': '0;1;2', 'name': 'Schulhaus Leutschenbach', 'operator': 'Stadt Zürich', 'operator:type': 'public', 'religion': 'no', 'year_of_construction': '2009', 'id': 'way/41085090'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5621996, 47.4136227], [8.5622081, 47.4133141], [8.5627144, 47.4133205], [8.5627149, 47.4133017], [8.5628708, 47.4133037], [8.5628618, 47.413631], [8.5621996, 47.4136227]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/41085090', 'properties': {'addr:city': 'Zürich', 'addr:housenumber': '3', 'addr:postcode': '8050', 'addr:street': 'Saatlenfussweg', 'amenity': 'school', 'architect:wikipedia': 'de:Christian Kerez', 'building': 'school', 'building:levels': '8', 'building:material': 'concrete', 'isced:level': '0;1;2', 'name': 'Schulhaus Leutschenbach', 'operator': 'Stadt Zürich', 'operator:type': 'public', 'religion': 'no', 'year_of_construction': '2009', 'id': 'way/41085090'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5621996, 47.4136227], [8.5622081, 47.4133141], [8.5627144, 47.4133205], [8.5627149, 47.4133017], [8.5628708, 47.4133037], [8.5628618, 47.413631], [8.5621996, 47.4136227]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/41467422', 'properties': {'addr:housenumber': '76', 'addr:street': 'Bachtelstrasse', 'amenity': 'school', 'building': 'yes', 'name': 'Schulhaus Bachtelstrasse', 'id': 'way/41467422'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.7166572, 47.5092728], [8.7169383, 47.5092958], [8.7169211, 47.5093918], [8.7167951, 47.5093815], [8.7167919, 47.5093995], [8.716707, 47.5093926], [8.7167103, 47.5093741], [8.71664, 47.5093684], [8.7166572, 47.5092728]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/41763790', 'properties': {'amenity': 'school', 'name': 'Schule Stägenbuck', 'school': 'primary;secondary', 'website': 'https://www.staegenbuck.ch/', 'id': 'way/41763790'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.6211122, 47.4033726], [8.6209648, 47.4032161], [8.6207499, 47.4031625], [8.6205257, 47.4031595], [8.620092, 47.4032486], [8.6192834, 47.4034146], [8.6190434, 47.4029928], [8.6189372, 47.4028061], [8.6186944, 47.4023794], [8.6189014, 47.4022374], [8.6190263, 47.4021517], [8.620626099999999, 47.4015367], [8.6209878, 47.4016909], [8.6207717, 47.4019622], [8.6212698, 47.4021316], [8.6215208, 47.4021122], [8.6215666, 47.402129], [8.6216446, 47.4020259], [8.6219331, 47.4021445], [8.6218097, 47.4022917], [8.6219811, 47.4024067], [8.6221816, 47.4025413], [8.6225158, 47.4028036], [8.6211122, 47.4033726]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/41887619', 'properties': {'addr:city': 'Rüdlingen', 'addr:housenumber': '5', 'addr:postcode': '8455', 'addr:street': 'Schuelgässli', 'amenity': 'school', 'building': 'school', 'name': 'Dorfschulhaus', 'id': 'way/41887619'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.5716592, 47.5775019], [8.5718759, 47.5775022], [8.5718751, 47.5776277], [8.5718407, 47.5776276], [8.5718402, 47.5776495], [8.5717468, 47.5776502], [8.5717475, 47.5776268], [8.5716593, 47.5776268], [8.5716592, 47.5775019]]]}}"
Expand Down Expand Up @@ -444,7 +444,7 @@ FeatureCollection,"{'type': 'Feature', 'id': 'way/113218914', 'properties': {'ad
FeatureCollection,"{'type': 'Feature', 'id': 'way/113620835', 'properties': {'addr:city': 'Schlieren', 'addr:housenumber': '18', 'addr:postcode': '8952', 'addr:street': 'Schulstrasse', 'amenity': 'school', 'building': 'school', 'name': 'Schulhaus Schulstrasse', 'phone': '+41 44 738 20 50', 'id': 'way/113620835'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4527552, 47.3965983], [8.4526167, 47.3969209], [8.4523611, 47.3968703], [8.4524143, 47.3967432], [8.4525119, 47.3967617], [8.452556, 47.3966546], [8.4524623, 47.3966356], [8.4524997, 47.3965466], [8.4527552, 47.3965983]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/113620996', 'properties': {'addr:city': 'Schlieren', 'addr:housenumber': '16', 'addr:postcode': '8952', 'addr:street': 'Schulstrasse', 'amenity': 'school', 'building': 'school', 'name': 'Schulhaus Grabenstrasse', 'phone': '+41 44 738 20 60', 'id': 'way/113620996'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4513953, 47.3964181], [8.451511, 47.3964398], [8.4515195, 47.39642], [8.4516382, 47.3964424], [8.4515891, 47.3965576], [8.4512371, 47.3964907], [8.4512849, 47.3963754], [8.4514028, 47.3963981], [8.4513953, 47.3964181]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/114025604', 'properties': {'addr:city': 'Schlieren', 'addr:housenumber': '4', 'addr:postcode': '8952', 'addr:street': 'Schürrainweg', 'amenity': 'school', 'building': 'school', 'layer': '-2', 'name': 'Schulhaus und Kindergarten Kalktarren', 'start_date': '1970', 'id': 'way/114025604'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4373646, 47.393364], [8.437343, 47.3936242], [8.4362412, 47.3935823], [8.4362639, 47.3933095], [8.4366275, 47.393323], [8.436652, 47.3930436], [8.436662, 47.3930441], [8.4366709, 47.3929633], [8.4368006, 47.3929685], [8.4368036, 47.3929406], [8.436914, 47.3929466], [8.4369167, 47.3928958], [8.4373128, 47.3929112], [8.4373173, 47.3928646], [8.437507, 47.3928729], [8.4377364, 47.392881], [8.4377243, 47.3930388], [8.437603, 47.3930346], [8.4375989, 47.3930776], [8.4373943, 47.3930686], [8.4374017, 47.3929912], [8.4373056, 47.392987], [8.4373064, 47.3929786], [8.4372438, 47.3929762], [8.437242, 47.3929923], [8.4372433, 47.3929924], [8.4372342, 47.3930744], [8.4373971, 47.3930814], [8.4373673, 47.3933641], [8.4373646, 47.393364]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/114313864', 'properties': {'amenity': 'school', 'name': 'Schule Talacker', 'id': 'way/114313864'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.751733, 47.5012961], [8.7509128, 47.5010332], [8.7504504, 47.5008854], [8.7503606, 47.5008592], [8.7504299, 47.5005705], [8.7505227, 47.500582], [8.7509109, 47.500645], [8.7512749, 47.5007127], [8.7512682, 47.5007408], [8.7516738, 47.5008296], [8.7517505, 47.5008683], [8.7517781, 47.5009251], [8.7517496, 47.5011498], [8.751733, 47.5012961]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/114313864', 'properties': {'amenity': 'school', 'name': 'Schule Talacker', 'id': 'way/114313864'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.751733, 47.5012961], [8.7509128, 47.5010332], [8.7504504, 47.5008854], [8.7503721, 47.5008621], [8.7505224, 47.5005828], [8.75091, 47.5006458], [8.7512749, 47.5007127], [8.7512682, 47.5007408], [8.7516738, 47.5008296], [8.7517505, 47.5008683], [8.7517781, 47.5009251], [8.7517496, 47.5011498], [8.751733, 47.5012961]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/114790554', 'properties': {'addr:city': 'Dietikon', 'addr:housenumber': '160', 'addr:postcode': '8953', 'addr:street': 'Schöneggstrasse', 'amenity': 'school', 'building': 'yes', 'id': 'way/114790554'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.421548, 47.3966436], [8.4216613, 47.3966162], [8.4216804, 47.3966524], [8.4217905, 47.3966258], [8.4218089, 47.3966609], [8.4219145, 47.3966354], [8.4219554, 47.396713], [8.4219063, 47.3967249], [8.4219636, 47.3968336], [8.4218517, 47.3968607], [8.4218134, 47.3967881], [8.4217122, 47.3968125], [8.4216747, 47.3967413], [8.421607999999999, 47.3967574], [8.421548, 47.3966436]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/114790557', 'properties': {'addr:city': 'Dietikon', 'addr:housenumber': '156', 'addr:postcode': '8953', 'addr:street': 'Schöneggstrasse', 'amenity': 'school', 'grades': '7-9', 'loc_name': ""s'Lubi"", 'name': 'Schule Luberzen', 'id': 'way/114790557'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4205705, 47.397403], [8.4201766, 47.3965295], [8.4201458, 47.3964302], [8.4201497, 47.3963226], [8.4198923, 47.3959155], [8.420031999999999, 47.3958621], [8.4202221, 47.3957984], [8.4210679, 47.3960678], [8.4212554, 47.3961453], [8.4214636, 47.3962342], [8.4216356, 47.3963191], [8.421911, 47.3964626], [8.4221749, 47.3966421], [8.4223546, 47.3968128], [8.4221386, 47.39691], [8.42203, 47.3969187], [8.4209282, 47.397359], [8.4208829, 47.3973205], [8.4205752, 47.3974194], [8.4205705, 47.397403]]]}}"
FeatureCollection,"{'type': 'Feature', 'id': 'way/114790564', 'properties': {'addr:city': 'Dietikon', 'addr:housenumber': '156', 'addr:postcode': '8953', 'addr:street': 'Schöneggstrasse', 'amenity': 'school', 'building': 'yes', 'id': 'way/114790564'}, 'geometry': {'type': 'Polygon', 'coordinates': [[[8.4202378, 47.3963481], [8.4205043, 47.3962838], [8.4204363, 47.3961547], [8.4207415, 47.396081], [8.4207966, 47.3961855], [8.4207405, 47.3961991], [8.4207832, 47.3962802], [8.4206589, 47.3963102], [8.420673, 47.396337], [8.4205971, 47.3963553], [8.4206483, 47.3964524], [8.4203329, 47.3965285], [8.4202378, 47.3963481]]]}}"
Expand Down
Loading

0 comments on commit 5d1e4d3

Please sign in to comment.