Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(website): add case studies #508

Merged
merged 3 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions client-src/base/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ footer {

/* flex container */
display: flex;
flex-wrap: wrap;
gap: 1rem;
align-items: end;
line-height: 1rem;
Expand Down
9 changes: 9 additions & 0 deletions client-src/case-studies/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@counter-style decimal-square-bracket {
system: extends decimal;
suffix: "] ";
prefix: "[";
}

.list-sources {
list-style: decimal-square-bracket;
}
Binary file not shown.
1 change: 1 addition & 0 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require("esbuild")
"./client-src/help/index.css",
"./client-src/help/index.js",
"./client-src/about/index.css",
"./client-src/case-studies/index.css",
"./client-src/create/index.js",
"./client-src/create-results/index.js",
"./client-src/digitize/index.js",
Expand Down
30 changes: 29 additions & 1 deletion sketch_map_tool/routes.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
import json
from io import BytesIO
from pathlib import Path
from uuid import UUID, uuid4

import geojson
from celery import chain, group
from flask import redirect, render_template, request, send_file, url_for
from flask import (
redirect,
render_template,
request,
send_file,
send_from_directory,
url_for,
)
from werkzeug import Response

from sketch_map_tool import celery_app, config, definitions, tasks
Expand Down Expand Up @@ -54,6 +62,26 @@ def about(lang="en") -> str:
)


@app.get("/case-studies/cultural-landmarks")
@app.get("/<lang>/case-studies/cultural-landmarks")
def case_study_cultural_landmarks(lang="en") -> str:
return render_template("case-study-cultural-landmarks.html", lang=lang)


@app.get("/case-studies/cultural-landmarks-pdf")
@app.get("/<lang>/case-studies/cultural-landmarks-pdf")
def case_study_cultural_landmarks_pdf(lang="en") -> Response:
dir = Path(config.get_config_value("data-dir")) / "case-studies"
name = "participatory-mapping-for-cultural-landmarks.pdf"
return send_from_directory(dir, name, as_attachment=True)


@app.get("/case-studies/timor-leste")
@app.get("/<lang>/case-studies/timor-leste")
def case_study_timor_leste(lang="en") -> str:
return render_template("case-study-timor-leste.html", lang=lang)


@app.get("/create")
@app.get("/<lang>/create")
def create(lang="en") -> str:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 14 additions & 4 deletions sketch_map_tool/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@
<li><a href="{{ url_for('about', lang=lang) }}" class="nav-link secondary">{{ _('About') }}</a></li>
<li><a href="{{ url_for('help', lang=lang) }}" class="nav-link secondary">{{ _('Help') }}</a></li>
<li>
<a href="https://github.com/GIScience/sketch-map-tool" class="nav-link secondary" target="_blank">
<span class="github-icon"></span> Code
</a>
<details role="list">
<summary aria-haspopup="listbox" role="link" style="color: hsl(205, 20%, 32%);">Case Studies</summary>
<ul role="listbox">
<li><a href="{{ url_for('case_study_cultural_landmarks', lang=lang) }}">Participatory Mapping<br>for Cultural Landmarks</a></li>
<li><a href="https://preparecenter.org/resource/digitalizing-paper-based-community-mapping-in-the-evca/"
target="_blank">Digitalizing Paper-Based<br>Community mapping<br>in the EVCA</a></li>
</ul>
</details>
</li>
<li>
<details role="list">
<summary aria-haspopup="listbox">
<summary aria-haspopup="listbox" role="link" style="color: hsl(205, 20%, 32%);">
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor"
class="bi bi-globe2" viewBox="0 0 16 16">
<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z"/>
Expand All @@ -59,6 +64,10 @@
</div>

<footer class="container-fluid">
<a href="https://github.com/GIScience/sketch-map-tool" class="nav-link secondary" target="_blank">
<span class="github-icon"></span> Code
</a>
<span>&middot;</span>
<a class="nav-link secondary" href="https://mailings.heigit.org/f/386599-385418/" target="_blank">{{ _('Newsletter') }}</a>
<span>&middot;</span>
<a class="nav-link secondary" href="https://heigit.org/further-legal-information/" target="_blank">{{ _('Further Legal Information') }}</a>
Expand All @@ -67,6 +76,7 @@
Policy') }}</a>
<span>&middot;</span>
<a class="nav-link secondary" href="https://heigit.org/imprint/" target="_blank">{{ _('Imprint') }}</a>
<span>&middot;</span>
<a href="https://heigit.org" target="_blank">
<img src="/static/assets/logos/HeiGIT/HeiGIT_Logo_base.svg" alt="{{ _('HeiGIT Logo') }}">
</a>
Expand Down
168 changes: 168 additions & 0 deletions sketch_map_tool/templates/case-study-cultural-landmarks.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{% extends "base.html" %}
{% block head %}
<link rel="stylesheet" href="{{url_for("static", filename="bundles/case-studies.css") }}">
{% endblock head %}
{% block header_message %}
{{ _('Case Study') }}
{% endblock header_message %}

{% block body %}

