- Thomas Gran, Entur, Norway
- Initial implementation to access Google Cloud Storage (read and write). (December 2019)
To enable this turn on the feature GoogleCloudStorage. OTP can load or store artifacts from one or
more Google Cloud Storge locations. Each artifact must be configured in the build-config.json:
See BuildConfig
on how to configure artifacts.
Example (build-config.json):
{
"gcsCredentials": "file:///Users/alf/secret/otp-test-1234567890.json",
"graph": "gs://otp-test-bucket/a/b/graph.obj",
"buildReportDir": "gs://otp-test-bucket/a/b/np-report",
"osm": [
{
"source": "gs://otp-test-bucket/a/b/northpole.pbf"
}
],
"dem": [
{
"source": "gs://otp-test-bucket/a/b/northpole.dem.tif"
}
],
"transitFeeds": [
{
"type": "gtfs",
"source": "gs://otp-test-bucket/a/b/gtfs.zip"
}
]
}