@maplibre/geojson-vt 6.1.1 → 6.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.
- package/README.md +3 -0
- package/dist/cluster-tile-index.d.ts +41 -6
- package/dist/cluster-tile-index.d.ts.map +1 -1
- package/dist/convert.d.ts +4 -4
- package/dist/convert.d.ts.map +1 -1
- package/dist/deconvert.d.ts +7 -7
- package/dist/deconvert.d.ts.map +1 -1
- package/dist/definitions.d.ts +17 -5
- package/dist/definitions.d.ts.map +1 -1
- package/dist/geojson-vt-dev.js +315 -154
- package/dist/geojson-vt.js +1 -1
- package/dist/geojson-vt.mjs +305 -146
- package/dist/geojson-vt.mjs.map +1 -1
- package/dist/geojsonvt.d.ts.map +1 -1
- package/dist/simplify.d.ts.map +1 -1
- package/dist/tile-index.d.ts +6 -0
- package/dist/tile-index.d.ts.map +1 -1
- package/dist/wrap.d.ts.map +1 -1
- package/package.json +9 -9
- package/src/clip.ts +2 -2
- package/src/cluster-tile-index.test.ts +103 -0
- package/src/cluster-tile-index.ts +242 -97
- package/src/convert.ts +35 -28
- package/src/deconvert.ts +20 -18
- package/src/definitions.ts +17 -5
- package/src/difference.test.ts +71 -0
- package/src/difference.ts +3 -3
- package/src/geojsonvt.test.ts +236 -1
- package/src/geojsonvt.ts +5 -4
- package/src/simplify.test.ts +18 -0
- package/src/simplify.ts +12 -2
- package/src/tile-index.ts +17 -3
- package/src/wrap.ts +2 -0
package/README.md
CHANGED
|
@@ -64,6 +64,7 @@ var tileIndex = new GeoJSONVT(data, {
|
|
|
64
64
|
promoteId: null, // name of a feature property to promote to feature.id. Cannot be used with `generateId`
|
|
65
65
|
generateId: false, // whether to generate feature ids. Cannot be used with `promoteId`
|
|
66
66
|
updateable: false, // whether the tile index can be updated (with the caveat of a stored simplified copy)
|
|
67
|
+
worldCoordinates: false, // whether positions are world coordinates from 0 to 1 instead of lng/lat
|
|
67
68
|
indexMaxZoom: 5, // max zoom in the initial tile index
|
|
68
69
|
indexMaxPoints: 100000 // max number of points per tile in the index
|
|
69
70
|
});
|
|
@@ -73,6 +74,8 @@ By default, tiles at zoom levels above `indexMaxZoom` are generated on the fly,
|
|
|
73
74
|
|
|
74
75
|
The `promoteId` and `generateId` options ignore existing `id` values on the feature objects.
|
|
75
76
|
|
|
77
|
+
With `worldCoordinates: true`, positions are x and y from 0 to 1 across the world square, y growing downward, instead of lng/lat, for data in a world of its own such as a map projection's. The square ends at its edges: positions are neither projected nor wrapped around or clamped, features are cut at the tile buffer around it, points outside it are left out of the clusters, `getTile` returns `null` for tiles outside it, and `getData` and the cluster methods return world coordinates.
|
|
78
|
+
|
|
76
79
|
GeoJSON-VT only operates on zoom levels up to 24.
|
|
77
80
|
|
|
78
81
|
### Update
|
|
@@ -2,7 +2,14 @@ import KDBush from 'kdbush';
|
|
|
2
2
|
import type { ClusterOrPointFeature, GeoJSONVTTileIndex, GeoJSONVTInternalFeature, GeoJSONVTInternalPointFeature, GeoJSONVTOptions, GeoJSONVTTile, SuperclusterOptions } from './definitions';
|
|
3
3
|
/** @internal */
|
|
4
4
|
export type KDBushWithData = KDBush & {
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The projected x and y of each point or cluster, as integers, see `encode`.
|
|
7
|
+
*/
|
|
8
|
+
flatCoords: Int32Array;
|
|
9
|
+
/**
|
|
10
|
+
* The other values of each point or cluster, at the `OFFSET_` positions.
|
|
11
|
+
*/
|
|
12
|
+
flatData: Int32Array;
|
|
6
13
|
};
|
|
7
14
|
export declare const defaultClusterOptions: Required<SuperclusterOptions>;
|
|
8
15
|
/**
|
|
@@ -10,19 +17,31 @@ export declare const defaultClusterOptions: Required<SuperclusterOptions>;
|
|
|
10
17
|
*/
|
|
11
18
|
export declare class ClusterTileIndex implements GeoJSONVTTileIndex {
|
|
12
19
|
options: Required<SuperclusterOptions>;
|
|
20
|
+
/**
|
|
21
|
+
* A tree per zoom level. A zoom level where no clusters form shares the tree of the zoom level above it.
|
|
22
|
+
*/
|
|
13
23
|
trees: KDBushWithData[];
|
|
14
24
|
stride: number;
|
|
15
25
|
clusterProps: Record<string, unknown>[];
|
|
16
26
|
points: GeoJSONVTInternalPointFeature[];
|
|
17
|
-
constructor(options?: SuperclusterOptions);
|
|
18
27
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
28
|
+
* Whether points are in world coordinates, see `worldCoordinates` in {@link GeoJSONVTOptions}. Points outside the
|
|
29
|
+
* world are then left out of the clusters, tiles at an edge get no points from the opposite one, `getTile` returns
|
|
30
|
+
* `null` outside the world, and clusters come back in world coordinates.
|
|
31
|
+
* @experimental
|
|
32
|
+
*/
|
|
33
|
+
worldCoordinates: boolean;
|
|
34
|
+
constructor(options?: SuperclusterOptions, worldCoordinates?: boolean);
|
|
35
|
+
/**
|
|
36
|
+
* Loads GeoJSON Point and MultiPoint features and builds the internal clustering index.
|
|
37
|
+
* Each position of a MultiPoint is clustered as a point of its own, with the id and properties of its feature.
|
|
38
|
+
* @param points - GeoJSON Point and MultiPoint features to cluster.
|
|
21
39
|
*/
|
|
22
|
-
load(points: GeoJSON.Feature<GeoJSON.Point>[]): void;
|
|
40
|
+
load(points: GeoJSON.Feature<GeoJSON.Point | GeoJSON.MultiPoint>[]): void;
|
|
23
41
|
/**
|
|
24
42
|
* @internal
|
|
25
43
|
* Loads internal GeoJSONVT point features from a data source and builds the clustering index.
|
|
44
|
+
* Each position of a MultiPoint feature becomes a point of its own, with the id and properties of its feature.
|
|
26
45
|
* @param features - {@link GeoJSONVTInternalFeature} data source features to filter and cluster.
|
|
27
46
|
*/
|
|
28
47
|
initialize(features: GeoJSONVTInternalFeature[]): void;
|
|
@@ -32,14 +51,22 @@ export declare class ClusterTileIndex implements GeoJSONVTTileIndex {
|
|
|
32
51
|
* @param features
|
|
33
52
|
*/
|
|
34
53
|
updateIndex(features: GeoJSONVTInternalFeature[], _affected: GeoJSONVTInternalFeature[], options: GeoJSONVTOptions): void;
|
|
54
|
+
/**
|
|
55
|
+
* Builds a tree per zoom level from the points. A point whose position does not fit in an integer is left out,
|
|
56
|
+
* see `fitsInteger`.
|
|
57
|
+
*/
|
|
35
58
|
private createIndex;
|
|
36
59
|
/**
|
|
37
60
|
* Returns clusters and/or points within a bounding box at a given zoom level.
|
|
38
|
-
* @param bbox - Bounding box in `[westLng, southLat, eastLng, northLat]` order.
|
|
61
|
+
* @param bbox - Bounding box in `[westLng, southLat, eastLng, northLat]` order, or `[minX, minY, maxX, maxY]` in world coordinates.
|
|
39
62
|
* @param zoom - Zoom level to query.
|
|
40
63
|
*/
|
|
41
64
|
getClusters(bbox: [number, number, number, number], zoom: number): ClusterOrPointFeature[];
|
|
42
65
|
private getClustersInternal;
|
|
66
|
+
/**
|
|
67
|
+
* The clusters and points in a box of the internal coordinates, `[minX, minY, maxX, maxY]`.
|
|
68
|
+
*/
|
|
69
|
+
private getClustersInRange;
|
|
43
70
|
/**
|
|
44
71
|
* Returns the immediate children (clusters or points) of a cluster as GeoJSON.
|
|
45
72
|
* @param clusterId - The target cluster id.
|
|
@@ -66,8 +93,16 @@ export declare class ClusterTileIndex implements GeoJSONVTTileIndex {
|
|
|
66
93
|
getClusterExpansionZoom(clusterId: number): number;
|
|
67
94
|
private appendLeaves;
|
|
68
95
|
private createTree;
|
|
96
|
+
/**
|
|
97
|
+
* Whether clustering a tree left all its points and clusters as they were, in the same order.
|
|
98
|
+
*/
|
|
99
|
+
private isSameAsTree;
|
|
69
100
|
private addTileFeatures;
|
|
70
101
|
private limitZoom;
|
|
102
|
+
/**
|
|
103
|
+
* Clusters the points of a tree on a zoom level, writing the result to `nextCoords` and `nextData`.
|
|
104
|
+
* @returns the number of points and clusters written
|
|
105
|
+
*/
|
|
71
106
|
private cluster;
|
|
72
107
|
private getOriginId;
|
|
73
108
|
private getOriginZoom;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-tile-index.d.ts","sourceRoot":"","sources":["../src/cluster-tile-index.ts"],"names":[],"mappings":"A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oJSONVTInternalFeature, GeoJSONVTOptions } from './definitions';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare function convertToInternal(data: GeoJSON.GeoJSON, options: GeoJSONVTOptions): GeoJSONVTInternalFeature[];
|
|
9
9
|
/**
|
|
10
|
-
* Convert longitude to spherical mercator in [0..1] range
|
|
10
|
+
* Convert longitude to spherical mercator in [0..1] range, or keep a world coordinate as it is
|
|
11
11
|
*/
|
|
12
|
-
export declare function projectX(x: number): number;
|
|
12
|
+
export declare function projectX(x: number, worldCoordinates?: boolean): number;
|
|
13
13
|
/**
|
|
14
|
-
* Convert latitude to spherical mercator in [0..1] range
|
|
14
|
+
* Convert latitude to spherical mercator in [0..1] range, or keep a world coordinate as it is
|
|
15
15
|
*/
|
|
16
|
-
export declare function projectY(y: number): number;
|
|
16
|
+
export declare function projectY(y: number, worldCoordinates?: boolean): number;
|
|
17
17
|
//# sourceMappingURL=convert.d.ts.map
|
package/dist/convert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,wBAAwB,EAAE,gBAAgB,EAAa,MAAM,eAAe,CAAC;AAI1F;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,gBAAgB,GAAG,wBAAwB,EAAE,CAiB9G;
|
|
1
|
+
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,wBAAwB,EAAE,gBAAgB,EAAa,MAAM,eAAe,CAAC;AAI1F;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,gBAAgB,GAAG,wBAAwB,EAAE,CAiB9G;AAuKD;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,gBAAgB,UAAQ,UAG3D;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,gBAAgB,UAAQ,UAK3D"}
|
package/dist/deconvert.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ import type { GeoJSONVTInternalFeature } from './definitions';
|
|
|
2
2
|
/**
|
|
3
3
|
* Converts internal source features back to GeoJSON format.
|
|
4
4
|
*/
|
|
5
|
-
export declare function convertToGeoJSON(source: GeoJSONVTInternalFeature[]): GeoJSON.GeoJSON;
|
|
5
|
+
export declare function convertToGeoJSON(source: GeoJSONVTInternalFeature[], worldCoordinates?: boolean): GeoJSON.GeoJSON;
|
|
6
6
|
/**
|
|
7
7
|
* Converts a single internal feature to GeoJSON format.
|
|
8
8
|
*/
|
|
9
|
-
export declare function featureToGeoJSON(feature: GeoJSONVTInternalFeature): GeoJSON.Feature;
|
|
10
|
-
export declare function unprojectPoints(coords: number[] | Float64Array): GeoJSON.Position[];
|
|
9
|
+
export declare function featureToGeoJSON(feature: GeoJSONVTInternalFeature, worldCoordinates?: boolean): GeoJSON.Feature;
|
|
10
|
+
export declare function unprojectPoints(coords: number[] | Float64Array, worldCoordinates?: boolean): GeoJSON.Position[];
|
|
11
11
|
/**
|
|
12
|
-
* Convert spherical mercator in [0..1] range to longitude
|
|
12
|
+
* Convert spherical mercator in [0..1] range to longitude, or keep a world coordinate as it is
|
|
13
13
|
*/
|
|
14
|
-
export declare function unprojectX(x: number): number;
|
|
14
|
+
export declare function unprojectX(x: number, worldCoordinates?: boolean): number;
|
|
15
15
|
/**
|
|
16
|
-
* Convert spherical mercator in [0..1] range to latitude
|
|
16
|
+
* Convert spherical mercator in [0..1] range to latitude, or keep a world coordinate as it is
|
|
17
17
|
*/
|
|
18
|
-
export declare function unprojectY(y: number): number;
|
|
18
|
+
export declare function unprojectY(y: number, worldCoordinates?: boolean): number;
|
|
19
19
|
//# sourceMappingURL=deconvert.d.ts.map
|
package/dist/deconvert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deconvert.d.ts","sourceRoot":"","sources":["../src/deconvert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,eAAe,CAAC;AAE5D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,wBAAwB,EAAE,GAAG,OAAO,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"deconvert.d.ts","sourceRoot":"","sources":["../src/deconvert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,eAAe,CAAC;AAE5D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,wBAAwB,EAAE,EAAE,gBAAgB,UAAQ,GAAG,OAAO,CAAC,OAAO,CAO9G;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,UAAQ,GAAG,OAAO,CAAC,OAAO,CAW7G;AAwCD,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,EAAE,gBAAgB,UAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,CAQ7G;AAMD;;GAEG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,gBAAgB,UAAQ,GAAG,MAAM,CAGtE;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,gBAAgB,UAAQ,GAAG,MAAM,CAItE"}
|
package/dist/definitions.d.ts
CHANGED
|
@@ -54,7 +54,18 @@ export type GeoJSONVTOptions = {
|
|
|
54
54
|
*/
|
|
55
55
|
debug?: number;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Whether positions are world coordinates instead of lng/lat: x and y from 0 to 1 across the world square, y growing
|
|
58
|
+
* downward, where web mercator would put a lng/lat. The world is then a square that ends at its edges, for data in a
|
|
59
|
+
* world of its own such as a map projection's: positions are neither projected nor wrapped around or clamped,
|
|
60
|
+
* features are cut at the tile buffer around the square, points outside it are left out of the clusters, `getTile`
|
|
61
|
+
* returns `null` outside it, and `getData` and the cluster methods return world coordinates too.
|
|
62
|
+
* @experimental
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
worldCoordinates?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Enable Supercluster for point features. Each position of a MultiPoint feature is clustered as a point of its own.
|
|
68
|
+
* Other geometry types are left out.
|
|
58
69
|
* @default false
|
|
59
70
|
*/
|
|
60
71
|
cluster?: boolean;
|
|
@@ -66,7 +77,7 @@ export type GeoJSONVTOptions = {
|
|
|
66
77
|
};
|
|
67
78
|
export type GeoJSONToTileOptions = GeoJSONVTOptions & {
|
|
68
79
|
/**
|
|
69
|
-
* Whether to wrap features around the antimeridian
|
|
80
|
+
* Whether to wrap features around the antimeridian. Has no effect with `worldCoordinates`.
|
|
70
81
|
* @default false
|
|
71
82
|
*/
|
|
72
83
|
wrap?: boolean;
|
|
@@ -195,12 +206,12 @@ export interface GeoJSONVTTileIndex {
|
|
|
195
206
|
}
|
|
196
207
|
export type SuperclusterOptions = {
|
|
197
208
|
/**
|
|
198
|
-
* Min zoom to generate clusters on
|
|
209
|
+
* Min zoom to generate clusters on. A value above 30 is limited to 30.
|
|
199
210
|
* @default 0
|
|
200
211
|
*/
|
|
201
212
|
minZoom?: number;
|
|
202
213
|
/**
|
|
203
|
-
* Max zoom level to cluster the points on
|
|
214
|
+
* Max zoom level to cluster the points on. A value above 30 is limited to 30.
|
|
204
215
|
* @default 16
|
|
205
216
|
*/
|
|
206
217
|
maxZoom?: number;
|
|
@@ -230,7 +241,8 @@ export type SuperclusterOptions = {
|
|
|
230
241
|
*/
|
|
231
242
|
log?: boolean;
|
|
232
243
|
/**
|
|
233
|
-
* Whether to generate numeric ids for input features (in vector tiles)
|
|
244
|
+
* Whether to generate numeric ids for input features (in vector tiles). Each position of a MultiPoint feature
|
|
245
|
+
* gets an id of its own.
|
|
234
246
|
* @default false
|
|
235
247
|
*/
|
|
236
248
|
generateId?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../src/definitions.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../src/definitions.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH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