Skip to content

Commit b12e7c3

Browse files
authored
Merge pull request #427 from HSLdevcom/DT-6253
DT-6253 Use smaller OSM extracts for waltti, varely and waltti-alt
2 parents b3c5890 + a0d212c commit b12e7c3

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

config.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const routers = {
9595
mapSrc('Salo', 'https://tvv.fra1.digitaloceanspaces.com/239.zip', true),
9696
mapSrc('Kajaani', 'https://tvv.fra1.digitaloceanspaces.com/211.zip', true),
9797
],
98-
osm: ['finland'],
98+
osm: ['kajaani', 'oulu', 'pori', 'rovaniemi', 'southeastFinland', 'southwestFinland', 'vaasa'],
9999
dem: 'waltti'
100100
},
101101

@@ -104,7 +104,7 @@ const routers = {
104104
src: [
105105
mapSrc('WalttiTest', 'http://digitransit-proxy:8080/out/lmjadmin.mattersoft.fi/feeds/229.zip', true),
106106
],
107-
osm: ['finland']
107+
osm: ['oulu']
108108
},
109109

110110
varely: {
@@ -116,7 +116,7 @@ const routers = {
116116
mapSrc('Salo', 'https://tvv.fra1.digitaloceanspaces.com/239.zip', true),
117117
mapSrc('Pori', 'https://tvv.fra1.digitaloceanspaces.com/231.zip', true)
118118
],
119-
osm: ['finland']
119+
osm: ['varely']
120120
},
121121

122122
kela: {
@@ -175,9 +175,17 @@ router.src.forEach(src => { gtfsMap[src.id] = src })
175175
const extraOSM = process.env.EXTRA_OSM !== undefined ? JSON.parse(process.env.EXTRA_OSM) : {}
176176

177177
const osm = {
178+
estonia: 'https://download.geofabrik.de/europe/estonia-latest.osm.pbf',
178179
finland: 'https://karttapalvelu.storage.hsldev.com/finland.osm/finland.osm.pbf',
179180
hsl: 'https://karttapalvelu.storage.hsldev.com/hsl.osm/hsl.osm.pbf',
180-
estonia: 'https://download.geofabrik.de/europe/estonia-latest.osm.pbf',
181+
kajaani: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/kajaani.osm.pbf',
182+
oulu: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/oulu.osm.pbf',
183+
pori: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/pori.osm.pbf',
184+
rovaniemi: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/rovaniemi.osm.pbf',
185+
southeastFinland: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/southeast_finland.osm.pbf',
186+
southwestFinland: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/southwest_finland.osm.pbf',
187+
vaasa: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/vaasa.osm.pbf',
188+
varely: 'https://karttapalvelu.storage.hsldev.com/finland.osm/varely.osm.pbf',
181189
...extraOSM
182190
}
183191

0 commit comments

Comments
 (0)