Assignment: Spatial Data Processing

This exercise will lead you through some of the most basic and important steps for spatial data processing.

Things you need for this worksheet

  • R — the interpreter can be installed on any operation system.
  • RStudio — we recommend to use R Studio for (interactive) programming with R.
  • Git environment for your operating system.
  • An internet connection for downloading raster and vector data (~5mb).

Spatial Data Processing

1) Create a map of your country of birth with the following features:

  • a raster background map showing elevation data,
  • a vector map showing the country boundary,
  • use the vector map to clip the raster map,
  • map point locations denoting the places of birth of the course participants in your country (if any), which you can enter here,
  • map the three largest cities of your country with different symbols, and
  • get bonus points by adding a legend, rivers, and other cartographic elements as well as
  • the distances of the places of birth to Marburg.

Use the code provided in the tutorial “Example: Workflow in R” from the previous page for this task. Save your R functions and Rmd file in your course repository, knitr it, update (i.e. commit) your local repository and publish (i.e. push) it to the GitHub classroom. Make sure that the created html file is also part of your GitHub repository and also include the text of each task prior to your solutions. Also make sure that the created map does not exceed 2mb file size.


You can leave comments under this issue if you have questions or comments about the content on this page. Please copy the corresponding line into your comment to make it easier to answer the question.