forked from systemed/tilemaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 1014 Bytes
/
action.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
name: 'tilemaker'
description: 'Make OpenStreetMap vector tiles without the stack'
inputs:
input:
description: 'An .osm.pbf file from planet extract, as typically downloaded from providers like Geofabrik'
required: true
config:
description: 'A JSON file listing each layer, and the zoom levels at which to apply it'
required: false
default: '/resources/config-openmaptiles.json'
process:
description: "A Lua program that looks at each node/way's tags, and places it into layers accordingly"
required: false
default: '/resources/process-openmaptiles.lua'
output:
description: 'Could be directory of tiles, or a .mbtiles files'
required: true
extra:
description: 'Other options for tilemaker'
required: false
default: '--verbose'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- --input=${{ inputs.input }}
- --config=${{ inputs.config }}
- --process=${{ inputs.process }}
- --output=${{ inputs.output }}
- ${{ inputs.extra }}