Skip to content

Commit

Permalink
ci: change tile format to .pmtiles
Browse files Browse the repository at this point in the history
  • Loading branch information
moldhouse committed Mar 5, 2024
1 parent 08825a2 commit 0a37063
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/upload_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ jobs:
- name: Bake tiles
run: |
tippecanoe -Z3 -z14 -f -r1 -pk -pf -y id -y openaip_id -y name -y reign -y elevation -y runway_rotation -y lng -y lat -J airport_filter.json -o airport.mbtiles airport.geojson
- name: Copy mbtiles to S3
tippecanoe -Z3 -z14 -f -r1 -pk -pf -y id -y openaip_id -y name -y reign -y elevation -y runway_rotation -y lng -y lat -J airport_filter.json -o airport.pmtiles airport.geojson
- name: Copy pmtiles to S3
env:
AWS_S3_TILE_BUCKET: ${{ secrets.AWS_S3_TILE_BUCKET }}
run: |
aws s3 cp airport.mbtiles s3://$AWS_S3_TILE_BUCKET/airport.mbtiles
aws s3 cp airport.pmtiles s3://$AWS_S3_TILE_BUCKET/airport.pmtiles

0 comments on commit 0a37063

Please sign in to comment.