This repository contains the code used for making the app DigForWhat.
DigForWhat is an interactive app that lets you explore ancient findings in Denmark from the dataset Fund og Fortidsminder.
The app was created by Frida, Marie, and Gustav as a part of our exam in spatial analytics at Aarhus University.
Here is a guide for using the code in this repository on your local machine. All the code was produced and tested on an Ubunto operating system (Version: 18.04.5 LTS (Bionic Beaver))
In order to launch the app on your own computer please follow these steps:
Requirements:
- Clone this repository to your own computer
Please copy the code below into your terminal
git clone https://github.com/Guscode/DigForWhat.git
cd DigForWhat
- Add the 'Fund og Fortidsminder data
The data should be downloaded from here: fund og fortidsminder
Please download the shapefile with CRS WGS84 by selecting the following
- Geometritype: Punkter
- Format: ESRI Shapefile
- Referencesystem: Længde-bredde/WGS84
Afterwards, please download the version with CRS UTM 32N:
- Geometritype: Punkter
- Format: ESRI Shapefile
- Referencesystem: UTM 32N/ETRS89
When the data is downloaded, please unzip the file and place all files in the data folder
- Launch the app
Open digforwhat.r in rstudio and press run app.
If English version is needed, please select digforwhat_english.r instead.
In order to combat possible encoding errors caused by ÆÅØ, please run:
Sys.setlocale(category = "LC_ALL", locale = "UTF-8")
enjoy
- Clone this repository to your own computer
Please copy the code below into your terminal
git clone https://github.com/Guscode/DigForWhat.git
cd DigForWhat
- Add elevation raster
- Before the data kan be accessed, one needs to create a user on https://kortforsyningen.dk/indhold/min-side-0.
- To access the terrain elevation model of Denmark, a file transfer protocol folder is downloaded through ftp://ftp.kortforsyningen.dk/HIP/randbetingelser/oevrige/terraenmodel/
- The link will ask you to open in finder, where you can log in with your username and password.
Please place the files in the analyses folder
- Run analyses
In Rstudio open and run elevation.r and point_patterns.r
This project is licensed under the MIT License - see the LICENSE file for details.
For further questions, please get in touch with us here [email protected].