<main class="container">
<h1>{{ _('Participatory Mapping for Cultural Landmarks') }}</h1>
<figure>
<img src="{{ url_for("static",
filename="assets/images/case-study-cultural-landmarks/banner.png") }}"
alt="{{ _('') }}">
<!-- TODO -->
<figcaption>{{ _('') }}</figcaption>
</figure>
<div class="grid">
<div>
<small>Claudio Sossio De Simone</small>
<br>
<small>University of Rome Tor Vergata</small>
<br>
<small>September 2023 to February 2024</small>
<br>
</div>
<div>
<br>
<small><a href="{{ url_for('case_study_cultural_landmarks_pdf', lang=lang) }}">Download as PDF</a></small>
</div>
</div>
<br>
<p>
{{ _('Claudio Sossio De Simone is a PhD candidate at the University of Rome
Tor Vergata in the field of Cultural Heritage, Education and Territory. His
research interests include GIS science and geoinformation applied to
cultural heritage, as well as the geo-historical study of rural
landscapes.') }}
</p>
<p>
{{ _('The Sketch Map Tool was used as part of his PhD research on the
changing territory around an artificial dam in a rural area in southern
Italy. The research aimed to identify significant landmarks and provide
decision-makers with geographical data to develop cultural, environmental,
and touristic initiatives <a href="#1">[1]</a>.') }}
</p>

<h2>{{ _('Why was the Sketch Map Tool used?') }}</h2>
<p>
{{ _('The Sketch Map Tool was used as a means to capture the local
perception of the area around the Occhito dam by identifying
environmentally, culturally or socially significant landmarks as perceived by
the local community.') }}
</p>

<h2>{{ _('The Project') }}</h2>
<p>
{{ _('The study area is a rural region between Molise and Apulia in Southern
Italy that is mostly mountainous and only sparsely populated.') }}
</p>

<p>
{{ _('In the late 1950s, an artificial dam was built in this area to form the
Lake Occhito. The area is included in the protected areas of the Natura 2000
network <a href="#2">[2]</a>, with the vegetation surrounding the lake providing habitats
for several protected species. However, the dam has altered the local
environment. The instability of the new waterscape has caused frequent
flooding. In addition, the agricultural system has been profoundly changed
and the local traditional pastoral activities have almost completely
disappeared.') }}
</p>
<p>
{{ _(' This changing scenario, along the ongoing efforts by stakeholders and
communities to develop a new governance plan, underscores the need for
enhanced spatial knowledge of the area by combining institutional data with
the local community expertise. ') }}
</p>

<h2>{{ _('How was the Sketch Mapping organized?') }}</h2>

<p>
{{ _('Community mapping was conducted with both local adults and school
children aged 11 to 14, who were instructed to jointly work on Sketch Maps
in small groups. The mapping session with A3 (large scale) and A0 (small
scale) Sketch Maps took place on the field as well as in the classroom.
Participants could draw landmarks and identify them as “cultural-natural
places” (e.g. monuments, archaeological sites, birdwatching sites),
“problematic places” (e.g. areas littered with garbage, flood-prone areas),
and “special places” with a strong subjective value (e.g. a place for
picnicking with family, the spot where the mapper kissed for the first time)
<a href="#3">[3]</a>.') }}
</p>
<figure>
<img src="{{ url_for("static",
filename="assets/images/case-study-cultural-landmarks/1.png") }}" alt="{{
_('A Sketch Map of the area around the Occito lake in QGIS software.') }}">
<figcaption>
{{ _('A Sketch Map of the area around the Occito lake in QGIS software.')
}}
</figcaption>
</figure>

<h2>{{ _('How were the Sketch Maps analysed?') }}</h2>
<p>
{{ _('As a first step, the geodata from the digitalized Sketch Maps was
manually cleaned, corrected and enhanced. Then, the collected markings of
landmarks were uploaded to the Google My Maps platform for a quicker and
better visualization of the collected data during the mapping session in the
classroom.') }}
</p>
<p>
{{ _(' As a further step, the Heatmap Plugin in QGIS was used to perform a
density analysis on the point layers, resulting in heatmaps that visualize
the intensity of a phenomenon in an area based on the density of points.
Multiple heatmaps were created to map the density areas of the selected
landmarks, which can later be used to analyze the cultural and social
aspects of the area <a href="#4">[4]</a>.') }}
</p>

<h2>{{ _('Results and Impact') }}</h2>
<p>
{{ _('The VGI data collected with the Sketch Map Tool sessions is to be
merged with institutional data (e. g. land use maps, census data, maps of
cultural sites) into a GIS platform, creating a web map that can be used to
develop new cultural and touristic initiatives as well as a better
governance of the problematic areas.') }}
</p>
<p>{{ _('Lesson learnt:') }}</p>
<ol>
<li>
{{ _('Adult mappers demonstrated greater skills in orienting themselves on
the map and geolocating landmarks, while the younger participants had more
difficulties in orienting themselves in space, but identified more
unconventional, subjectively relevant landmarks, showing interest in
different areas and characteristics of the landscape.') }}
</li>

<li>
{{ _('Community mapping clearly showed its potential to highlight some
aspects of the local resources and landmarks that are not present in the
official cartography, particularly in regard to places with a cultural or
subjective value.') }}
</li>
<li>
{{ _('Many community mappers can orientate themselves more easily on a
satellite map than on the OSM base maps. Since the Sketch Map Tool 1.0 was
used, which only supported OSM as base map, satellite maps were used along
OSM-based Sketch Maps to help with the orientation. Sketch Map Tool 2.0.
now allows to integrate satellite imagery directly in the base maps.') }}
</li>
</ol>
<p>{{ _(' ') }}</p>

<h6>{{ _('Sources') }}</h6>
<ol class="list-sources">
<li id="1">
{{ _('La media valle del fiume Fortore (Campobasso), un caso di
destrutturazione e ristrutturazione di un paesaggio d’acqua: variazioni
nell’uso del suolo come indicatore di cambiamento, 2021') }}
</li>
<li id="2">{{ _('Biodiversity – Enviromental Inforamtion Systems') }}</li>
<li id="3">{{ _('Millenium Ecosystem Assessment') }}</li>
<li id="4">{{ _('Data Analysis with QGIS – GIS Resource Training Center') }}</li>
</ol>
</main>
{% endblock body %}
Loading