Skip to content

Commit

Permalink
Merge pull request #106 from HSLdevcom/DT-6164
Browse files Browse the repository at this point in the history
DT-6164: added new polygon for Vaasa
  • Loading branch information
vesameskanen authored Jan 2, 2024
2 parents 6b280fa + a6689b4 commit dbdffb6
Show file tree
Hide file tree
Showing 2 changed files with 208 additions and 0 deletions.
207 changes: 207 additions & 0 deletions middleware/config/vaasa_zone_lines_20231220.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
{
"type" : "FeatureCollection",
"name" : "Zone areas",
"features" : [
{
"type" : "Feature",
"geometry" : {
"type" : "Polygon",
"coordinates" : [
[
[ 21.80091, 63.09565 ],
[ 21.80074, 63.1031 ],
[ 21.8004, 63.10618 ],
[ 21.81437, 63.11153 ],
[ 21.79239, 63.11328 ],
[ 21.78952, 63.11465 ],
[ 21.78634, 63.1149 ],
[ 21.7809, 63.11527 ],
[ 21.78014, 63.11456 ],
[ 21.75903, 63.12495 ],
[ 21.7504, 63.12168 ],
[ 21.75513, 63.1127 ],
[ 21.7446, 63.10945 ],
[ 21.74053, 63.11453 ],
[ 21.72938, 63.11444 ],
[ 21.71937, 63.11666 ],
[ 21.72141, 63.12572 ],
[ 21.70857, 63.1285 ],
[ 21.69407, 63.12739 ],
[ 21.66376, 63.1199 ],
[ 21.66867, 63.12474 ],
[ 21.66562, 63.12633 ],
[ 21.6642, 63.12968 ],
[ 21.66672, 63.13274 ],
[ 21.66158, 63.1356 ],
[ 21.66272, 63.13675 ],
[ 21.66207, 63.13809 ],
[ 21.66136, 63.13874 ],
[ 21.6593, 63.14095 ],
[ 21.65726, 63.1419 ],
[ 21.6563, 63.1427 ],
[ 21.65523, 63.14311 ],
[ 21.65469, 63.14375 ],
[ 21.65681, 63.14681 ],
[ 21.64916, 63.14733 ],
[ 21.64291, 63.14701 ],
[ 21.63688, 63.14608 ],
[ 21.63018, 63.14623 ],
[ 21.62771, 63.14936 ],
[ 21.61984, 63.14775 ],
[ 21.61928, 63.15202 ],
[ 21.61606, 63.15449 ],
[ 21.60533, 63.15741 ],
[ 21.60481, 63.16034 ],
[ 21.59792, 63.16207 ],
[ 21.56946, 63.16737 ],
[ 21.56134, 63.16822 ],
[ 21.54374, 63.1668 ],
[ 21.53433, 63.16046 ],
[ 21.5365, 63.15587 ],
[ 21.54179, 63.15106 ],
[ 21.53966, 63.14785 ],
[ 21.53975, 63.14583 ],
[ 21.54274, 63.14396 ],
[ 21.54591, 63.14404 ],
[ 21.54775, 63.14282 ],
[ 21.5501, 63.14058 ],
[ 21.55123, 63.13989 ],
[ 21.55254, 63.13797 ],
[ 21.55173, 63.13536 ],
[ 21.55226, 63.13468 ],
[ 21.55702, 63.12848 ],
[ 21.55657, 63.12779 ],
[ 21.55674, 63.12682 ],
[ 21.5586, 63.1257 ],
[ 21.56067, 63.12493 ],
[ 21.56203, 63.12394 ],
[ 21.56285, 63.12276 ],
[ 21.57272, 63.11362 ],
[ 21.57527, 63.10472 ],
[ 21.5631, 63.10188 ],
[ 21.55607, 63.09503 ],
[ 21.54763, 63.09216 ],
[ 21.53857, 63.08515 ],
[ 21.52923, 63.08077 ],
[ 21.52281, 63.07937 ],
[ 21.51916, 63.07137 ],
[ 21.51674, 63.06788 ],
[ 21.45841, 63.06075 ],
[ 21.45942, 63.03719 ],
[ 21.43426, 63.0165 ],
[ 21.49622, 63.00471 ],
[ 21.53035, 62.9905 ],
[ 21.53594, 62.98639 ],
[ 21.54945, 62.98265 ],
[ 21.55722, 62.98335 ],
[ 21.56312, 62.98481 ],
[ 21.55781, 62.98891 ],
[ 21.56744, 62.99953 ],
[ 21.58726, 63.02112 ],
[ 21.61043, 63.03926 ],
[ 21.62499, 63.05223 ],
[ 21.63748, 63.06333 ],
[ 21.64636, 63.06105 ],
[ 21.66352, 63.05588 ],
[ 21.68076, 63.05062 ],
[ 21.69312, 63.04777 ],
[ 21.71648, 63.04294 ],
[ 21.73402, 63.04212 ],
[ 21.73437, 63.04365 ],
[ 21.74574, 63.04193 ],
[ 21.74978, 63.0414 ],
[ 21.76065, 63.03919 ],
[ 21.76692, 63.03818 ],
[ 21.77232, 63.03771 ],
[ 21.77486, 63.03857 ],
[ 21.77904, 63.04021 ],
[ 21.78049, 63.03951 ],
[ 21.78548, 63.04037 ],
[ 21.78515, 63.0419 ],
[ 21.78676, 63.04288 ],
[ 21.78841, 63.0442 ],
[ 21.80519, 63.05151 ],
[ 21.81941, 63.05767 ],
[ 21.82889, 63.06168 ],
[ 21.81014, 63.08869 ],
[ 21.80618, 63.0944 ],
[ 21.80091, 63.09565 ]
]
]
},
"properties" : {
"Zone" : "A"
}
},
{
"type" : "Feature",
"geometry" : {
"type" : "Polygon",
"coordinates" : [
[
[ 21.81201, 63.086 ],
[ 21.82368, 63.06919 ],
[ 21.82889, 63.06168 ],
[ 21.86032, 63.06145 ],
[ 21.89872, 63.06135 ],
[ 21.9354, 63.06417 ],
[ 21.91251, 63.07671 ],
[ 21.91301, 63.07716 ],
[ 21.91328, 63.07798 ],
[ 21.93559, 63.08775 ],
[ 21.92012, 63.08935 ],
[ 21.90476, 63.09089 ],
[ 21.89345, 63.09243 ],
[ 21.86463, 63.09086 ],
[ 21.84726, 63.08782 ],
[ 21.82452, 63.08675 ],
[ 21.81201, 63.086 ]
]
]
},
"properties" : {
"Zone" : "B"
}
},
{
"type" : "Feature",
"geometry" : {
"type" : "Polygon",
"coordinates" : [
[
[ 21.91328, 63.07798 ],
[ 21.91301, 63.07716 ],
[ 21.91251, 63.07671 ],
[ 21.9354, 63.06417 ],
[ 21.99199, 63.0587 ],
[ 22.05743, 63.05605 ],
[ 22.09368, 63.04913 ],
[ 22.0982, 63.04622 ],
[ 22.10103, 63.03904 ],
[ 22.10103, 63.03356 ],
[ 22.10187, 63.02801 ],
[ 22.10367, 63.02304 ],
[ 22.10704, 63.01654 ],
[ 22.11631, 63.00617 ],
[ 22.13027, 63.00138 ],
[ 22.14876, 62.99787 ],
[ 22.15524, 63.00316 ],
[ 22.1557, 63.00509 ],
[ 22.15176, 63.0093 ],
[ 22.16011, 63.01084 ],
[ 22.16057, 63.01291 ],
[ 22.16497, 63.0188 ],
[ 22.17197, 63.03519 ],
[ 22.17008, 63.05152 ],
[ 22.10801, 63.064 ],
[ 21.93559, 63.08775 ],
[ 21.91328, 63.07798 ]
]
]
},
"properties" : {
"Zone" : "C"
}
}
]
}
1 change: 1 addition & 0 deletions middleware/zones.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function setup(prefix) {
Lappeenranta: require('./config/lpr_zone_areas_20220113.json'),
OULU: require('./config/oulu_zone_areas_20230223.json'),
Joensuu: require('./config/joensuu_zone_areas_20230830.json'),
Vaasa: require('./config/vaasa_zone_lines_20231220.json'),
};

// precompute bounding boxes to optimize test speed
Expand Down

0 comments on commit dbdffb6

Please sign in to comment.