-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-data.yml
96 lines (85 loc) · 2.08 KB
/
build-data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: '3.9'
name: ${BUILD_NAME:?}
services:
# Application image for `osmium-tool`
# https://osmcode.org/osmium-tool/
osmium-tool:
build:
context: ./osmium-tool
args:
- IMAGE_DEBIAN=${IMAGE_DEBIAN:?}
#
# DATA SOURCES
#
# Download GTFS zip file.
gtfs-data:
build:
context: ./gtfs-data
args:
- IMAGE_ALPINE=${IMAGE_ALPINE:?}
- GTFS_URL=${GTFS_URL:?}
- GTFS_CREDITS=${GTFS_CREDITS:?}
# Modify GTFS data.
gtfs-modified:
build:
context: ${DOCKERFILE_GTFS_MODIFICATIONS:?}
args:
- BUILD_NAME=${BUILD_NAME:?}
# If .env variable is empty, this build step is skipped. Thus no `:?`.
- GTFS_MODIFICATION_PARAM=${GTFS_MODIFICATION_PARAM}
# Filter GTFS data to bounding box.
gtfs-filtered:
build:
context: ./gtfs-filter
args:
- BUILD_NAME=${BUILD_NAME:?}
- IMAGE_R_BASE=${IMAGE_R_BASE:?}
- MIN_LON=${MIN_LON:?}
- MAX_LON=${MAX_LON:?}
- MIN_LAT=${MIN_LAT:?}
- MAX_LAT=${MAX_LAT:?}
# Download OSM data.
osm-data:
build:
context: ./osm-data
args:
- IMAGE_ALPINE=${IMAGE_ALPINE:?}
- OSM_PBF_URL=${OSM_PBF_URL:?}
# Filter OSM data to bounding box.
osm-excerpt:
build:
context: ./osm-excerpt
args:
- BUILD_NAME=${BUILD_NAME:?}
- MIN_LON=${MIN_LON:?}
- MAX_LON=${MAX_LON:?}
- MIN_LAT=${MIN_LAT:?}
- MAX_LAT=${MAX_LAT:?}
# Filter OSM by tags/content.
osm-filtered:
build:
context: ./osm-filter
args:
- BUILD_NAME=${BUILD_NAME:?}
- OTP_OSM_TAGS=${OTP_OSM_TAGS:?}
# Download DEM data.
dem-data:
build:
context: ${DOCKERFILE_DEM_DATA:?}
args:
- MIN_LON=${MIN_LON:?}
- MAX_LON=${MAX_LON:?}
- MIN_LAT=${MIN_LAT:?}
- MAX_LAT=${MAX_LAT:?}
# Merge DEM data.
dem-merged:
build:
context: ./dem-merge
args:
- BUILD_NAME=${BUILD_NAME:?}
# Credits.
credits:
build:
context: ./credits
args:
- BUILD_NAME=${BUILD_NAME:?}