[1] "sf" "data.frame"
Today’s agenda includes:
To download QGIS go to: https://qgis.org/en/site/
Click “Download Now”
Then choose QGIS for MacOS or Windows depending on your operating system
Note that this is a large file (approx. 1.7 GB)
Installed program will be 3 GB
Let us examine a historical case.
The Republic of Serbian Krajina was a territory within the independent Republic of Croatia.
It was active during the Croatian War of Independence (1991–95).
The RSK government waged a war for ethnic Serb independence from Croatia.
This information is from:
https://en.wikipedia.org/wiki/Republic_of_Serbian_Krajina
The picture itself is available at:
https://upload.wikimedia.org/wikipedia/commons/6/61/Map_of_Republika_Srpska_Krajina.png
We will thus try to georeference this map
Georeferencing - the process of taking a digital image (airphoto, a scanned geologic map, or a picture of a topographic map), and adding geographic information to the image
The goal is that a GIS or mapping software can ‘place’ the image in its appropriate real world location.
Now we would like to create a polygon out of the red area
This is what our data looks like:
Simple feature collection with 2 features and 1 field
Geometry type: POLYGON
Dimension: XY
Bounding box: xmin: 15.28861 ymin: 43.73483 xmax: 19.4268 ymax: 45.88013
Geodetic CRS: WGS 84
# A tibble: 2 × 2
id geometry
<dbl> <POLYGON [°]>
1 1 ((15.42635 45.33129, 15.39042 45.09504, 15.40239 45.23016, 15.40239 45.…
2 1 ((18.42669 45.73402, 18.37878 45.68802, 18.37878 45.68802, 18.37878 45.…
As you might imagine, we can use multiple maps at the same time to create shapefiles
As you might imagine, we can use multiple maps at the same time to create shapefiles
We have learned how to make shapefiles and how to georeference maps
QGIS is a free software that allows us to digitize maps.
The shapefiles that we create can be later loaded onto R and used for spatial analysis
Popescu (JCU): Georefrencing Maps and Creating Shapefiles