Commit Graph

619 Commits

Author SHA1 Message Date
Brandon Liu
7bab1d744e aws: bump s3 client to 3.360.0 (#216)
* aws: bump s3 client to 3.360.0
2023-07-07 15:34:46 +08:00
Brandon Liu
d4e7974887 Merge pull request #215 from protomaps/dependabot/npm_and_yarn/app/vite-2.9.16
Bump vite from 2.9.15 to 2.9.16 in /app
2023-07-07 14:11:05 +08:00
dependabot[bot]
a117e6d1a9 Bump vite from 2.9.15 to 2.9.16 in /app
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.15 to 2.9.16.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.16/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.16/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 06:07:37 +00:00
Brandon Liu
60fd14294b Merge pull request #213 from protomaps/readme-tippecanoe-update
Update README to refer to felt/tippecanoe v2.
2023-07-02 10:59:04 +02:00
Brandon Liu
5803b067ba Update README to refer to felt/tippecanoe v2. 2023-07-02 10:55:18 +02:00
Brandon Liu
8100f1f50e Merge pull request #212 from ay8s/patch-1
Update tippecanoe URL
2023-07-02 10:53:29 +02:00
Andrew Yates
d4798ffa22 Correct tippecanoe url 2023-06-30 09:50:41 -07:00
Brandon Liu
929fb655ec Merge pull request #208 from protomaps/lambda-501
aws: return 501 instead of 400 if no PUBLIC_HOSTNAME configured
2023-06-23 20:57:59 +08:00
Brandon Liu
0cac52741b aws: return 501 instead of 400 if no PUBLIC_HOSTNAME configured for TileJSON 2023-06-23 20:23:19 +08:00
Brandon Liu
2be2a3e195 Update README.md 2023-06-23 14:24:37 +08:00
Brandon Liu
9685c442b1 Merge pull request #207 from protomaps/python-3-2
tag python v3.2
2023-06-23 14:17:02 +08:00
Brandon Liu
b7ea7e4d6c python v3.2.0 2023-06-23 14:14:37 +08:00
Brandon Liu
8ebcbf53c3 python: use NONE instead of UNKNOWN for compression when converting from MBTiles [#139] 2023-06-23 14:14:03 +08:00
Brandon Liu
d6399365a1 Merge pull request #193 from rouault/python_convert_gzip_tile_compression
Python: mbtiles_to_pmtiles(): set tile_compression = gzip when converting from MVT MBTiles
2023-06-23 13:47:02 +08:00
Brandon Liu
651e3ce5f4 Merge pull request #206 from protomaps/python-writer-improvements
python writer improvements
2023-06-23 11:39:51 +08:00
Brandon Liu
ce4c930439 Merge pull request #205 from protomaps/avif
python and C++ AVIF enums [#116]
2023-06-23 11:39:39 +08:00
Brandon Liu
1940b4eff6 python writer improvements
* flesh out roundtrip test case
* detect unordered tile writes and set clustered flag appropriately [#115]
2023-06-23 11:18:07 +08:00
Brandon Liu
3d1517a73a python and C++ AVIF enums [#116] 2023-06-23 11:07:18 +08:00
Brandon Liu
13f5c1ba2e Merge pull request #204 from protomaps/python-pmtiles-to-mbtiles-metadata
python pmtiles-to-mbtiles: lift vector_layers and tilestats into json…
2023-06-23 10:40:40 +08:00
Brandon Liu
c6dbd0e4fd python pmtiles-to-mbtiles: lift vector_layers and tilestats into json metadata key [#120] 2023-06-22 15:34:38 +08:00
Brandon Liu
6e07acd2bd Merge pull request #203 from protomaps/js-2-9
js 2.9; pass header bounds through maplibre protocol
2023-06-22 14:35:50 +08:00
Brandon Liu
181c9efb7e js 2.9; pass header bounds through maplibre protocol 2023-06-22 14:32:11 +08:00
Brandon Liu
56f5a7c179 Merge pull request #202 from protomaps/cloudflare-native-decompress
Revert cloudflare decompression to own function
2023-06-22 14:25:10 +08:00
Brandon Liu
d718ad1fe4 Merge pull request #201 from protomaps/spec-metadata-optional-keys
Spec: more optional metadata keys that might be read by viewers
2023-06-22 14:22:56 +08:00
Brandon Liu
77e6d96aad Merge pull request #200 from protomaps/js-avif
add AVIF enum in JS client [#116]
2023-06-22 14:22:41 +08:00
Brandon Liu
2cb9f5868a Revert cloudflare decompression to own function
* polyfill takes up too much CPU time
* bump cloudflare workers-types
* add tsc checks to CI for serverless
2023-06-22 13:47:06 +08:00
Brandon Liu
005eba513e more metadata optional keys 2023-06-22 10:42:23 +08:00
Brandon Liu
10021809dc add AVIF enum in JS client [#116] 2023-06-22 10:08:34 +08:00
Brandon Liu
07f8fd8a09 Merge pull request #123 from protomaps/spec-3-1
add spec 3.1 metadata details [#111]
2023-06-22 09:55:11 +08:00
Brandon Liu
6e0187049e add spec 3.1 metadata details [#111] 2023-06-22 09:47:00 +08:00
Brandon Liu
17218ecb77 Merge pull request #170 from protomaps/cloudflare-tilejson
Cloudflare TileJSON
2023-06-21 18:34:28 +08:00
Brandon Liu
dc8eb73458 TileJSON support for Cloudflare and AWS [#169]
* Remove TILE_PATH configuration as this makes supporting non-tile paths difficult
* create shared/ dir in serverless for common code
* linting fixes
2023-06-21 18:19:10 +08:00
Brandon Liu
5cffe7ac68 Merge pull request #192 from rouault/mbtiles_to_pmtiles_maxzoom
Python: mbtiles_to_pmtiles(): patch maxzoom metadata when using maxzoom option
2023-06-19 10:45:26 +08:00
Brandon Liu
6052ca2d57 js 2.8.0 2023-06-17 10:44:57 +08:00
Brandon Liu
16377186d7 Merge pull request #198 from protomaps/cpp-more-warnings
cpp: add more warning flags to test suite [#194]
2023-06-17 10:42:13 +08:00
Brandon Liu
0ec589ad18 Merge pull request #199 from protomaps/maplibre-error-reporting
surface exceptions to MapLibre protocol API [fixes #196]
2023-06-17 10:41:59 +08:00
Brandon Liu
7f4691d11f Merge pull request #181 from protomaps/decompressionstream-polyfill
use compression-stream-polyfill for faster, native gzip decompression
2023-06-17 10:38:49 +08:00
Brandon Liu
2bd776820f surface exceptions to MapLibre protocol API [fixes #196] 2023-06-17 09:36:27 +08:00
Brandon Liu
65eaa0e0ff cpp: add more warning flags to test suite [#194] 2023-06-17 07:31:37 +08:00
Brandon Liu
236e84e24f Merge pull request #195 from rouault/pmtiles.hpp_extra_fixes
cpp/pmtiles.hpp: fix build error with big-endian, and add extra sanity check
2023-06-17 06:37:23 +08:00
Even Rouault
fe7e7db559 cpp/pmtiles.hpp: fix build error with big-endian, and add extra sanitfy check 2023-06-14 23:52:04 +02:00
Brandon Liu
6899e23f06 Merge pull request #194 from rouault/cpp_fixes
pmtiles.hpp: multiple warning and robustness fixes
2023-06-12 12:21:19 -04:00
Brandon Liu
61a2c7b99f Merge pull request #191 from protomaps/serverless-ext-mismatch
serverless: improve error message if request doesn't match archive type
2023-06-12 10:05:30 -04:00
Even Rouault
6cd1c3a39b pmtiles.hpp: multiple warning and robustness fixes
This fixes a number of warnings found when integrating it in GDAL
builds, which are done with quite pedantic warning levels.

- add explicit casts when shortening variables
- add support for big-endian targets if defining PMTILES_MSB
- add santity checks on reading directories against corrupt/hostile data
- replace a exit() call by an exception
2023-06-09 20:23:05 +02:00
Even Rouault
8f9feca6e9 Python: mbtiles_to_pmtiles(): set tile_compression = gzip when converting from MVT MBTiles 2023-06-09 19:36:02 +02:00
Even Rouault
021267c67b Python: mbtiles_to_pmtiles(): patch maxzoom metadata when using maxzoom option 2023-06-09 19:30:21 +02:00
Brandon Liu
7250f81846 serverless: improve error message if request doesn't match archive type [#190] 2023-06-07 09:26:51 -04:00
Brandon Liu
fec0d1136c Merge pull request #185 from geospatial-jeff/179-header-dry
reuse `Reader.header`
2023-05-29 17:04:19 +08:00
Brandon Liu
2613ef1047 Merge pull request #186 from geospatial-jeff/180-header-include-version
deserialize_header returns pmtiles version
2023-05-29 11:22:26 +08:00
Brandon Liu
1baa8cf416 Merge pull request #184 from geospatial-jeff/178-read-mode
open mmap with ACCESS_READ
2023-05-29 11:20:13 +08:00