diff --git a/faroe.html b/faroe.html index e6262ee..d5e9f75 100644 --- a/faroe.html +++ b/faroe.html @@ -18,27 +18,31 @@ - +

Faroe Islands

Wyspy Owcze

-

Old village paths

-

Szlaki między osadami

+

Roundabouts

+

Ronda

- +

- All across the Faroe Islands, you'll find bygdagøtur - old narrow village paths that have been in use since the islands were first settled. - They were used to get to the neighboring villages, attend the church, carry the coffin to the nearby cemetery, and deliver the post. + The first roundabout (rundkoyring) in the Faroe Islands was opened in March 1990 in Runavík.

- These trails are marked by stone cairns (varðar) and free to hike along. Do remember to stay on the path. Walking on the in- and outfields require the landowners’ permission. + Since then, a few dozen have been built across the islands — half of them in Tórshavn alone. On the entire island of Vágar, though, you’ll only find three. The same goes for Klaksvík, the second-largest Faroese town. But there, in the middle of the roundabout, you'll find a large hook - it emphasizes that Klaksvik is a fishing port. +

+ In December 2020, the Eysturoyartunnilin tunnel opened, featuring the world’s first undersea roundabout. It’s that dot right in the middle of the fjord.

- Wyspy Owcze poprzecinane są licznymi bygdagøtur - szlakami, które od stuleci łączyły osady. Korzystano z nich by dotrzeć do sąsiedniej wioski, wziąć udział w nabożeństwie, przenieść zmarłego na miejsce wiecznego spoczynku, dostarczyć pocztę. + Pierwsze farerskie rondo (rundkoyring) zostało otwarte w roku 1990 w Runavíku. +

+ Na współczesnych mapach drogowych znajdziemy ich już kilkadziesiąt – połowę z nich w samym Tórshavn. + Cała wyspa Vágar ma ich tylko trzy. Podobnie jak drugie co do wielkości miasto na Wyspach - Klaksvík. Ale za to tam na środku ronda znajdziemy wielki hak.

- Szlaki te znaczą kamienne kopczyki (varðar), pomagające w nawigacji. Korzystanie z nich jest bezpłatne. Pamiętajmy jednak, aby nie zbaczać z wyznaczonej ścieżki. Uszanujmy farerskie prawo własności. + W grudniu 2020 roku - wraz z otwarciem Eysturoyartunnilin - oddano do użytku pierwsze na świecie podmorskie rondo. Tak, to ta kropka pośrodku fiordu.

    @@ -76,7 +80,7 @@

    Szlaki między osadami

    ResearchOpracowanie: Maciej Brencz @ farerskiekadry.pl

    - DataDane: Visit Faroe Islands + DataDane: OpenStreetMaps

@@ -112,6 +116,7 @@

Szlaki między osadami

let counts = []; // https://leafletjs.com/reference.html#geojson + /** L.geoJSON(await fetchGeoJSON('/geojson/fo-hikes.json'), { pane: `markers-blue`, // so that the geojson layer is rendered and visible style: feature => { @@ -155,7 +160,6 @@

Szlaki między osadami

L.marker([start[1], start[0]], {icon: getIcon('blue', '', 4), pane: `markers-blue`}).addTo(map); L.marker([end[1], end[0]], {icon: getIcon('blue', '', 4), pane: `markers-blue`}).addTo(map); } - **/ }).addTo(map); addLabel('dark-green', 'Up to 5 km long', 'Do 5 km długości', counts['green']); @@ -176,30 +180,30 @@

Szlaki między osadami

let counts = []; **/ - /** - L.geoJSON(await fetchGeoJSON('/geojson/osm-building-church.json'), { + /**/ + L.geoJSON(await fetchGeoJSON('/geojson/osm-junction-roundabout.json'), { onEachFeature: feature => { const geo = feature.geometry.coordinates; console.log(feature.properties); // https://www.wikidata.org/wiki/Q11999142 // P186 -> Q287 - wood - const material = feature.properties.wikidata_claims?.P186?.id; - const isWooden = material === 'Q287'; + // const material = feature.properties.wikidata_claims?.P186?.id; + // const isWooden = material === 'Q287'; - // "denomination": "roman_catholic", - const isCatholic = feature.properties.denomination === 'roman_catholic'; + // // "denomination": "roman_catholic", + // const isCatholic = feature.properties.denomination === 'roman_catholic'; - let color = 'blue'; + let color = 'red'; - if (isCatholic) { - color = 'orange' - } - else if (isWooden) { - color = 'green'; - } + // if (isCatholic) { + // color = 'orange' + // } + // else if (isWooden) { + // color = 'green'; + // } - L.marker([geo[1], geo[0]], {icon: getIcon(color), pane: `markers-${color}`}) + L.marker([geo[1], geo[0]], {icon: getIcon(color, '', true/*small*/), pane: `markers-${color}`}) .addTo(map) .bindPopup(feature.properties.name); @@ -208,7 +212,9 @@

Szlaki między osadami

counts[color]++; } }); - **/ + + addLabel('red', 'Roundabout', 'Rondo', counts['red']); + /**/ }); // console.log(gridsPerCity); @@ -348,5 +354,13 @@

Szlaki między osadami

}**/ + + \ No newline at end of file diff --git a/map_faroe.png b/map_faroe.png index bed9034..90eb959 100644 Binary files a/map_faroe.png and b/map_faroe.png differ diff --git a/map_faroe_pl.png b/map_faroe_pl.png index 3d4a9b5..c8c594d 100644 Binary files a/map_faroe_pl.png and b/map_faroe_pl.png differ diff --git a/static/map.css b/static/map.css index 47716ef..073baf2 100644 --- a/static/map.css +++ b/static/map.css @@ -110,6 +110,13 @@ body[lang="pl"] *[lang="en"] { display: none } /* and vice-versa */ /* filter: sepia(0.2); */ } +.marker-small { + --marker-size-small: 8px; + width: var(--marker-size-small); + height: var(--marker-size-small); + border-radius: var(--marker-size-small); +} + /* https://colorbrewer2.org/#type=diverging&scheme=RdYlGn&n=10 */ .marker.green { background-color: #a6d96a } .marker.dark-green { background-color: #006837 } diff --git a/static/map.js b/static/map.js index d619f49..c421507 100644 --- a/static/map.js +++ b/static/map.js @@ -1,13 +1,14 @@ // get a custom icon // https://www.geoapify.com/create-custom-map-marker-icon -function getIcon(color /* green | blue | yellow */, label) { - let size = 16; +function getIcon(color /* green | blue | yellow */, label, small) { + let size = small ? 8 : 16; label = label ? ` title="${label}"`: ''; + const isSmallClass = small ? " marker-small" : ""; // https://leafletjs.com/reference.html#divicon return L.divIcon({ className: 'marker-icon', - html: ``, + html: ``, iconSize: [size, size], // The coordinates of the "tip" of the icon (relative to its top left corner). // The icon will be aligned so that this point is at the marker's geographical location.