Commit Graph

427 Commits

Author SHA1 Message Date
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
Brandon Liu
b285f77bc4 inspector app: replace pako with fflate [#41] 2022-07-07 12:10:40 +08:00
Brandon Liu
419ae06a6e decompress vector tile preview correctly 2022-07-06 23:53:12 +08:00
Brandon Liu
12aa521b46 Merge pull request #50 from flother/pmtiles-serve-description
Improve pmtiles-serve CLI description
2022-06-24 01:05:32 +08:00
Matt Riggott
e38dab965a Improve pmtiles-serve CLI description 2022-06-23 16:58:03 +00:00
Brandon Liu
cbc5f19083 app visual cleanup 2022-06-15 10:56:54 +08:00
Brandon Liu
14120600d2 consolidate examples into app/
* easier to maintain without a bunch of repetitive HTML examples
2022-06-14 14:11:30 +08:00
Brandon Liu
21eec8e38a attempt fix for CI 2022-06-13 19:44:57 +08:00
Brandon Liu
9962b4e344 improvements to inspector app 2022-06-13 16:48:58 +08:00
Brandon Liu
beef7a3ab7 key by offset+length to allow fetches of magic numbers 2022-06-01 13:33:15 +08:00
Brandon Liu
9309f42ced app updates 2022-06-01 10:46:38 +08:00
Brandon Liu
f865bd9899 update js README 2022-06-01 10:32:51 +08:00
Brandon Liu
6018d3d547 js: export more classes, root_entries list method 2022-06-01 10:10:41 +08:00
Brandon Liu
bd64156412 github pages: force_orphan 2022-05-30 12:54:07 +08:00
Brandon Liu
c186560738 Merge pull request #46 from protomaps/refactor-js-cache
modularize JS client to take non-HTTP sources, caching behavior
2022-05-30 12:43:06 +08:00
Brandon Liu
5d7fd9bdf7 modularize JS client to take non-HTTP sources, caching behavior 2022-05-30 12:38:10 +08:00
Brandon Liu
f31b8b2bca js 1.0.4 2022-05-17 14:08:44 +08:00