Commit Graph

649 Commits

Author SHA1 Message Date
Brandon Liu
819a0e6f2b python: default to max dir depth 3, don't default compression in writer 2022-10-16 12:33:39 +08:00
Brandon Liu
991cdb302d add script to generate sample raster archive. 2022-10-16 12:33:05 +08:00
Brandon Liu
790268a43c add stamen toner raster example for spec conformance. 2022-10-16 12:32:15 +08:00
Brandon Liu
6438d87ff6 leaflet adapter supports cancellation and min/max zoom from header [#48] 2022-10-15 17:02:18 +08:00
Brandon Liu
37f315cc57 js: cleaner 404 error, change max directory depth to <= 3 2022-10-14 14:45:58 +08:00
Brandon Liu
c42011ff7b Update README.md 2022-10-14 00:10:54 +08:00
Brandon Liu
1933aeddd6 js 2.1.0 2022-10-14 00:08:51 +08:00
Brandon Liu
6af34274d6 js: richer deprecation messages 2022-10-14 00:08:36 +08:00
Brandon Liu
e3c265d878 JS readme improvements 2022-10-14 00:08:18 +08:00
Brandon Liu
9f6941e969 JS MapLibre Adapter: autodetect minzoom/maxzoom, clean up hacky loading syntax [#48] 2022-10-14 00:08:08 +08:00
Brandon Liu
b1c7cf59a3 implement pmtiles-to-mbtiles and pmtiles-to-dir conversions; don't delete redundant metadata keys (center, minzoom, etc) 2022-10-13 19:23:57 +08:00
Brandon Liu
5e400b0dbd python: string repr for entries 2022-10-13 19:23:57 +08:00
Brandon Liu
eae1d3a11d python writer: fix bug in construction of leaf dir entries 2022-10-13 19:23:57 +08:00
Brandon Liu
b89bf951bb replace python reader with v3 reader 2022-10-13 19:23:57 +08:00
Brandon Liu
9d0b2ba0c3 Update README.md 2022-10-13 19:21:59 +08:00
Brandon Liu
927f660917 Update README.md 2022-10-13 15:13:56 +08:00
Brandon Liu
f18a607266 add badges to README 2022-10-13 11:49:16 +08:00
Brandon Liu
05bcc717ab fix previe app build 2022-10-13 11:21:08 +08:00
Brandon Liu
cf20dcd0ce js v2.0.0: rename protocol.tileFunc -> tile, CHANGELOG, README 2022-10-13 10:13:10 +08:00
Brandon Liu
bdc01d5a4e Merge pull request #81 from protomaps/cpp-test
add cpp tests to CI
2022-10-12 16:21:05 +08:00
Brandon Liu
38e68edd97 add cpp tests to CI 2022-10-12 16:18:15 +08:00
Brandon Liu
47bffa32cf c++ v3 utility functions 2022-10-12 16:17:33 +08:00
Brandon Liu
0f03dc3312 python: pmtiles-convert from mbtiles writes v3 spec 2022-10-12 00:02:59 +08:00
Brandon Liu
43e46371c1 python: deprecate pmtiles-serve 2022-10-12 00:02:17 +08:00
Brandon Liu
b1cfa7da24 python v3: serialize/deserialize header 2022-10-11 16:58:42 +08:00
Brandon Liu
904031a85e python client: implement v3 directory serialization/deserialization 2022-10-11 15:57:15 +08:00
Brandon Liu
6087d89391 initial implementations of python v3 utility functions 2022-10-11 13:58:08 +08:00
Brandon Liu
02bbf12c29 Update README.md 2022-10-07 22:01:27 +08:00
Brandon Liu
a5a9b737ae Update spec.md 2022-10-07 11:40:54 +08:00
Brandon Liu
3d40ca4501 improve v2 compatibility shim populating metadata 2022-10-05 22:42:07 +08:00
Brandon Liu
884e980100 inspector GL map uses fitBounds 2022-10-05 22:34:50 +08:00
Brandon Liu
15be9a6c07 JS: Fix v2 defaults for Compression/TileType 2022-10-05 17:23:11 +08:00
Brandon Liu
b108831159 js v2 compatibility shim supports tile cancellation 2022-10-05 17:22:37 +08:00
Brandon Liu
64d7815149 Inspector app handles v2 archives better and assumes they are vector tiles 2022-10-05 17:21:40 +08:00
Brandon Liu
a6a1ff1f89 v3 spec details e7 coordinate encoding 2022-10-05 15:08:25 +08:00
Brandon Liu
5adeddf692 small readme fixes 2022-10-05 14:38:50 +08:00
Brandon Liu
13d22d2d63 spec/ directory with v2 and v3 specs [#62,#41,#4] 2022-10-05 14:18:08 +08:00
Brandon Liu
d8851a7041 inspector app uses new JS client 2022-10-05 10:48:00 +08:00
Brandon Liu
f831dd113a fix testing command 2022-10-05 10:46:43 +08:00
Brandon Liu
7526a4b8b6 fix tests for spec magic number/compression changes 2022-10-05 10:46:19 +08:00
Brandon Liu
41b53c2c12 js library has better organization 2022-10-04 23:40:38 +08:00
Brandon Liu
98311c1f12 Finish implementation of v2 compatibility shim in v2.ts 2022-10-04 21:07:49 +08:00
Brandon Liu
96d7ba7748 add minimal shim stubs for v2 backwards compatibility 2022-10-04 12:25:08 +08:00
Brandon Liu
9594cd1764 add second implementation of Cache for environments where promises cannot be shared between requests 2022-10-04 11:47:26 +08:00
Brandon Liu
6d6e931f1d rename Cache to SharedPromiseCache and make Cache interface 2022-10-04 11:07:08 +08:00
Brandon Liu
93ff392e6f rename Response to RangeResponse; fix lastUsed increment in header cache 2022-10-04 10:57:32 +08:00
Brandon Liu
2a805b0f40 rename Response > SourceData 2022-10-03 19:33:23 +08:00
Brandon Liu
bd53ad7d8f fix minZoom/maxZoom 2022-10-03 13:58:26 +08:00
Brandon Liu
92c1c8bbdf v3 getZxy response is object with optional cacheControl, expires [#24] 2022-10-03 13:57:59 +08:00
Brandon Liu
87bf3994d0 formatting, short-circuit getZxy based on header minzoom/maxzoom 2022-10-01 18:38:51 +08:00