Commit Graph

293 Commits

Author SHA1 Message Date
Brandon Liu
bf813a75e9 lambda: better error reporting for misconfiguration 2022-08-02 19:55:21 -07:00
Brandon Liu
5d841713ba Update README.md 2022-08-02 19:22:17 -07:00
Brandon Liu
5ea9927089 Update README.md 2022-07-30 11:45:10 +08:00
Brandon Liu
38f59f209d Update README.md 2022-07-30 11:41:45 +08:00
Brandon Liu
5787962dcf Update README.md 2022-07-30 11:39:42 +08:00
Brandon Liu
0aae8344fc add basic header-only c++ writer implementation (hardcoded leaf level) 2022-07-30 11:28:10 +08:00
Brandon Liu
e6dcfd40c4 Merge pull request #61 from migurski/patch-2
Moved CORS headers up to include non-200 responses
2022-07-29 22:22:20 +08:00
Michal Migurski
c4f5a8f8bc 204 responses also need CORS headers 2022-07-28 17:16:42 -07:00
Michal Migurski
354477ae02 Moved CORS headers up to include non-200 responses 2022-07-28 14:19:49 -07:00
Brandon Liu
0557f0e23c lambda function CORS controlled by environment variable 2022-07-28 12:37:50 +08:00
Brandon Liu
62180fa1c7 Merge pull request #60 from migurski/patch-1
Add CORS response header
2022-07-28 12:27:05 +08:00
Brandon Liu
3279d7a867 Update README.md 2022-07-28 12:22:34 +08:00
Brandon Liu
74a0abd1f7 Update README.md 2022-07-28 12:22:14 +08:00
Brandon Liu
6f2498b7d8 fix CI 2022-07-28 12:18:13 +08:00
Brandon Liu
95bdb57dce build serverless packages as part of gh-pages CI 2022-07-28 12:14:32 +08:00
Michal Migurski
f944b6f1c9 Add CORS response header 2022-07-27 11:15:16 -07:00
Brandon Liu
c161c01322 AWS: special case API gateway to always return gzipped data to avoid binary/base64 unwanted behavior. 2022-07-27 00:37:12 +08:00
Brandon Liu
87c47a23fb Update README.md 2022-07-23 13:01:17 +08:00
Brandon Liu
02ac315df6 change API gateway path param to 'proxy' 2022-07-22 00:33:37 +08:00
Brandon Liu
e173ca76f6 Update README.md 2022-07-21 23:44:14 +08:00
Brandon Liu
ae986bbed5 lambda + API Gateway proper path integration; fix exceptions when archive missing 2022-07-21 23:41:44 +08:00
Brandon Liu
f1efba0a6f python library: 2.1.0 2022-07-21 20:15:10 +08:00
Brandon Liu
a6a0683947 detailed error handling for cloudflare worker 2022-07-21 18:52:05 +08:00
Brandon Liu
fc5e366bd2 cloudflare worker supports PMTILES_PATH 2022-07-21 18:52:05 +08:00
Brandon Liu
d482611910 Update README.md 2022-07-21 10:40:23 +08:00
Brandon Liu
95b1f90a04 Revert "cloudflare worker: cache holds promises instead of buffers"
see errors related to "The script will never generate a response."

This reverts commit e0402ded7f.
2022-07-21 10:23:13 +08:00
Brandon Liu
1db1836365 Merge pull request #57 from protomaps/testsuite
improvements to CI test suite
2022-07-20 16:40:27 +08:00
Brandon Liu
be57f1f61d improvements to CI test suite 2022-07-20 16:38:36 +08:00
Brandon Liu
7db048b28c Create README.md 2022-07-20 14:49:34 +08:00
Brandon Liu
bde4a2f75c cloudflare worker: gzip compression support 2022-07-20 13:07:16 +08:00
Brandon Liu
e0402ded7f cloudflare worker: cache holds promises instead of buffers 2022-07-20 13:07:02 +08:00
Brandon Liu
dc85fc60c2 add initial implementation of cloudflare worker 2022-07-19 20:35:05 +08:00
Brandon Liu
3a77103373 move location of cloudflare typedefs 2022-07-19 20:27:40 +08:00
Brandon Liu
983c76e08d copy cloudflare workers type declarations 2022-07-19 11:42:28 +08:00
Brandon Liu
8de8a87e06 Merge pull request #55 from bayre/patch-1
Adopt Reader, MmapSource in pmtiles_to_dir
2022-07-19 00:53:14 +08:00
Brandon Liu
fa97e982e4 Update README.md 2022-07-18 23:06:30 +08:00
Brandon Liu
1570ff0253 lambda version in ZIP; update readme; improve status code responses 2022-07-18 23:01:00 +08:00
Brandon Liu
de687baf61 python reader: fix leaf level querying 2022-07-18 21:00:46 +08:00
Brandon Liu
0a153bf127 refactor tileset to name; preserve pmtiles module ZIP structure 2022-07-18 16:23:04 +08:00
Brandon Liu
2b7f6b6c9f aws lambda has configurable tile_path and pmtiles_path 2022-07-18 16:13:00 +08:00
Brandon Liu
2d96d92925 remove lambda@edge support; use python functools.lru_cache 2022-07-18 12:21:12 +08:00
Ben Ayre
4ddda66498 Adopt Reader, MmapSource in pmtiles_to_dir 2022-07-13 08:48:44 +01:00
Brandon Liu
ca90de15e9 fix API Gateway / Lambda function URL response structure 2022-07-13 00:19:22 +08:00
Brandon Liu
1fc57a00ec more AWS notes 2022-07-12 23:49:18 +08:00
Brandon Liu
8a34c6ef31 add Lambda python implementation 2022-07-12 21:19:03 +08:00
Brandon Liu
29ae38b34f add serverless/aws README 2022-07-11 20:26:27 +08:00
Brandon Liu
d3dbce049c python version 2.0.0 2022-07-07 21:57:47 +08:00
Brandon Liu
80c0e2b436 Python API changed to do I/O in larger blocks 2022-07-07 21:57:28 +08:00
Brandon Liu
3811ff9b1b js decoder 1.1.0
adds fflate dependency; maplibre decoder can read gzipped tiles [#41]
2022-07-07 12:36:16 +08:00
Brandon Liu
abf1dd9372 inspector app: don't set URL param for local filesystem archives 2022-07-07 12:11:03 +08:00