@vizhub/quadstream 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +6 -116
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.0
4
+
5
+ - Final notice release of `@vizhub/quadstream`: the project has been renamed to
6
+ [Liquid Globe](https://www.npmjs.com/package/liquid-globe).
7
+ - Future development and releases will use the unscoped `liquid-globe` package.
8
+ - Existing library and CLI functionality are unchanged. The old package will be
9
+ deprecated, not unpublished.
10
+
3
11
  ## 0.1.0 (unreleased)
4
12
 
5
13
  First planned experimental npm release of the modern Quadstream library.
package/README.md CHANGED
@@ -1,123 +1,13 @@
1
- # Quadstream
1
+ # Quadstream Has Been Renamed
2
2
 
3
- **Progressive, topology-aware, multiresolution geometry for the web.**
3
+ **Notice: This package has been renamed and moved to [Liquid Globe](https://www.npmjs.com/package/liquid-globe).**
4
4
 
5
- [Live globe demo](https://vizhub-studio.github.io/quadstream/) · [npm package](https://www.npmjs.com/package/@vizhub/quadstream)
5
+ All future development and releases will take place under the new package name.
6
6
 
7
- <img width="981" height="964" alt="Interactive Quadstream globe" src="https://github.com/user-attachments/assets/1b54d21a-ea13-4cdf-b88c-6048b3e009dc" />
8
-
9
- Quadstream builds shared geographic topology once and reconstructs geometry at different levels of detail. The TypeScript ESM core has no runtime dependencies.
10
-
11
- - Planar geometry: viewport selection, progressive binary partitions and cancellable loading.
12
- - Spherical geometry: fractional detail, shared boundaries, visibility culling and clipping helpers for globe renderers.
13
- - GeoJSON/TopoJSON adapters, a planar CLI and browser demos.
14
-
15
- ## Install
16
-
17
- Node.js 20+ for the library.
18
-
19
- ```sh
20
- npm install @vizhub/quadstream
21
- ```
22
-
23
- ## Quick start: planar geometry
24
-
25
- ```js
26
- import { buildQuadstream } from "@vizhub/quadstream";
27
-
28
- const source = {
29
- type: "FeatureCollection",
30
- features: [
31
- {
32
- type: "Feature",
33
- id: "square",
34
- properties: { value: 42 },
35
- geometry: {
36
- type: "Polygon",
37
- coordinates: [
38
- [
39
- [0, 0],
40
- [10, 0],
41
- [10, 10],
42
- [0, 10],
43
- [0, 0],
44
- ],
45
- ],
46
- },
47
- },
48
- ],
49
- };
50
-
51
- const dataset = await buildQuadstream(source, { maxLevel: 12 });
52
- const result = await dataset.query({ level: 4, bounds: [0, 0, 10, 10] });
53
- console.log(result.geojson, result.usedFallback);
54
- ```
55
-
56
- Detail levels run from 0 (coarsest) to `maxLevel - 1` (finest).
57
- The returned feature collection can be rendered with your preferred renderer.
58
- TypeScript users can annotate the source with the exported `FeatureCollection`
59
- type.
60
-
61
- The planar engine interprets coordinates as Cartesian numbers. Project or
62
- split dateline-crossing geography upstream; use the spherical API for
63
- great-circle globe geometry.
64
-
65
- ## Run the globe
66
-
67
- Use Node 26 for the React/Vite demo.
68
-
69
- ```sh
70
- git clone https://github.com/vizhub-studio/quadstream.git
71
- cd quadstream
72
- npm ci
73
- npm --prefix quadstream-globe ci
74
- npm run dev
75
- ```
76
-
77
- The React globe is the GitHub Pages demo. It uses version-pinned CDN geometry sources, caches downloads and regional engines, and renders eligible administrative boundaries through Quadstream. Spherical simplification is in-memory, not network partition streaming. The legacy globe and progressive map remain available with `npm run dev:legacy` and `npm run demo:map`.
78
-
79
- ## Documentation
80
-
81
- - [Usage and API guide](https://github.com/vizhub-studio/quadstream/blob/main/docs/USAGE.md) — progressive loading, spherical examples, CLI and API signatures.
82
- - [Architecture](https://github.com/vizhub-studio/quadstream/blob/main/docs/ARCHITECTURE.md) · [Algorithmic complexity](https://github.com/vizhub-studio/quadstream/blob/main/docs/COMPLEXITY.md)
83
- - [Spherical geometry](https://github.com/vizhub-studio/quadstream/blob/main/docs/SPHERICAL.md) · [Progressive map](https://github.com/vizhub-studio/quadstream/blob/main/docs/PROGRESSIVE-MAP.md) · [CLI](https://github.com/vizhub-studio/quadstream/blob/main/docs/CLI.md)
84
- - [React globe setup and deployment](https://github.com/vizhub-studio/quadstream/blob/main/quadstream-globe/README.md) · [Globe controls and provenance](https://github.com/vizhub-studio/quadstream/blob/main/docs/GLOBE.md)
85
- - [Roadmap](https://github.com/vizhub-studio/quadstream/blob/main/plans/PROJECT_ROADMAP.md) · [Contributing](https://github.com/vizhub-studio/quadstream/blob/main/CONTRIBUTING.md) · [History](https://github.com/vizhub-studio/quadstream/blob/main/docs/HISTORY.md)
86
-
87
- ## Geometry semantics and limitations
88
-
89
- - Supported shapes: Polygon, MultiPolygon, LineString and MultiLineString.
90
- No points, nested geometry collections, 3D coordinates or nonfinite positions.
91
- - Only exact coordinate matches establish shared borders; no approximate
92
- snapping or differently digitized boundary reconciliation.
93
- - Planar bounds filter whole features; they do not clip geometry. Planar IDs
94
- are normalized to strings, and null properties become empty objects.
95
- - Full-detail reconstruction retains coordinates and order subject to documented
96
- normalization and cyclic ring starts. Coarse BLG subsets are nested, but
97
- validated output may not be monotonic when a fallback occurs.
98
- - By default, invalid planar simplified geometry triggers a global full-detail
99
- fallback, not independent per-feature simplification. Partial results are
100
- explicit; validation does not prove global cross-feature topology.
101
- - Reference polygon validity checks are quadratic; large-scale performance,
102
- measured screen-space error, robust global spherical predicates and
103
- production resource hardening remain future work.
104
- - Binary checksums detect accidental corruption, not malicious changes.
105
-
106
- See the [architecture](https://github.com/vizhub-studio/quadstream/blob/main/docs/ARCHITECTURE.md)
107
- and [roadmap](https://github.com/vizhub-studio/quadstream/blob/main/plans/PROJECT_ROADMAP.md)
108
- for implementation details and planned work.
109
-
110
- ## Development
7
+ Install Liquid Globe:
111
8
 
112
9
  ```sh
113
- npm ci
114
- npm run check
115
- npm run lint
116
- npm run test:package
10
+ npm install liquid-globe
117
11
  ```
118
12
 
119
- See the [globe development guide](https://github.com/vizhub-studio/quadstream/blob/main/quadstream-globe/README.md) for browser tests. The modern implementation is MIT-licensed; historical code retains its existing license terms. See [LICENSE](https://github.com/vizhub-studio/quadstream/blob/main/LICENSE).
120
-
121
- ### Cooperative computation
122
-
123
- `buildQuadstream` and `buildSphericalQuadstream` return promises, as do dataset and session `query` methods. Pass `signal`, `onProgress`, `onSlice`, and `sliceMs` to cooperative operations as needed. The default build slice target is 4 ms; individual synchronous operations can exceed it. No `Async` suffix is needed. Cancellation rejects with the abort reason. Lightweight accessors, low-level geometry helpers, session construction, and atomic partition ingestion remain synchronous. Synchronous dataset reference methods are internal, not public TypeScript API.
13
+ This package is no longer maintained.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizhub/quadstream",
3
- "version": "1.0.0",
4
- "description": "Deterministic, topology-aware progressive geographic geometry engine",
3
+ "version": "1.2.0",
4
+ "description": "Renamed to Liquid Globe (liquid-globe on npm).",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "engines": {