sdam-au / landscape-travel

Meditteranean-scale calculations of foot travel on dryland between Roman settlements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ease of Foot Travel Across the Roman Empire

ANALYSIS


Purpose

The LCP_Empire markdown script shows how to download SRTM raster data covering the extent of the Roman Empire, mosaic the tiles together and process the elevations to generate a conductance matrix with gdistance package functions. This matrix is a useful input for calculations of travel time between point coordinates in the raster, mimicking discrete source-destination travel by foot. The walking function can be altered to other travelling modes, howver the main intent is to model for terrestial travel between settled areas in the Roman Empire. In the exemplar, Hanson's list of cities is filtered for sites with estimated population over 1000 to generate time travel rasters, which can produce least cost paths accounting for terrain friction.


Authors

  • Adela Sobotkova , SDAM project, admin@ancientsocialcomplexity.org
  • [Name], [ORCID], [Institution], [email]
  • [Name], [ORCID], [Institution], [email]
  • [Name], [ORCID], [Institution], [email]

License

CC-BY-SA 4.0, see attached License.md

DOI

[Here will be DOI or some other identifier once we have it]

References

[Here will go related articles or other sources we will publish/create]


How to use this repository

Sources and prerequisites

The first example uses only a single SRTM tile and cities in Italy for calculations. A loop is provided to repeat analysis at this scale to deliberate part of the region. The full example downloads some 50 SRTM tiles, and takes a couple hours to run. The final distance calculations run for empire-wide urban footwalks takes days.

The LCP_Empire.Rmd was created and run on Ucloud, using a 192Gb RAM and unlimited storage. The final mosaiced raster has 158.4Mb and the conductance transition layer takes up 2.1 Gb of memory in R (928.9 Mb file storage). The conductance matrix is stored on sciencedata.dk > SDAM_data>landscape folder. Choose an adequately resourced machine or descale or alter the computational tasks. One can reduce the spatial extent - currently the southern boundary is deep in Sahara, which is counterproductive. One can also further aggregate the mosaiced raster by a factor of 10.

The scripts reply on R libraries of tidyverse, raster, sf, and gdistance. Depending on where the point data comes from, you may also need jsonlite and getPass or sdam library.

How to:

Data

Anything else on data metadata and data used. Link to data repository or explanatory article.

Software

  1. Software R, minimum version 4.03
  2. Software R Studio, version 1.3.1073

Instructions

[Describe first steps, how to use the current repository by a typical user - the digital historian with limited technical skills]

  1. First, work your way through LeastCostRaster_General.Rmd to follow the process step-by-step.
  2. Second, if you are ready to apply the batch-analysis to a region of your choice, you can run the LCPfunction.R with the calc.conductance and traveltotown functions and apply these functions to regions specified by lat/long directly. Beware that the traveltotown relies on localcity dataset to not be NULL.
  3. Third, go to ...

Screenshots

Example screenshot

About

Meditteranean-scale calculations of foot travel on dryland between Roman settlements

License:Creative Commons Attribution Share Alike 4.0 International


Languages

Language:R 100.0%