Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec committed Apr 9, 2024
2 parents 7a6cac3 + 50c4afa commit e871fab
Show file tree
Hide file tree
Showing 11 changed files with 94 additions and 67 deletions.
10 changes: 5 additions & 5 deletions content/Modul_2/en_data_sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ licensing and to follow the respective regulations to avoid difficulties.
| OpenAerialMap | Crowdsourced drone imagery | https://map.openaerialmap.org/ |
| USGS Earth Explorer | Satellite data from multiple sources, including Landsat and Sentinel | https://earthexplorer.usgs.gov/ |
| NASA Shuttle Radar Topography Mission (SRTM) | Global elevation data | http://srtm.csi.cgiar.org/srtmdata/ |
| Earth Observe | digital elevation model on a global scale |https://earthexplorer.usgs.gov/ |
| Earth Observe | Digital elevation model on a global scale |https://earthexplorer.usgs.gov/ |
| Copernicus | Earth observation data | https://scihub.copernicus.eu/ |
| GlobCover | Raster data on land cover | http://due.esrin.esa.int/page_globcover.php |

Expand All @@ -104,10 +104,10 @@ licensing and to follow the respective regulations to avoid difficulties.

OpenStreetMap (OSM) is a collaborative project that aims to create a free and editable map of the world. Unlike traditional maps, which are often proprietary and controlled by commercial entities, OSM allows anyone to contribute and edit map data, resulting in a detailed and constantly evolving map of roads, trails, landmarks, and more. With its open-source nature and global community of contributors, OpenStreetMap has become a valuable resource for a wide range of applications, from navigation and urban planning to disaster response and humanitarian aid.

There a multiple ways to get OpenStreetMap (OSM) data as a vector file into QGIS. The three most common and easy-to-use ways are geofarbik.de, HOT Export Tool and QickOSM. Echa oft he options hass trog advanteges and disatvanteges.
There a multiple ways to get OpenStreetMap (OSM) data as a vector file into QGIS. The three most common and easy-to-use ways are geofarbik.de, HOT Export Tool and QuickOSM. Each of the options has both advantages and disadvantages.

```{Note}
In the exercise OpenStreetMap data export all three options are explored.
In the exercise "OpenStreetMap data export" all three options are explored.
```

<!---ADD: Insert link to OSM exercise -->
Expand Down Expand Up @@ -165,7 +165,7 @@ To work efficiently with QuickOSM, it's essential to have a basic understanding
* Firstly, all data in OSM is organized using a key and value system. A combination of a key and its corresponding value is referred to as a __tag__.
For instance, consider the key 'amenity.' According to the OSMWiki, *"'amenity=*' describes useful facilities such as toilets, telephones, banks, pharmacies, prisons, and schools."*.
Notably, a key can have multiple values, with 'amenity' alone having 8911 different values. Typical examples of values for amenities include schools and hospitals.
When searching for data on OSM, it's crucial to identify the relevant keys and values representing the desired features. Useful resources for this purpose include T[taginfo](https://taginfo.openstreetmap.org) and the OSM Wiki article about [Map features](https://wiki.openstreetmap.org/wiki/Map_features).
When searching for data on OSM, it's crucial to identify the relevant keys and values representing the desired features. Useful resources for this purpose include [taginfo](https://taginfo.openstreetmap.org) and the OSM Wiki article about [Map features](https://wiki.openstreetmap.org/wiki/Map_features).

* Secondly, a feature in OSM can have multiple tags, each comprising a key and its corresponding value. This means that sometimes, multiple key-value pairs are required to retrieve all the desired data.
For example, let's consider hospitals. While all hospitals should ideally have the tags 'amenity=hospital' and 'Health=Hospital,' some may only have one of these tags. To ensure comprehensive data retrieval, it's advisable to use both tags when searching for hospitals.
Expand Down Expand Up @@ -208,7 +208,7 @@ Running the QuickOSM plugin.
:::{dropdown} How to fetch data for multiple queries

