changed directory structure, first move to Makefile
This commit is contained in:
parent
46d41b4ea1
commit
bf056e6375
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,9 +1,3 @@
|
|||||||
data/TOPS/*
|
|
||||||
basemaps/*
|
|
||||||
figures/school_maps/*
|
|
||||||
figures/municipalities/*
|
|
||||||
api_keys/*
|
|
||||||
basemaps/*
|
|
||||||
.Rproj.user
|
.Rproj.user
|
||||||
.Rhistory
|
.Rhistory
|
||||||
other/districts_done.csv
|
districts_done.csv
|
||||||
|
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
osrm: osrm-data osrm-containers
|
||||||
|
|
||||||
|
crashmaps_pdf: route_analysis.Rmd
|
||||||
|
R -e 'library("rmarkdown"); old_path <- Sys.getenv("PATH"); Sys.setenv(PATH = paste(old_path, "/usr/local/bin", sep = ":")); rmarkdown::render(knit_root_dir = "./", output_dir = "./html", input = "./R/route_analysis.Rmd", output_file = "./html/route_analysis.html")'
|
||||||
|
|
||||||
|
crashmaps_dynamic: cycle_brouter
|
||||||
|
|
||||||
|
osrm-data:
|
||||||
|
cd ./docker/osrm/; wget https://download.geofabrik.de/north-america/us/wisconsin-latest.osm.pbf -O ./data-raw/wisconsin-latest.osm.pbf
|
||||||
|
cd ./docker/osrm/; docker run --rm -t -v "./data-foot:/data" -v "./data-raw/wisconsin-latest.osm.pbf:/data/wisconsin-latest.osm.pbf" osrm/osrm-backend osrm-extract -p /opt/foot.lua /data/wisconsin-latest.osm.pbf
|
||||||
|
cd ./docker/osrm/; docker run --rm -t -v "./data-foot:/data" -v "./data-raw/wisconsin-latest.osm.pbf:/data/wisconsin-latest.osm.pbf" osrm/osrm-backend osrm-partition /data/wisconsin-latest.osrm
|
||||||
|
cd ./docker/osrm/; docker run --rm -t -v "./data-foot:/data" -v "./data-raw/wisconsin-latest.osm.pbf:/data/wisconsin-latest.osm.pbf" osrm/osrm-backend osrm-customize /data/wisconsin-latest.osrm
|
||||||
|
|
||||||
|
osrm-containers: ./docker/osrm/docker-compose.yml
|
||||||
|
cd ./docker/osrm/; docker compose up -d
|
4
api_keys/.gitignore
vendored
Normal file
4
api_keys/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
4
basemaps/.gitignore
vendored
Normal file
4
basemaps/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
4
data/.gitignore
vendored
Normal file
4
data/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
Binary file not shown.
4
data_summaries/.gitignore
vendored
Normal file
4
data_summaries/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
7
docker/.gitignore
vendored
Normal file
7
docker/.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
||||||
|
!docker-compose.yml
|
||||||
|
!data-raw/
|
||||||
|
!data-foot/
|
4
figures/.gitignore
vendored
Normal file
4
figures/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
4
html/.gitignore
vendored
Normal file
4
html/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 288 B |
Loading…
x
Reference in New Issue
Block a user