30 lines
698 B
YAML
30 lines
698 B
YAML
|
name: 'Generate shapes from OSM data'
|
||
|
description: 'Use pfaedle to generate shapes from OSM data for a GTFS feed.'
|
||
|
|
||
|
inputs:
|
||
|
gtfs_file:
|
||
|
description: 'Path to GTFS .zip file.'
|
||
|
required: true
|
||
|
osm_file:
|
||
|
description: 'Path to OSM .pbf file.'
|
||
|
required: true
|
||
|
mot:
|
||
|
description: 'Mode of transport to generate shapes for.'
|
||
|
required: false
|
||
|
default: 'all'
|
||
|
output_file:
|
||
|
description: 'Path to output GTFS .zip file.'
|
||
|
required: true
|
||
|
|
||
|
runs:
|
||
|
using: 'docker'
|
||
|
image: 'Dockerfile'
|
||
|
args:
|
||
|
- '-i'
|
||
|
- ${{ inputs.gtfs_file }}
|
||
|
- '-x'
|
||
|
- ${{ inputs.osm_file }}
|
||
|
- '-m'
|
||
|
- ${{ inputs.mot }}
|
||
|
- '-o'
|
||
|
- ${{ inputs.output_file }}
|