moveit

A road network for Late Antique Egypt, built with ♡ by LAD for PAThs

https://github.com/paths-erc/moveit

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.5%) to scientific vocabulary

Keywords

cartography d3 d3js egyptology gis javascript leaflet road-network
Last synced: 6 months ago · JSON representation ·

Repository

A road network for Late Antique Egypt, built with ♡ by LAD for PAThs

Basic Info
  • Host: GitHub
  • Owner: paths-erc
  • License: agpl-3.0
  • Language: JavaScript
  • Default Branch: master
  • Homepage: https://paths-erc.eu/moveit/
  • Size: 12.9 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 3
  • Open Issues: 0
  • Releases: 3
Topics
cartography d3 d3js egyptology gis javascript leaflet road-network
Created over 5 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation

README.md

MOvEIT

A road network for Late Antique Egypt by LAD & PAThs

MOvEIT is an open-access, collaborative road network that links the archaeological sites published in the Archaeological Atlas of Coptic Literature by PAThs.

Since the Atlas is being updated continually, so is this graph; therefore frequent changes in the next months/years might occur, as new sites are added to the Atlas.

Changes are triggered also by the adding of new connecetions between already known sites, due to advancement in studies or deeper analysis of the available sources. This document will try to keep record of these changes.

Credits

MOvEIT is a project developed by LAD: Digital Archaeology Lab at Sapienza for PAThs. The application has been developed by Julian Bogdani and the road graph has been built by Julian Bogdani and Paolo Rosati. The name MOvEIT has breen creatd by Domizia D'Erasmo.

How does it work

The application calculates the cost of movement from one site (i.e. node of the graph) to the another. The cost is calculated in terms of distance, i.e. the longer is the distance to cover, the higher is the cost of the movement. A second element is added to the calculation, based on the type of the road. A first proposal to differently weight paths assumes the following values as additional cost multiplier: - channel, rivers and sea routes: 0.8 - sea routes: 1 - coastal roads and internal valley roads: 1 - desert paths: 2

These parameters are coded in typeWeights.js. Feel free to change the muplitplying coefficients at your need.

Graphically view and calculate paths

The road graph is available as a Single-page application built using open-source libraries, such as: - Leaflet.js as a Web mapping library, - GeoJSON Path Finder as a tool for routing/path finding using GeoJSON as input.

The selection of starting and destination point for route calculations can be perfomed from drop-down menus or directly from the map, by clicking on each available point. The calculated path will be drawn on the map and a pop-up will also display information on the overall calculated distance.

Test the graph

To test the graph (and you should test if after each update and before each deploying) a specific piece of software has been built is available. You need to have available in your system in advance Node.js and Git.

To setup the environment follow these few steps, using a shell: - Clone the repository (if not already available in your local filesystem):
git clone https://github.com/paths-erc/moveit.git - Change directory to the newly downloaded folder:
cd moveit - Download ad install Node.js dependencies:
npm install - Run the test:
npm test

The test will, recursively, try to calculate paths from each available node (i.e. site, the list of the sites will be downloaded from PAThs central database) to each other available node and this procedure might take quite a long time (many hours). Errors will be printed in real time and also after the procedure finishes.

Enhance the graph

The road graph is available in this repository in the data directory where the graph.gpkg file is maintained. The Geopackage contains both the road graph and the QGIS project where alla data are already loaded. The project integrates also a model named export-road-graph that can be used to transform the road graph from the Geopackage format to GeoJSON, and performin few in-between transformations: - it converts multiplart to singlepart geometries, - then it explodes polylines to lines, - and finally saves the output as GeoJSON (edit the destination path to meet your needs).

The final GeoJSON file must be saved as src/geojson/arcs.geojson.

Before pubblication, testing the newly created graph is strongly encouraged (se above).

Finally, data are ready to be built and deployed. A local preview of the application can be run locally by typing: npm run serve and the final build can be run by typing npm run pack. node_modules and src folders are necessary only for development and you do not need to upload them on the production server.

Structure of the graph

Each connection between two points of the graph – i.e. each arc – is represented by a polyline. Each feature is associated by the following information: - name: name of the road or of the channel, if known - source: source of the information, it might be PAThs, AWMC or Satellite - operator: name of the person who digitized the feature - date: digitization date - type: type of the feature. It might be a channel, a coast road, a desert path, a river connection, a sea connection or null.

Future development

Other elements can be added to the calculation of the cost, such as the slope analysis and the presence of objective difficulties in the itinerary, such as water streams. These ‘penalties’ might be weighted as positive costs, while the presence of bridges might be considered as a negative cost. Obstacles and facilities might be added by a variety of sources, such as historical cartography or literary and archaeological sources.

Finally, some development will be done in the next weeks towards a higher degree of abstraction of the entire application, making it possible to use it with another road-graph. Some work is being done in documenting the graph production steps, in order to facilitate the reuse of this code for totally different contexts.

Zenodo

MOvEIT is deposited for long term preservation in Zenodo

DOI

Owner

  • Name: PAThs - Tracking Papyrus and Parchment Paths: An Archaeological Atlas of Coptic Literature. Literary Texts in their Geographical Context: Production, Copying, Usage, Dissemination and Storage
  • Login: paths-erc
  • Kind: organization
  • Email: julian.bogdani@uniroma1.it
  • Location: Rome

An ERC granted project (Advanced Grant 2015 #687567), aimed to provide a diachronical representation of the geography of Coptic literary production

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Bogdani
    given-names: Julian
    orcid: https://orcid.org/0000-0001-5250-927X
title: "MOvEIT"
version: 1.3.0
doi: "10.5281/zenodo.5718449"
date-released: 2021-11-22
license: "AGPL-3.0"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 54
  • Total Committers: 1
  • Avg Commits per committer: 54.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Julian Bogdani j****i@g****m 54

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • jbogdani (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

package-lock.json npm
  • 498 dependencies
package.json npm
  • browser-sync ^2.27.10 development
  • browserify ^17.0.0 development
  • geojson-length ^0.1.1 development
  • geojson-path-finder ^1.5.2 development
  • i ^0.3.7 development
  • leaflet ^1.8.0 development
  • node-fetch ^3.2.4 development
  • npm ^8.11.0 development
  • uglify-js ^3.15.5 development
  • watchify ^4.0.0 development