Commit Graph

591 Commits

Author SHA1 Message Date
Brandon Liu
8c282b90da js v2.11 (#260)
* js 2.11.0

* update examples
2023-09-28 15:14:50 +08:00
Brandon Liu
b815bab09c js: FetchSource takes optional custom headers (#112)
* js: FetchSource takes optional custom headers
2023-09-28 15:07:25 +08:00
Brandon Liu
8925d4272b add utility module for AWS regions. (#259) 2023-09-28 14:31:22 +08:00
Brandon Liu
96eb357362 app improvements (#258)
* viewer app: improve type safety and visibility of overlay features.

* correct basemap attribution.

* prettier
2023-09-27 13:49:40 +08:00
Brandon Liu
f378bb97a8 upgrade vector basemap to tiles v3, styles v2 [#49] (#257) 2023-09-26 16:25:30 +08:00
Brandon Liu
fd297cc71b Viewer layer toggle shows layer colors [#243] (#252) 2023-09-20 11:44:25 +08:00
Brandon Liu
70146469e9 detect map hash being passed more reliably to auto-set bounds [#246] (#251)
* add README for installing /app [#244]
2023-09-11 11:05:50 +08:00
Bertil Chapuis
009cd20ff4 Correct TileID example (#249)
This example does not correspond to the test cases provided in the javascript reference implementation.

17583ae19d/js/test/v3.test.ts (L40)
2023-09-06 21:47:29 +08:00
Brandon Liu
17583ae19d ol-pmtiles v0.2.0 2023-08-25 11:56:06 +08:00
Matthias Mohr
da32ad6785 Add .js to imports (#240) 2023-08-25 11:54:12 +08:00
Brandon Liu
32666dd9d7 add unit test for dir output [#221] (#238) 2023-08-21 16:51:39 +08:00
dependabot[bot]
64a5125657 Bump wrangler from 2.18.0 to 3.1.1 in /serverless/cloudflare (#233)
* Bump wrangler from 2.18.0 to 3.1.1 in /serverless/cloudflare

Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) from 2.18.0 to 3.1.1.
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@3.1.1/packages/wrangler)

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

Signed-off-by: dependabot[bot] <support@github.com>

* fix tsconfig for cloudflare [#233]

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brandon Liu <bdon@bdon.org>
2023-08-21 10:12:31 +08:00
Jonas Schade
1aa0931d44 More detailed Version 3 Specification (#172)
* docs(spec): detailed rewrite of V3 specification by @DerZade [#107]

* spec bump to v3.2
* includes pseudocode and diagrams for binary layout
* adopt RFC 2119 specification language
2023-08-17 18:05:14 +08:00
Brandon Liu
1f30e1a9b9 rename protomaps.js -> protomaps-leaflet 2023-08-08 16:29:49 +08:00
Brandon Liu
6cd4a97d2a ol-pmtiles 0.1.1; fix shape of reading tile data from getZxy [#225] (#232)
* ol-pmtiles 0.1.1; fix shape of reading tile data from getZxy [#225]

* update ol raster example [#225]
2023-08-08 13:47:18 +08:00
Blayne Chard
d1ea859443 add ETag and cache-control headers for 200 responses (#231)
* add etag and cache control headers for 200 responses

* fixup eTag -> ETag
2023-08-08 11:11:42 +08:00
Brandon Liu
0528e12ec9 fix maplibre example 2023-08-01 11:47:20 +08:00
Brandon Liu
77c956d381 Replace compression polyfill ("Worker" related errors) (#222)
* replace compression-streams-polyfill with globalThis check [#167]

* work around web worker issue with decompression polyfill.

* js 2.10.0-beta.0

* js 2.10.0; update examples
2023-07-31 22:20:42 +08:00
François BAPTISTE
6a4a403942 fix NameError: name 'data' is not defined in convert.py (#220) 2023-07-20 16:32:34 +08:00
Brandon Liu
8f5076297a add missing includes to pmtiles.hpp for fedora (#219) 2023-07-13 13:41:10 +08:00
Brandon Liu
befa393ad9 Inspector improvements (#218)
* conditionally reposition map if map hash wasn't passed [#49]

* add 20230408 basemap to viewer presets
2023-07-08 20:35:24 +08:00
dependabot[bot]
314d36272a Bump semver and @babel/core in /app (#217)
Removes [semver](https://github.com/npm/node-semver). It's no longer used after updating ancestor dependency [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core). These dependencies need to be updated together.


Removes `semver`

Updates `@babel/core` from 7.17.10 to 7.22.8
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.8/packages/babel-core)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
- dependency-name: "@babel/core"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 16:02:31 +08:00
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