Commit Graph

736 Commits

Author SHA1 Message Date
Brandon Liu
86d59b7346 force map view to be dark mode [#567] (#569)
* force map view to be dark mode [#567]

* nearest resampling for raster mode
* cleanup python deps

* formatting
2025-05-07 10:56:59 -07:00
dependabot[bot]
96ec570c1b Bump vite from 6.2.6 to 6.3.5 in /app (#568)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.5/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 18:53:08 -07:00
Brandon Liu
e7016748df app: add Overture Places to list of examples (#566)
* app: add Overture Places to list of examples
2025-04-30 09:43:01 -06:00
Brandon Liu
5c2f7426c9 rio-pmtiles: 1.0.1 (#565) 2025-04-30 05:36:30 -06:00
Rob Labs
ef4f1b9d90 Update docs for rio-pmtiles (#564)
* `rio-pmtiles` docs:  update defaults from code for tile size, format & resampling.  Src:  `rio_pmtiles/scripts/cli.py`.   Tested with v1.0.0 + local GeoTIFF

* fix Bug in `rio-pmtiles` docs:  `--name` flag did not work.   Changed to what source code (cli.py) accepts

* Updating the docs for the flag `--description` to match the help note from `cli.py` Line 122
2025-04-30 05:12:13 -06:00
Brandon Liu
ca8cd48330 app: clean up archive view; allow closing leaf (#563) 2025-04-27 14:25:44 +08:00
Brandon Liu
6bf9b8fcb0 fix setting of source when URL is changed after error [#49] (#562)
* fix setting of source when URL is changed after error [#49]

* fix setFeatureState when unchecking inspect
2025-04-26 21:04:04 +08:00
Rob Labs
60056a5621 Add a label to a polygon with name (#561)
* fix to toggle visibility of the label layer for line data

* Add polygon label along poly border.  Related to #555.  Depends on #560
2025-04-26 20:34:15 +08:00
Rob Labs
aa43ad8365 fix to toggle visibility of the label layer for line data (#560) 2025-04-26 18:58:07 +08:00
Brandon Liu
bb51c64b72 New viewer 4 (#559)
app: viewer improvements [#49]

* show missing id when feature id is undefined instead of 0
* improve point symbology for dense point tilesets
* show lon,lat in popup
* better wrapping for long popup value strings
2025-04-25 11:33:32 +08:00
Brandon Liu
ae4840fdf1 app: fix tile border display [#49] (#558)
* clean up comments and console
2025-04-25 11:29:11 +08:00
Brandon Liu
26c857ff40 app: viewer improvements [#555] (#557)
* add line labels
* allow loading remote and local tilesets without clearing the current tileset
2025-04-22 14:33:33 +08:00
Brandon Liu
731f03d325 New viewer [#49] (#549)
app: Rewrite of PMTiles viewer (pmtiles.io) [#49, #551, #555, #556]

* Rewrite the app using SolidJS / Tailwind.
* Make the map view mobile friendly.
* Add an archive inspector for viewing the low level structure of PMTiles.
* Add a tile inspector for viewing a single tile in isolation. 
* Support TileJSON.
* Support raster archives.
2025-04-22 11:05:19 +08:00
Brandon Liu
c9b7f73f28 Remove dead code (#548)
* remove vtfilter folder (not maintained going forward)

* update badges

* update CI
2025-04-05 16:26:40 +08:00
Brandon Liu
6b7a91b075 update README badges (#546) 2025-04-03 12:29:23 +08:00
Brandon Liu
c793dc6435 rio-pmtiles improvements to defaults (#545)
* rio-pmtiles: show progress by default

* change --progress-bar to --silent [#338]

* rio-pmtiles: change defaults from JPEG/256/nearest to WEBP/512/bilinear [#338]

* rename title to name [#338]

* rio-pmtiles: automatic guessing of maxzoom [#338]

* determine maxzoom based on image dimensions and tile_size.

* rio-pmtiles: 1.0.0
2025-04-02 12:21:01 +08:00
dependabot[bot]
29de7d2521 Bump tqdm from 4.48.2 to 4.66.3 in /python/rio-pmtiles (#544)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.48.2 to 4.66.3.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.48.2...v4.66.3)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-version: 4.66.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:47:06 +08:00
dependabot[bot]
305ecf60d4 Bump vite from 6.2.1 to 6.2.4 in /app (#543)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.1 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:46:44 +08:00
Brandon Liu
63182e525d rio-pmtiles python package [#338] (#542)
Add rio-pmtiles command line tool. [#338]

This is derived from the original mapbox/rio-mbtiles implementation, with changes:

* output PMTiles only instead of MBTiles.
* Python 3.7+ only.
* remove --implementation, --image-dump, --append/--overwrite, --covers features.
* bump dependency versions.
* better progress reporting; add pyroaring. 
* update README and license texts.
* rio-pmtiles v0.0.6 on PyPI
2025-03-24 20:50:53 +08:00
dependabot[bot]
1d897f4f7e Bump @babel/helpers from 7.22.6 to 7.26.10 in /app (#538)
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.22.6 to 7.26.10.
- [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.26.10/packages/babel-helpers)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-19 09:52:25 +08:00
Jake Low
538dc3a530 app: disable pointer events on popup unless it is frozen (#537) 2025-03-19 09:52:10 +08:00
Brandon Liu
90a6a2af3c app: bump vite version, add tilezen to sample datasets (#536) 2025-03-11 13:43:40 -07:00
Brandon Liu
abfe63cef0 Bump tsup, tsx and esbuild versions in all package.json devDependencies. (#533) 2025-03-03 22:43:24 -08:00
Brandon Liu
3f8279aa16 ol-pmtiles v2.0.2 (#532) 2025-02-21 18:09:48 +08:00
Brandon Liu
534a66b5c0 pmtiles js 4.3.0 (#531)
* pmtiles js 4.3.0

* bump dependents

* update lockfiles
2025-02-21 15:52:39 +08:00
Brandon Liu
d4595793ad ol-pmtiles 2.0.1 (#530)
* fix IIFE build by specifying platform=browser to esbuild
2025-02-21 15:39:36 +08:00
Taku Fukada
9b69ab4b64 Simplify and optimize Hilbert tile ID <-> XYZ conversion (#527)
* Optimize Hilbert tile ID <-> XYZ conversion

* biome

* tile_id: more improvements

* tile_id(cpp): uint32
2025-02-21 15:37:49 +08:00
Brandon Liu
caa8f1f726 bump viewer to maplibre 5.1, latest basemap (#525)
* bump viewer to maplibre 5.1, latest basemap
2025-02-04 23:41:47 +08:00
dependabot[bot]
5e6a3aefa9 Bump undici from 5.28.4 to 5.28.5 in /serverless/cloudflare (#521)
Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 12:22:42 +08:00
dependabot[bot]
b2ed481cdf Bump vite from 3.2.11 to 4.5.6 in /app (#520)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.11 to 4.5.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.6/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 12:22:26 +08:00
Brandon Liu
5897a82a16 Reuse toml (#518)
* add REUSE.toml [#480]

* add REUSE.toml and clarify license of different parts - software, specification, sample data [#480]
2025-01-14 18:56:08 +08:00
Brandon Liu
61e60c69d2 Make aws/cloudflare depend on pmtiles from npm [#455] (#515)
* Make aws/cloudflare depend on pmtiles from npm [#455]

This is clearer to developers than relying on the local code being built.

* update check_examples.py
* bump openlayers to v2 with upgrade of pmtiles to v4 [#455]
* update to 4.2.1
2025-01-14 17:09:11 +08:00
Brandon Liu
d3740449d4 js 4.2.1 (#517)
* js 4.2.1
2025-01-14 15:56:47 +08:00
Brandon Liu
701c5cb170 js 4.2.0 (#516)
* js 4.2.0

* update examples
2025-01-14 15:15:07 +08:00
Brandon Liu
d4d97ad7a9 maplibre: display error on empty bounds [#508] (#510)
* If a MapLibre source has empty bounds, no tiles will be displayed.
2025-01-09 16:10:43 +08:00
Brandon Liu
275b5bcb5d rename maplibre_headers to maplibre_advanced; show metadata description (#506) 2025-01-06 15:04:07 +08:00
Brandon Liu
9a53ed8495 js: maplibre protocol has option to throw on missing tile [#321] (#505)
* js: maplibre protocol has option to throw on missing tile [#321]

* js: update docs copy for errorOnMissingTile

* js: 4.1.0
2024-12-15 16:49:56 +08:00
Brandon Liu
5b075048cc js: cleanup error throwing to always use new Error (#504) 2024-12-13 14:42:13 +08:00
Brandon Liu
7ed6377031 js 4.0.1 (#501)
fix iife build - tell esbuild to use browser platform for fflate dependency.
2024-11-26 12:56:26 +08:00
Brandon Liu
0413a0cc10 fix package.json types (#500) 2024-11-26 12:01:24 +08:00
Brandon Liu
e678dd5326 Pmtiles js v4 (#499)
* pmtiles js v4: remove pmtiles spec v2 compatibility [#287]
* restructure ts files into src
* add tsup for building ESM/CJS and making types work in ESM
* bump fflate dependency
* update CHANGELOG for js 4.0.0
2024-11-26 11:56:41 +08:00
dependabot[bot]
bbeda97ed4 Bump cookie and @bundled-es-modules/cookie in /js (#494)
Bumps [cookie](https://github.com/jshttp/cookie) and [@bundled-es-modules/cookie](https://github.com/bundled-es-modules/cookie). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.2)

Updates `@bundled-es-modules/cookie` from 2.0.0 to 2.0.1
- [Commits](https://github.com/bundled-es-modules/cookie/commits)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: "@bundled-es-modules/cookie"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-13 09:23:25 +08:00
Brandon Liu
d7357088c5 js: bump typescript, @node/types and msw dev dependencies. (#489)
* js: bump typescript, @node/types and msw dev dependencies.

* js 3.2.1
2024-10-30 13:40:01 -07:00
dependabot[bot]
ca67bd1015 Bump cookie and youch in /serverless/cloudflare (#484)
Bumps [cookie](https://github.com/jshttp/cookie) and [youch](https://github.com/poppinss/youch). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.2)

Updates `youch` from 3.3.3 to 3.3.4
- [Release notes](https://github.com/poppinss/youch/releases)
- [Changelog](https://github.com/poppinss/youch/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/poppinss/youch/commits)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: youch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-22 14:17:20 -07:00
Brandon Liu
0f09f23ee8 cleanup js raster example (#482) 2024-10-20 08:41:53 -07:00
Brandon Liu
b70fa01282 python: v3.4.1 2024-10-12 13:34:11 +08:00
Lars Maxfield
28960a9e6f Fix #478 with correct y-flip logic where the default is y=0 at top; add 'tms' scheme for zxy with flipped y (#479) 2024-10-12 13:08:44 +08:00
Brandon Liu
66303480b6 Update pmtiles.io example links to v4 (#477) 2024-10-12 13:08:01 +08:00
dependabot[bot]
669e1d6336 Bump rollup from 2.79.1 to 2.79.2 in /app (#467)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 10:45:51 +08:00
Brandon Liu
b0c765feb1 Default origins to * in wrangler.toml template (#466) 2024-09-30 15:22:50 +08:00