Skip to content

Commit

Permalink
Merge pull request #112 from HSLdevcom/DT-6528
Browse files Browse the repository at this point in the history
DT-6528 kotka zones
  • Loading branch information
vesameskanen authored Dec 18, 2024
2 parents 3dc749e + d68d0b0 commit c05d03a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions middleware/config/kotka_zone_areas_20241218.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "FeatureCollection",
"name": "kotka_aluetarkistusdata_final",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "Zone": "B" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 26.83968, 60.47486 ], [ 26.84189, 60.45795 ], [ 26.82796, 60.45678 ], [ 26.80929, 60.45686 ], [ 26.78478, 60.45279 ], [ 26.74259, 60.44597 ], [ 26.73049, 60.4344 ], [ 26.69969, 60.42511 ], [ 26.65605, 60.41751 ], [ 26.62183, 60.40906 ], [ 26.59444, 60.40441 ], [ 26.51152, 60.38369 ], [ 26.48511, 60.43781 ], [ 26.48034, 60.44129 ], [ 26.47709, 60.4477 ], [ 26.44784, 60.49242 ], [ 26.5112, 60.52731 ], [ 26.50061, 60.54544 ], [ 26.54429, 60.55491 ], [ 26.54178, 60.57501 ], [ 26.59728, 60.64141 ], [ 26.68276, 60.64929 ], [ 26.75388, 60.57571 ], [ 26.83968, 60.47486 ] ] ], [ [ [ 27.45468, 60.6411 ], [ 27.38819, 60.60218 ], [ 27.35657, 60.55877 ], [ 27.41552, 60.50872 ], [ 27.40018, 60.4648 ], [ 27.26241, 60.50882 ], [ 27.24569, 60.51519 ], [ 27.22937, 60.51528 ], [ 27.20699, 60.51884 ], [ 27.15645, 60.51671 ], [ 27.10014, 60.52914 ], [ 27.07054, 60.5302 ], [ 27.05177, 60.52594 ], [ 27.02367, 60.52941 ], [ 27.00928, 60.54956 ], [ 27.0285, 60.60451 ], [ 26.92214, 60.64855 ], [ 27.10312, 60.68555 ], [ 27.12465, 60.77686 ], [ 27.22527, 60.7604 ], [ 27.29264, 60.822 ], [ 27.42836, 60.84264 ], [ 27.45468, 60.6411 ] ] ] ] } },
{ "type": "Feature", "properties": { "Zone": "A" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 26.8274, 60.64478 ], [ 26.8821, 60.63635 ], [ 26.92214, 60.64855 ], [ 27.0285, 60.60451 ], [ 27.00928, 60.54956 ], [ 27.02367, 60.52941 ], [ 26.99909, 60.51837 ], [ 26.9936, 60.48471 ], [ 27.00922, 60.46868 ], [ 26.99147, 60.45636 ], [ 26.98329, 60.4455 ], [ 26.96423, 60.43607 ], [ 26.937, 60.43058 ], [ 26.91344, 60.42237 ], [ 26.88946, 60.42567 ], [ 26.88215, 60.43441 ], [ 26.84189, 60.45795 ], [ 26.83968, 60.47486 ], [ 26.75388, 60.57571 ], [ 26.78669, 60.60452 ], [ 26.73572, 60.66918 ], [ 26.7762, 60.68641 ], [ 26.8274, 60.64478 ] ] ] ] } }
]
}

1 change: 1 addition & 0 deletions middleware/zones.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function setup(prefix) {
OULU: require('./config/oulu_zone_areas_20241011.json'),
Joensuu: require('./config/joensuu_zone_areas_20230830.json'),
Vaasa: require('./config/vaasa_zone_lines_20231220.json'),
Kotka: require('./config/kotka_zone_areas_20241218.json'),
};

// precompute bounding boxes to optimize test speed
Expand Down

0 comments on commit c05d03a

Please sign in to comment.