]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/commitdiff
Add comment on how bolzanoWkt was created.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Nov 2023 14:08:14 +0000 (15:08 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Nov 2023 14:08:14 +0000 (15:08 +0100)
src/wrmap.ts

index 33c15c4346d1f6f3b33ef03552e0201d8de25a3f..f9c832b2aa19db1a07e1f57e3c33d4172c620b44 100644 (file)
@@ -366,6 +366,7 @@ function init_wrmap(_: number, jq_map_element: HTMLElement) {
                '8.941 46.027, 8.970 45.881, 8.867 46.107, 8.515 46.269, 8.440 46.489, 8.045 46.299, 8.062 46.176, 7.818 45.986, ' +
                '7.530 46.023, 7.136 45.928, 6.843 46.173, 6.792 46.454, 6.412 46.474, 6.186 46.362)))';
 
+       // simplified "inner" polygon of Bolzano, created with tools/simplify_province.py --province Bozen
        const bolzanoWkt = 'POLYGON ((10.452 46.680, 10.501 46.800, 11.012 46.725, 11.202 46.923, 11.743 46.926, ' +
                '12.047 47.001, 12.072 46.884, 12.335 46.673, 12.058 46.706, 11.973 46.577, 11.654 46.548, 11.534 46.402, ' +
                '11.232 46.285, 11.242 46.540, 10.650 46.499, 10.452 46.680))'