If you want to get more data in the same area, you can add a query by clicking
on the ![](fig/plus_quickosm.png). Be careful choosing the right logical operator
on the ![](/fig/plus_quickosm.png). Be careful choosing the right logical operator
`And` or `Or`. If you are unsure check the page [non-spatial queries](/content/Wiki/en_qgis_non_spatial_queries_wiki)
on the wiki. There is an example of this in the Module 2 [OSM exercise](https://giscience.github.io/gis-training-resource-center/content/Modul_2/en_qgis_data_sources_ex2.html#task-quickosm)

Expand Down
4 changes: 2 additions & 2 deletions content/Modul_2/en_qgis_attribute_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ to select features is via the attribute table.
* __Show only selected features:__ In the bottom left of the attribute table open
the dropdown menu and select `Show selected features`. To show again all
features click on `Show all features`.
* __Only show unselected features__ Select features and click on ![](/fig/mActionInvertSelection.png)
* __Only show unselected features:__ Select features and click on ![](/fig/mActionInvertSelection.png)

:::{dropdown} Video: Manually select features in the attribute table
<video width="100%" controls muted src="https://github.com/GIScience/gis-training-resource-center/raw/main/fig/qgis_attribute_table_select.mp4"></video>
Expand Down Expand Up @@ -193,4 +193,4 @@ align: center
name: Save selection, right-click.
---
Screenshot of how to save only selected features.
```
```
6 changes: 3 additions & 3 deletions content/Modul_2/en_qgis_basic_data_processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ HeiGIT is fine

Naming your data correctly ensures that you can identify the layers and your computer does not run into any issues
when working with your data files. The name of your files themselves need to be clear, meaning that you or others
can identfify what the data shows, where the data comes from, and to what time it refers. In QGIS, you should name
can identify what the data shows, where the data comes from, and to what time it refers. In QGIS, you should name
your layers so you can identify the content, as well as what you have done with the layer. For example, if you have
clipped a street layer of new york, do not name the layer "clipped", give it a name such as "streets_NYC_clipped".

Expand Down Expand Up @@ -123,7 +123,7 @@ the datasets you want to load.
4. Back in QGIS click `Add`

```{Attention}
QGIS only let's you import __unzipped__ shapefiles. Make sure to unzip your data files before importing them into QGIS.
QGIS only lets you import __unzipped__ shapefiles. Make sure to unzip your data files before importing them into QGIS.
```

:::{dropdown} Video: Importing vector data via the Data Source Manager
Expand All @@ -132,7 +132,7 @@ QGIS only let's you import __unzipped__ shapefiles. Make sure to unzip your data

#### Open vector data via drag-and-drop

QGIS let's you open data in your QGIS-project by simply dragging the files from your file browser onto your QGIS window. Shapefiles contain only 1 layer per `.shp`-files, which will be added automatically into you layer-panel. Geopackage files (`.gpk`) can contain multiple layers in a single file. If you add a geopackage file, a new window will open where you will be prompted to select the layers you want to add to your project.
QGIS lets you open data in your QGIS-project by simply dragging the files from your file browser onto your QGIS window. Shapefiles contain only 1 layer per `.shp`-files, which will be added automatically into you layer-panel. Geopackage files (`.gpk`) can contain multiple layers in a single file. If you add a geopackage file, a new window will open where you will be prompted to select the layers you want to add to your project.

:::{dropdown} Video: Importing vector data via drag-and-drop
<video width="100%" controls src="https://github.com/GIScience/gis-training-resource-center/raw/main/fig/qgis_import_vector_d_d.mp4"></video>
Expand Down
22 changes: 11 additions & 11 deletions content/Modul_2/en_qgis_geodata_concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Raster data can have the following data formats:
| Filename extension| Name | Dscription |
| ----- | --- | --- |
|.tif/.tiff/.geotiff|Tag Image File Format|Common raster and image data format. Does not necessarily have georeferenced data. If a .tif file is georeferenced it is referred to as GeoTIFF.|
|.nc|netCDF|Standard data format for scientific data like speed or temperature. Can be be a raster file. Can contain multiple datasets|
|.nc|netCDF|Standard data format for scientific data like speed or temperature. Can be a raster file. Can contain multiple datasets|
|.asc|Esri ASCII Grid files|Old, simple raster file format, always with georeferenced data|

----
Expand All @@ -186,12 +186,12 @@ GIS-software helps us visualise geographic data. It does so by displaying the ge
canvas. However, when creating a map, we are using multiple datasets at once. Every type of geographic data, such
as raster data, polygons, points, or lines, is usually stored inside a __layer__. Each layer consists of geographic
objects of the same type (line, polygon, raster, ...). GIS-software displays these layers on top of each other and
let's you rearrange the order of these layer, in order to create insightful maps. [^1]
lets you rearrange the order of these layer, in order to create insightful maps. [^1]

[^1]: https://cartong.pages.gitlab.cartong.org/learning-corner/en/3_key_gis_concepts/3_3_key_concepts/3_3_1_layers

By adding different layers, you build your map and can combine information from
different sources. With those you then can perform analyses or adapt the
different sources. With those, you can then perform analyses or adapt the
representation by using symbols and colors.

```{figure} /fig/en_layer.png
Expand Down Expand Up @@ -228,12 +228,12 @@ between two points correctly.

<iframe width="560" height="315" src="https://www.youtube.com/embed/kIID5FDi2JQ?si=C0tYz7nteMF_xqvr" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

Every projection has it use case. For example, the Mercator projection displays the angles between to points
Every projection has its use case. For example, the Mercator projection displays the angles between to points
correctly. This was used extensively during the seafaring age without satellites, as ships could navigate to a
destination by following a straight line on a map. For example, the Mercator projection displays road intersections
correctly: a road that crosses another road at a right angle, will be displayed as such on a mercator projection.
This is especially useful when navigating. The shape of an area remains correct, since the angles between each line
stays true. However, if you increase the scale of the map, the size and distances get distorted dramatically (see
stay true. However, if you increase the scale of the map, the size and distances get distorted dramatically (see
figure below). Furthermore, the further away from the equator you get, the more distortion you get. You can check
the true size in comparison to different placements on the map on [TheTrueSize.com website](https://www.thetruesize.com). A
popular example is Greenland in comparison with Africa, which seem on the map to be about the same size, but in
Expand Down Expand Up @@ -261,11 +261,11 @@ In the dropdown below, you can look at the size distortion of mercator yourself.
### How to choose an appropriate projected coordinate system

In GIS, we project the earth onto a flat coordinate system (hence the name coordinate reference system or CRS).
It is crucial that you are aware that you data can be in one CRS and your QGIS
project in an other CRS. The data and the project should always be the same, or
It is crucial that you are aware that your data can be in one CRS and your QGIS
project in another CRS. The data and the project should always be the same, or
else you will get wrong results! The project CRS is displayed on the bottom right
corner of the [QGIS interface](https://giscience.github.io/gis-training-resource-center/content/Modul_1/en_qgis_start.html#overview-of-qgis-interface).
To change the CRS of you data and project, follow the steps explained below.
To change the CRS of your data and project, follow the steps explained below.
The default CRS/EPSG code of every QGIS project is the World Geodetic System 84
(EPSG: 4326). This CRS is optimized for world maps. So not perfect for most
applications, because we mostly use maps for small areas.
Expand Down Expand Up @@ -309,7 +309,7 @@ or even smaller regions, __you should always use a local CRS, to avoid inaccurac
```

1. Open a QGIS project
2. In the very down right corner of QGIS you find the butten `EPSG`. The number
2. In the very down right corner of QGIS you find the button `EPSG`. The number
next to it is the EPSG Code currently used in the project. To see more information, or to change the CRS, click on the `Current CRS`-button ![](/fig/EPSG_Code.png).
3. The window `Project Properties` will open. Here you can view all availble
CRS/EPSG-Code and their properties.
Expand All @@ -322,10 +322,10 @@ CRS/EPSG-Code and their properties.

### Project CRS and Layer CRS

The Coordinate reference system of your QGIS project determines how QGIS displays the information. However, layers
The coordinate reference system of your QGIS project determines how QGIS displays the information. However, layers
and datasets have their own CRS. This can be seen in the metadata, or layer properties of the dataset. The layer
CRS refers to the coordinate system of the features or items in the dataset. The same coordinates in two different
coordinate reference system do not refer to the same location on earth. This is because of the distortion of
coordinate reference systems do not refer to the same location on earth. This is because of the distortion of
distance and area.

```{note}
Expand Down

0 comments on commit e871fab

Please sign in to comment.