diff --git a/middleware/config/oulu_zone_areas_20230223.json b/middleware/config/oulu_zone_areas_20230223.json deleted file mode 100644 index ebb26286..00000000 --- a/middleware/config/oulu_zone_areas_20230223.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "type" : "FeatureCollection", - "name" : "Zone areas", - "features" : [ - { - "type" : "Feature", - "geometry" : { - "type" : "Polygon", - "coordinates" : [ - [ - [ 26.64048, 65.03843 ], - [ 26.62095, 65.05549 ], - [ 26.63132, 65.07348 ], - [ 26.62773, 65.09634 ], - [ 26.59901, 65.09752 ], - [ 26.46376, 65.15105 ], - [ 26.31934, 65.20046 ], - [ 26.23556, 65.27399 ], - [ 26.2559, 65.28334 ], - [ 26.28183, 65.27917 ], - [ 26.35684, 65.32018 ], - [ 26.37878, 65.31701 ], - [ 26.39953, 65.32517 ], - [ 26.38636, 65.33167 ], - [ 26.3913, 65.34948 ], - [ 26.42426, 65.34782 ], - [ 26.41269, 65.36162 ], - [ 26.40131, 65.37366 ], - [ 26.15335, 65.41907 ], - [ 26.15462, 65.49066 ], - [ 26.18028, 65.49901 ], - [ 26.17504, 65.50289 ], - [ 26.15481, 65.50275 ], - [ 26.17012, 65.82225 ], - [ 25.20285, 65.65626 ], - [ 24.65562, 65.32135 ], - [ 24.59363, 65.2664 ], - [ 24.53366, 65.21009 ], - [ 24.52909, 65.13691 ], - [ 24.52639, 64.88682 ], - [ 24.80594, 64.88915 ], - [ 24.84332, 64.88423 ], - [ 24.87698, 64.8854 ], - [ 24.93029, 64.88205 ], - [ 24.96198, 64.88795 ], - [ 24.9525, 64.90695 ], - [ 24.9973, 64.91029 ], - [ 24.9904, 64.86806 ], - [ 24.9925, 64.84534 ], - [ 24.95299, 64.81611 ], - [ 24.96388, 64.80127 ], - [ 25.16492, 64.73173 ], - [ 25.32872, 64.66875 ], - [ 25.60493, 64.60352 ], - [ 25.64286, 64.58073 ], - [ 25.74907, 64.51716 ], - [ 25.77942, 64.55141 ], - [ 25.80218, 64.55141 ], - [ 25.87046, 64.51879 ], - [ 25.93115, 64.55141 ], - [ 26.21943, 64.46161 ], - [ 26.26495, 64.46652 ], - [ 26.44703, 64.54978 ], - [ 26.45461, 64.56933 ], - [ 26.50326, 64.5908 ], - [ 26.45219, 64.62296 ], - [ 26.39392, 64.59538 ], - [ 26.35978, 64.59701 ], - [ 26.31426, 64.6149 ], - [ 26.31426, 64.64578 ], - [ 26.36358, 64.63116 ], - [ 26.38634, 64.65066 ], - [ 26.37496, 64.67014 ], - [ 26.3484, 64.70419 ], - [ 26.30668, 64.72283 ], - [ 26.45798, 64.7503 ], - [ 26.46795, 64.76425 ], - [ 26.46057, 64.77497 ], - [ 26.44381, 64.81022 ], - [ 26.44501, 64.82601 ], - [ 26.43304, 64.83144 ], - [ 26.39554, 64.84399 ], - [ 26.40791, 64.86501 ], - [ 26.42985, 64.8584 ], - [ 26.45897, 64.85179 ], - [ 26.46895, 64.86739 ], - [ 26.4853, 64.86789 ], - [ 26.50007, 64.85976 ], - [ 26.49488, 64.85179 ], - [ 26.51762, 64.84976 ], - [ 26.56031, 64.90667 ], - [ 26.63252, 64.89245 ], - [ 26.66324, 64.89236 ], - [ 26.67083, 64.90684 ], - [ 26.76617, 64.95231 ], - [ 26.76936, 64.96194 ], - [ 26.73785, 64.98978 ], - [ 26.69117, 64.97882 ], - [ 26.6804, 64.98928 ], - [ 26.71271, 65.00698 ], - [ 26.70593, 65.01322 ], - [ 26.65925, 65.01423 ], - [ 26.64048, 65.03843 ] - ], - [ - [ 25.16761, 64.91963 ], - [ 25.09717, 64.9374 ], - [ 25.08711, 64.94619 ], - [ 25.07505, 64.95031 ], - [ 25.06441, 64.95801 ], - [ 25.06398, 64.98721 ], - [ 25.08256, 65.01499 ], - [ 25.13078, 65.05843 ], - [ 25.08389, 65.10859 ], - [ 25.06057, 65.13917 ], - [ 25.0727, 65.16972 ], - [ 24.86341, 65.2643 ], - [ 25.18074, 65.36758 ], - [ 25.55096, 65.36987 ], - [ 25.59834, 65.33964 ], - [ 25.65927, 65.28825 ], - [ 25.69391, 65.28326 ], - [ 26.19367, 65.20071 ], - [ 26.27172, 65.13415 ], - [ 26.36475, 65.07011 ], - [ 26.37898, 64.92535 ], - [ 26.01732, 64.79914 ], - [ 25.77056, 64.74457 ], - [ 25.6097, 64.73526 ], - [ 25.41711, 64.75487 ], - [ 25.14846, 64.82569 ], - [ 25.13314, 64.8429 ], - [ 25.16761, 64.91963 ] - ] - ] - }, - "properties" : { - "Zone" : "D" - } - }, - { - "type" : "Feature", - "geometry" : { - "type" : "Polygon", - "coordinates" : [ - [ - [ 25.38279, 65.21102 ], - [ 25.39924, 65.20578 ], - [ 25.40548, 65.19944 ], - [ 25.40793, 65.19256 ], - [ 25.40876, 65.18469 ], - [ 25.48988, 65.16855 ], - [ 25.58234, 65.16372 ], - [ 25.62666, 65.17303 ], - [ 25.63925, 65.17417 ], - [ 25.71147, 65.15924 ], - [ 25.7763, 65.15093 ], - [ 25.79147, 65.14749 ], - [ 25.80502, 65.1355 ], - [ 25.81119, 65.12294 ], - [ 25.82257, 65.10758 ], - [ 25.84047, 65.09484 ], - [ 25.87154, 65.07126 ], - [ 25.89459, 65.01513 ], - [ 25.88367, 64.97984 ], - [ 25.87478, 64.95948 ], - [ 25.84971, 64.93688 ], - [ 25.86296, 64.90374 ], - [ 25.83144, 64.89063 ], - [ 25.8124, 64.89778 ], - [ 25.75766, 64.88426 ], - [ 25.72896, 64.90684 ], - [ 25.649, 64.84532 ], - [ 25.63382, 64.84306 ], - [ 25.6111, 64.84655 ], - [ 25.60588, 64.84313 ], - [ 25.58265, 64.84554 ], - [ 25.57885, 64.84413 ], - [ 25.5523, 64.84978 ], - [ 25.54803, 64.8532 ], - [ 25.54424, 64.85683 ], - [ 25.52338, 64.86609 ], - [ 25.48307, 64.86952 ], - [ 25.4807, 64.87757 ], - [ 25.47359, 64.8822 ], - [ 25.46695, 64.88743 ], - [ 25.45462, 64.88884 ], - [ 25.44846, 64.89206 ], - [ 25.44666, 64.88096 ], - [ 25.40389, 64.88462 ], - [ 25.38445, 64.87596 ], - [ 25.36785, 64.87838 ], - [ 25.36051, 64.89327 ], - [ 25.36762, 64.90272 ], - [ 25.30787, 64.90292 ], - [ 25.30701, 64.90234 ], - [ 25.23926, 64.90159 ], - [ 25.16761, 64.91963 ], - [ 25.13314, 64.8429 ], - [ 25.14846, 64.82569 ], - [ 25.41711, 64.75487 ], - [ 25.6097, 64.73526 ], - [ 25.77056, 64.74457 ], - [ 26.01732, 64.79914 ], - [ 26.37898, 64.92535 ], - [ 26.36475, 65.07011 ], - [ 26.27172, 65.13415 ], - [ 26.19367, 65.20071 ], - [ 25.69391, 65.28326 ], - [ 25.65927, 65.28825 ], - [ 25.59834, 65.33964 ], - [ 25.55096, 65.36987 ], - [ 25.18074, 65.36758 ], - [ 24.86341, 65.2643 ], - [ 25.0727, 65.16972 ], - [ 25.13893, 65.18786 ], - [ 25.25034, 65.21361 ], - [ 25.30217, 65.22748 ], - [ 25.33777, 65.23498 ], - [ 25.34379, 65.25606 ], - [ 25.36568, 65.2556 ], - [ 25.38279, 65.21102 ] - ] - ] - }, - "properties" : { - "Zone" : "C" - } - }, - { - "type" : "Feature", - "geometry" : { - "type" : "Polygon", - "coordinates" : [ - [ - [ 25.38279, 65.21102 ], - [ 25.36568, 65.2556 ], - [ 25.34379, 65.25606 ], - [ 25.33777, 65.23498 ], - [ 25.30217, 65.22748 ], - [ 25.25034, 65.21361 ], - [ 25.13893, 65.18786 ], - [ 25.0727, 65.16972 ], - [ 25.06057, 65.13917 ], - [ 25.08389, 65.10859 ], - [ 25.13078, 65.05843 ], - [ 25.08256, 65.01499 ], - [ 25.06398, 64.98721 ], - [ 25.06441, 64.95801 ], - [ 25.07505, 64.95031 ], - [ 25.08711, 64.94619 ], - [ 25.09717, 64.9374 ], - [ 25.16761, 64.91963 ], - [ 25.23926, 64.90159 ], - [ 25.30701, 64.90234 ], - [ 25.30787, 64.90292 ], - [ 25.36762, 64.90272 ], - [ 25.36051, 64.89327 ], - [ 25.36785, 64.87838 ], - [ 25.38445, 64.87596 ], - [ 25.40389, 64.88462 ], - [ 25.44666, 64.88096 ], - [ 25.44846, 64.89206 ], - [ 25.45462, 64.88884 ], - [ 25.46695, 64.88743 ], - [ 25.47359, 64.8822 ], - [ 25.4807, 64.87757 ], - [ 25.48307, 64.86952 ], - [ 25.52338, 64.86609 ], - [ 25.54424, 64.85683 ], - [ 25.54803, 64.8532 ], - [ 25.5523, 64.84978 ], - [ 25.57885, 64.84413 ], - [ 25.58265, 64.84554 ], - [ 25.60588, 64.84313 ], - [ 25.6111, 64.84655 ], - [ 25.63382, 64.84306 ], - [ 25.649, 64.84532 ], - [ 25.72896, 64.90684 ], - [ 25.75766, 64.88426 ], - [ 25.8124, 64.89778 ], - [ 25.83144, 64.89063 ], - [ 25.86296, 64.90374 ], - [ 25.84971, 64.93688 ], - [ 25.87478, 64.95948 ], - [ 25.88367, 64.97984 ], - [ 25.89459, 65.01513 ], - [ 25.87154, 65.07126 ], - [ 25.84047, 65.09484 ], - [ 25.82257, 65.10758 ], - [ 25.81119, 65.12294 ], - [ 25.80502, 65.1355 ], - [ 25.79147, 65.14749 ], - [ 25.7763, 65.15093 ], - [ 25.71147, 65.15924 ], - [ 25.63925, 65.17417 ], - [ 25.62666, 65.17303 ], - [ 25.58234, 65.16372 ], - [ 25.48988, 65.16855 ], - [ 25.40876, 65.18469 ], - [ 25.40793, 65.19256 ], - [ 25.40548, 65.19944 ], - [ 25.39924, 65.20578 ], - [ 25.38279, 65.21102 ] - ], - [ - [ 25.68226, 65.0138 ], - [ 25.66103, 64.97528 ], - [ 25.65746, 64.96804 ], - [ 25.6471, 64.95993 ], - [ 25.62062, 64.95018 ], - [ 25.60354, 64.94261 ], - [ 25.60042, 64.94116 ], - [ 25.53781, 64.93933 ], - [ 25.53021, 64.93947 ], - [ 25.52013, 64.93947 ], - [ 25.51462, 64.94038 ], - [ 25.48227, 64.94365 ], - [ 25.44734, 64.94709 ], - [ 25.42269, 64.95834 ], - [ 25.38548, 64.97611 ], - [ 25.36039, 65.01502 ], - [ 25.36231, 65.05244 ], - [ 25.35495, 65.08677 ], - [ 25.39002, 65.10598 ], - [ 25.40235, 65.10817 ], - [ 25.41278, 65.10778 ], - [ 25.42369, 65.10678 ], - [ 25.43364, 65.10678 ], - [ 25.44692, 65.10378 ], - [ 25.45545, 65.10318 ], - [ 25.46731, 65.10219 ], - [ 25.47916, 65.10079 ], - [ 25.49149, 65.09939 ], - [ 25.5114, 65.0974 ], - [ 25.54033, 65.0936 ], - [ 25.54934, 65.09081 ], - [ 25.57492, 65.08884 ], - [ 25.59458, 65.08413 ], - [ 25.61988, 65.07392 ], - [ 25.63907, 65.06617 ], - [ 25.65066, 65.05705 ], - [ 25.65561, 65.05316 ], - [ 25.65703, 65.04253 ], - [ 25.65733, 65.03665 ], - [ 25.68226, 65.0138 ] - ] - ] - }, - "properties" : { - "Zone" : "B" - } - }, - { - "type" : "Feature", - "geometry" : { - "type" : "Polygon", - "coordinates" : [ - [ - [ 25.68226, 65.0138 ], - [ 25.65733, 65.03665 ], - [ 25.65703, 65.04253 ], - [ 25.65561, 65.05316 ], - [ 25.65066, 65.05705 ], - [ 25.63907, 65.06617 ], - [ 25.61988, 65.07392 ], - [ 25.59458, 65.08413 ], - [ 25.57492, 65.08884 ], - [ 25.54934, 65.09081 ], - [ 25.54033, 65.0936 ], - [ 25.5114, 65.0974 ], - [ 25.49149, 65.09939 ], - [ 25.47916, 65.10079 ], - [ 25.46731, 65.10219 ], - [ 25.45545, 65.10318 ], - [ 25.44692, 65.10378 ], - [ 25.43364, 65.10678 ], - [ 25.42369, 65.10678 ], - [ 25.41278, 65.10778 ], - [ 25.40235, 65.10817 ], - [ 25.39002, 65.10598 ], - [ 25.35495, 65.08677 ], - [ 25.36231, 65.05244 ], - [ 25.36039, 65.01502 ], - [ 25.38548, 64.97611 ], - [ 25.42269, 64.95834 ], - [ 25.44734, 64.94709 ], - [ 25.48227, 64.94365 ], - [ 25.51462, 64.94038 ], - [ 25.52013, 64.93947 ], - [ 25.53021, 64.93947 ], - [ 25.53781, 64.93933 ], - [ 25.60042, 64.94116 ], - [ 25.60354, 64.94261 ], - [ 25.62062, 64.95018 ], - [ 25.6471, 64.95993 ], - [ 25.65746, 64.96804 ], - [ 25.66103, 64.97528 ], - [ 25.68226, 65.0138 ] - ], - [ - [ 25.4818, 65.00914 ], - [ 25.47246, 65.00281 ], - [ 25.47111, 65.00184 ], - [ 25.46984, 64.99943 ], - [ 25.46982, 64.99852 ], - [ 25.46532, 64.99826 ], - [ 25.46636, 64.99203 ], - [ 25.45722, 64.99173 ], - [ 25.45625, 65.0008 ], - [ 25.447, 65.00337 ], - [ 25.46545, 65.01575 ], - [ 25.47719, 65.01274 ], - [ 25.48815, 65.01967 ], - [ 25.51561, 65.01963 ], - [ 25.51554, 65.00542 ], - [ 25.49561, 65.00566 ], - [ 25.4818, 65.00914 ] - ] - ] - }, - "properties" : { - "Zone" : "A" - } - }, - { - "type" : "Feature", - "geometry" : { - "type" : "Polygon", - "coordinates" : [ - [ - [ 25.4818, 65.00914 ], - [ 25.49561, 65.00566 ], - [ 25.51554, 65.00542 ], - [ 25.51561, 65.01963 ], - [ 25.48815, 65.01967 ], - [ 25.47719, 65.01274 ], - [ 25.46545, 65.01575 ], - [ 25.447, 65.00337 ], - [ 25.45625, 65.0008 ], - [ 25.45722, 64.99173 ], - [ 25.46636, 64.99203 ], - [ 25.46532, 64.99826 ], - [ 25.46982, 64.99852 ], - [ 25.46984, 64.99943 ], - [ 25.47111, 65.00184 ], - [ 25.47246, 65.00281 ], - [ 25.4818, 65.00914 ] - ] - ] - }, - "properties" : { - "Zone" : "L" - } - } - ] -} \ No newline at end of file diff --git a/middleware/config/oulu_zone_areas_20241011.json b/middleware/config/oulu_zone_areas_20241011.json new file mode 100644 index 00000000..dc16e43d --- /dev/null +++ b/middleware/config/oulu_zone_areas_20241011.json @@ -0,0 +1,391 @@ +{ + "type": "FeatureCollection", + "name": "Zone areas", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 26.64048, + 65.03843 + ], + [ + 26.62095, + 65.05549 + ], + [ + 26.63132, + 65.07348 + ], + [ + 26.62773, + 65.09634 + ], + [ + 26.59901, + 65.09752 + ], + [ + 26.46376, + 65.15105 + ], + [ + 26.31934, + 65.20046 + ], + [ + 26.23556, + 65.27399 + ], + [ + 26.2559, + 65.28334 + ], + [ + 26.28183, + 65.27917 + ], + [ + 26.35684, + 65.32018 + ], + [ + 26.37878, + 65.31701 + ], + [ + 26.39953, + 65.32517 + ], + [ + 26.38636, + 65.33167 + ], + [ + 26.3913, + 65.34948 + ], + [ + 26.42426, + 65.34782 + ], + [ + 26.41269, + 65.36162 + ], + [ + 26.40131, + 65.37366 + ], + [ + 26.15335, + 65.41907 + ], + [ + 26.15462, + 65.49066 + ], + [ + 26.18028, + 65.49901 + ], + [ + 26.17504, + 65.50289 + ], + [ + 26.15481, + 65.50275 + ], + [ + 26.17012, + 65.82225 + ], + [ + 25.20285, + 65.65626 + ], + [ + 24.65562, + 65.32135 + ], + [ + 24.59363, + 65.2664 + ], + [ + 24.53366, + 65.21009 + ], + [ + 24.52909, + 65.13691 + ], + [ + 24.52639, + 64.88682 + ], + [ + 24.80594, + 64.88915 + ], + [ + 24.84332, + 64.88423 + ], + [ + 24.87698, + 64.8854 + ], + [ + 24.93029, + 64.88205 + ], + [ + 24.96198, + 64.88795 + ], + [ + 24.9525, + 64.90695 + ], + [ + 24.9973, + 64.91029 + ], + [ + 24.9904, + 64.86806 + ], + [ + 24.9925, + 64.84534 + ], + [ + 24.95299, + 64.81611 + ], + [ + 24.96388, + 64.80127 + ], + [ + 25.16492, + 64.73173 + ], + [ + 25.32872, + 64.66875 + ], + [ + 25.60493, + 64.60352 + ], + [ + 25.64286, + 64.58073 + ], + [ + 25.74907, + 64.51716 + ], + [ + 25.77942, + 64.55141 + ], + [ + 25.80218, + 64.55141 + ], + [ + 25.87046, + 64.51879 + ], + [ + 25.93115, + 64.55141 + ], + [ + 26.21943, + 64.46161 + ], + [ + 26.26495, + 64.46652 + ], + [ + 26.44703, + 64.54978 + ], + [ + 26.45461, + 64.56933 + ], + [ + 26.50326, + 64.5908 + ], + [ + 26.45219, + 64.62296 + ], + [ + 26.39392, + 64.59538 + ], + [ + 26.35978, + 64.59701 + ], + [ + 26.31426, + 64.6149 + ], + [ + 26.31426, + 64.64578 + ], + [ + 26.36358, + 64.63116 + ], + [ + 26.38634, + 64.65066 + ], + [ + 26.37496, + 64.67014 + ], + [ + 26.3484, + 64.70419 + ], + [ + 26.30668, + 64.72283 + ], + [ + 26.45798, + 64.7503 + ], + [ + 26.46795, + 64.76425 + ], + [ + 26.46057, + 64.77497 + ], + [ + 26.44381, + 64.81022 + ], + [ + 26.44501, + 64.82601 + ], + [ + 26.43304, + 64.83144 + ], + [ + 26.39554, + 64.84399 + ], + [ + 26.40791, + 64.86501 + ], + [ + 26.42985, + 64.8584 + ], + [ + 26.45897, + 64.85179 + ], + [ + 26.46895, + 64.86739 + ], + [ + 26.4853, + 64.86789 + ], + [ + 26.50007, + 64.85976 + ], + [ + 26.49488, + 64.85179 + ], + [ + 26.51762, + 64.84976 + ], + [ + 26.56031, + 64.90667 + ], + [ + 26.63252, + 64.89245 + ], + [ + 26.66324, + 64.89236 + ], + [ + 26.67083, + 64.90684 + ], + [ + 26.76617, + 64.95231 + ], + [ + 26.76936, + 64.96194 + ], + [ + 26.73785, + 64.98978 + ], + [ + 26.69117, + 64.97882 + ], + [ + 26.6804, + 64.98928 + ], + [ + 26.71271, + 65.00698 + ], + [ + 26.70593, + 65.01322 + ], + [ + 26.65925, + 65.01423 + ], + [ + 26.64048, + 65.03843 + ] + ] + ] + }, + "properties": { + "Zone": "Oulu" + } + } + ] +} \ No newline at end of file diff --git a/middleware/zones.js b/middleware/zones.js index c405d4ad..d45a8ead 100644 --- a/middleware/zones.js +++ b/middleware/zones.js @@ -10,7 +10,7 @@ function setup(prefix) { Kuopio: require('./config/kuopio_zone_areas_20240508.json'), Hameenlinna: require('./config/hml_zone_areas_20230214.json'), Lappeenranta: require('./config/lpr_zone_areas_20220113.json'), - OULU: require('./config/oulu_zone_areas_20230223.json'), + OULU: require('./config/oulu_zone_areas_20241011.json'), Joensuu: require('./config/joensuu_zone_areas_20230830.json'), Vaasa: require('./config/vaasa_zone_lines_20231220.json'), };