henrythasler / cloud-tileserver

Serve mapbox vectortiles via AWS stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud-Tileserver

Build Status Coverage Status Quality Gate Status CodeQL Known Vulnerabilities

Serve mapbox vectortiles via AWS stack. Please visit the Wiki for installation instructions.

Goals

These are the main project goals:

[x] Setup the AWS infrastructure with terraform
[x] Create an AWS lambda function to handle vectortile queries via REST
[x] Create mapbox vectortiles directly with postgis using ST_AsMvtGeom() and ST_AsMVT()
[x] Write a parser to read config-files that define the vectortiles layout
[x] Create fully automated deployment pipeline.
[x] Use some caching mechanism for vectortiles
[x] Use Typescript and typed interfaces where possible
[x] Have module tests with tsjest/chai
[ ] Generate useful documentation with typedocs
[ ] Learn more about AWS, terraform and typescript
[ ] Use free-tier if possible.
[x] Have fun

Checked items are already fulfilled.

Overall Architecture

  1. Client requests tile from CloudFront/S3 .
  2. Missing tiles are created via API Gateway and Lambda.

A more detailled description can be found in DEVELOPMENT.md

Screenshots, Live Demo

The Live-Demo is available at: cyclemap.link

About

Serve mapbox vectortiles via AWS stack

License:MIT License


Languages

Language:TypeScript 38.8%Language:HTML 33.8%Language:JavaScript 20.3%Language:HCL 6.8%Language:Shell 0.3%