Skip to content

Commit

Permalink
Merge pull request #427 from HSLdevcom/DT-6253
Browse files Browse the repository at this point in the history
DT-6253 Use smaller OSM extracts for waltti, varely and waltti-alt
  • Loading branch information
vesameskanen authored Dec 9, 2024
2 parents b3c5890 + a0d212c commit b12e7c3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const routers = {
mapSrc('Salo', 'https://tvv.fra1.digitaloceanspaces.com/239.zip', true),
mapSrc('Kajaani', 'https://tvv.fra1.digitaloceanspaces.com/211.zip', true),
],
osm: ['finland'],
osm: ['kajaani', 'oulu', 'pori', 'rovaniemi', 'southeastFinland', 'southwestFinland', 'vaasa'],
dem: 'waltti'
},

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

varely: {
Expand All @@ -116,7 +116,7 @@ const routers = {
mapSrc('Salo', 'https://tvv.fra1.digitaloceanspaces.com/239.zip', true),
mapSrc('Pori', 'https://tvv.fra1.digitaloceanspaces.com/231.zip', true)
],
osm: ['finland']
osm: ['varely']
},

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

const osm = {
estonia: 'https://download.geofabrik.de/europe/estonia-latest.osm.pbf',
finland: 'https://karttapalvelu.storage.hsldev.com/finland.osm/finland.osm.pbf',
hsl: 'https://karttapalvelu.storage.hsldev.com/hsl.osm/hsl.osm.pbf',
estonia: 'https://download.geofabrik.de/europe/estonia-latest.osm.pbf',
kajaani: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/kajaani.osm.pbf',
oulu: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/oulu.osm.pbf',
pori: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/pori.osm.pbf',
rovaniemi: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/rovaniemi.osm.pbf',
southeastFinland: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/southeast_finland.osm.pbf',
southwestFinland: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/southwest_finland.osm.pbf',
vaasa: 'https://karttapalvelu.storage.hsldev.com/waltti.osm/vaasa.osm.pbf',
varely: 'https://karttapalvelu.storage.hsldev.com/finland.osm/varely.osm.pbf',
...extraOSM
}

Expand Down

0 comments on commit b12e7c3

Please sign in to comment.