@basemaps/cli-vector 8.5.0 → 8.7.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/build/modify/layers/place_labels.d.ts +1 -9
- package/build/modify/layers/place_labels.js +11 -81
- package/build/modify/layers/place_labels.js.map +1 -1
- package/build/modify/parser.d.ts +6 -10
- package/build/modify/parser.js +5 -14
- package/build/modify/parser.js.map +1 -1
- package/dist/index.cjs +23 -72
- package/package.json +4 -4
- package/build/modify/schema.d.ts +0 -15
- package/build/modify/schema.js +0 -2
- package/build/modify/schema.js.map +0 -1
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { LogType } from '@basemaps/shared';
|
|
2
2
|
import { VectorGeoFeature } from '../../types/VectorGeoFeature.js';
|
|
3
|
-
import { VectorGeoPlaceLabelsFeature } from '../schema.js';
|
|
4
|
-
export declare const PlaceLabelsFeatures: Map<string, VectorGeoPlaceLabelsFeature>;
|
|
5
3
|
/**
|
|
6
|
-
* Processes a 'place_labels' layer feature
|
|
7
|
-
*
|
|
8
|
-
* The gazatteer dataset contains multiple features that technically describe the same feature, such that:
|
|
9
|
-
* - 1. Many features have the same `label` value.
|
|
10
|
-
* - a. The 1st feature always contains the properties.
|
|
11
|
-
* - b. The 2nd, 3rd, ... features always define the `label`, `zoom_level` and `style` properties. But, all others properties will be `null`.
|
|
12
|
-
* - 2. All features with the same `label` value have different `zoom_level` values.
|
|
4
|
+
* Processes a 'place_labels' layer feature.
|
|
13
5
|
*
|
|
14
6
|
* @param feature - the feature to process
|
|
15
7
|
* @param options - the layer's options
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { zPlaceLabelsProperties } from '../parser.js';
|
|
3
|
-
export const PlaceLabelsFeatures = new Map();
|
|
4
3
|
/**
|
|
5
|
-
* Processes a 'place_labels' layer feature
|
|
6
|
-
*
|
|
7
|
-
* The gazatteer dataset contains multiple features that technically describe the same feature, such that:
|
|
8
|
-
* - 1. Many features have the same `label` value.
|
|
9
|
-
* - a. The 1st feature always contains the properties.
|
|
10
|
-
* - b. The 2nd, 3rd, ... features always define the `label`, `zoom_level` and `style` properties. But, all others properties will be `null`.
|
|
11
|
-
* - 2. All features with the same `label` value have different `zoom_level` values.
|
|
4
|
+
* Processes a 'place_labels' layer feature.
|
|
12
5
|
*
|
|
13
6
|
* @param feature - the feature to process
|
|
14
7
|
* @param options - the layer's options
|
|
@@ -17,90 +10,27 @@ export const PlaceLabelsFeatures = new Map();
|
|
|
17
10
|
*/
|
|
18
11
|
export function handleLayerPlaceLabels(feature, logger) {
|
|
19
12
|
logger.trace({}, 'HandlePlaceLabels:Start');
|
|
20
|
-
const newFeature = createNewFeature(feature, logger);
|
|
21
|
-
const name = newFeature.properties.name;
|
|
22
|
-
// DATA PROBLEM: Multiple features will have the same `label` value. However, only the first feature will
|
|
23
|
-
// contain all of the expected properties. All other features with the same `label` value will have null
|
|
24
|
-
// values for the expected properties. So, as we encounter each of the 'other' features, we need to copy
|
|
25
|
-
// the expected properties from the first feature to it, before returning it.
|
|
26
|
-
const storedFeature = PlaceLabelsFeatures.get(name);
|
|
27
|
-
if (storedFeature == null) {
|
|
28
|
-
PlaceLabelsFeatures.set(name, newFeature);
|
|
29
|
-
logger.trace({}, 'HandlePlaceLabels:End');
|
|
30
|
-
return newFeature;
|
|
31
|
-
}
|
|
32
|
-
// update the stored feature's 'minzoom' value
|
|
33
|
-
storedFeature.tippecanoe.minzoom = newFeature.tippecanoe.minzoom;
|
|
34
|
-
// update the stored feature's 'maxzoom' value
|
|
35
|
-
storedFeature.tippecanoe.maxzoom = newFeature.tippecanoe.minzoom;
|
|
36
|
-
logger.trace({}, 'HandlePlaceLabels:End');
|
|
37
|
-
return structuredClone(storedFeature);
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Parses a 'place_labels' layer feature into a VectorGeoPlaceLabelsFeature object.
|
|
41
|
-
*
|
|
42
|
-
* @param feature - the feature to process
|
|
43
|
-
* @param label - the feature's 'label' property
|
|
44
|
-
* @param zoomLevel - the feature's 'zoom_level' property
|
|
45
|
-
* @param logger - a logger instance
|
|
46
|
-
* @returns a VectorGeoPlaceLabelsFeature object
|
|
47
|
-
*/
|
|
48
|
-
function createNewFeature(feature, logger) {
|
|
49
13
|
try {
|
|
14
|
+
feature = structuredClone(feature);
|
|
50
15
|
const properties = zPlaceLabelsProperties.parse({
|
|
51
16
|
label: feature.properties['label'],
|
|
52
|
-
|
|
53
|
-
style: feature.properties['style'],
|
|
17
|
+
admin_level: feature.properties['adminlevel'],
|
|
54
18
|
natural: feature.properties['natural'],
|
|
55
19
|
place: feature.properties['place'],
|
|
56
20
|
water: feature.properties['water'],
|
|
57
21
|
});
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const newFeature = {
|
|
64
|
-
type: feature.type,
|
|
65
|
-
properties: {
|
|
66
|
-
name: properties.label,
|
|
67
|
-
kind: convertStyleToKind(properties.style, tippecanoe.minzoom),
|
|
68
|
-
natural: properties.natural,
|
|
69
|
-
place: properties.place,
|
|
70
|
-
water: properties.water,
|
|
71
|
-
},
|
|
72
|
-
geometry: feature.geometry,
|
|
73
|
-
tippecanoe,
|
|
74
|
-
};
|
|
75
|
-
return newFeature;
|
|
22
|
+
feature.properties = properties;
|
|
23
|
+
// TODO: once we finalise the new style entries, we will update the desired `minzoom` and `maxzoom` values.
|
|
24
|
+
feature.tippecanoe.minzoom = properties.admin_level;
|
|
25
|
+
logger.trace({}, 'HandlePlaceLabels:End');
|
|
26
|
+
return feature;
|
|
76
27
|
}
|
|
77
28
|
catch (e) {
|
|
29
|
+
// discard the handful of features with null-valued `label` properties.
|
|
78
30
|
if (e instanceof z.ZodError) {
|
|
79
|
-
logger.trace({ properties: feature.properties }, 'Failed to parse required properties.');
|
|
31
|
+
logger.trace({ properties: feature.properties }, 'Failed to parse required properties. Discarding feature.');
|
|
80
32
|
}
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Determines a feature's 'kind' based on its 'styles' property.
|
|
86
|
-
*
|
|
87
|
-
* @param style - the feature's 'style' property
|
|
88
|
-
*/
|
|
89
|
-
function convertStyleToKind(style, minzoom) {
|
|
90
|
-
if (style.startsWith('ANT'))
|
|
91
|
-
return 'ant';
|
|
92
|
-
if (style.startsWith('GEO'))
|
|
93
|
-
return 'geo';
|
|
94
|
-
if (style.startsWith('TWN')) {
|
|
95
|
-
if (minzoom <= 8)
|
|
96
|
-
return 'city';
|
|
97
|
-
if (style === 'TWN1')
|
|
98
|
-
return 'suburb';
|
|
99
|
-
if (style === 'TWN2')
|
|
100
|
-
return 'town';
|
|
101
|
-
if (style === 'TWN3')
|
|
102
|
-
return 'city';
|
|
33
|
+
return null;
|
|
103
34
|
}
|
|
104
|
-
return '';
|
|
105
35
|
}
|
|
106
36
|
//# sourceMappingURL=place_labels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"place_labels.js","sourceRoot":"","sources":["../../../src/modify/layers/place_labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"place_labels.js","sourceRoot":"","sources":["../../../src/modify/layers/place_labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CAAC,OAAyB,EAAE,MAAe;IAC/E,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,yBAAyB,CAAC,CAAC;IAE5C,IAAI,CAAC;QACH,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;QAEnC,MAAM,UAAU,GAAG,sBAAsB,CAAC,KAAK,CAAC;YAC9C,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC;YAClC,WAAW,EAAE,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC;YAC7C,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC;YACtC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC;YAClC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC;SACnC,CAAC,CAAC;QAEH,OAAO,CAAC,UAAU,GAAG,UAAU,CAAC;QAChC,2GAA2G;QAC3G,OAAO,CAAC,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC,WAAW,CAAC;QAEpD,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,uBAAuB,CAAC,CAAC;QAC1C,OAAO,OAAO,CAAC;IACjB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,uEAAuE;QACvE,IAAI,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC;YAC5B,MAAM,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,EAAE,0DAA0D,CAAC,CAAC;QAC/G,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
package/build/modify/parser.d.ts
CHANGED
|
@@ -2,27 +2,23 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const zPlaceLabelsProperties: z.ZodObject<{
|
|
3
3
|
/** @example "Kaitaia" */
|
|
4
4
|
label: z.ZodString;
|
|
5
|
-
/** @example
|
|
6
|
-
|
|
7
|
-
/** @example "
|
|
8
|
-
style: z.ZodString;
|
|
9
|
-
/** @example "cape" */
|
|
5
|
+
/** @example 7 */
|
|
6
|
+
admin_level: z.ZodNumber;
|
|
7
|
+
/** @example "peak" */
|
|
10
8
|
natural: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
11
9
|
/** @example "city" */
|
|
12
10
|
place: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
13
|
-
/** @example "
|
|
11
|
+
/** @example "sea" */
|
|
14
12
|
water: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
15
13
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
style: string;
|
|
17
14
|
label: string;
|
|
18
|
-
|
|
15
|
+
admin_level: number;
|
|
19
16
|
natural?: string | undefined;
|
|
20
17
|
place?: string | undefined;
|
|
21
18
|
water?: string | undefined;
|
|
22
19
|
}, {
|
|
23
|
-
style: string;
|
|
24
20
|
label: string;
|
|
25
|
-
|
|
21
|
+
admin_level: number;
|
|
26
22
|
natural?: unknown;
|
|
27
23
|
place?: unknown;
|
|
28
24
|
water?: unknown;
|
package/build/modify/parser.js
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
const optionalString = z.preprocess((value) =>
|
|
3
|
-
if (value === '0' || value === null) {
|
|
4
|
-
return undefined;
|
|
5
|
-
}
|
|
6
|
-
else {
|
|
7
|
-
return value;
|
|
8
|
-
}
|
|
9
|
-
}, z.string().optional());
|
|
2
|
+
const optionalString = z.preprocess((value) => (value == null ? undefined : value), z.string().optional());
|
|
10
3
|
export const zPlaceLabelsProperties = z.object({
|
|
11
4
|
/** @example "Kaitaia" */
|
|
12
5
|
label: z.string(),
|
|
13
|
-
/** @example
|
|
14
|
-
|
|
15
|
-
/** @example "
|
|
16
|
-
style: z.string(),
|
|
17
|
-
/** @example "cape" */
|
|
6
|
+
/** @example 7 */
|
|
7
|
+
admin_level: z.number(),
|
|
8
|
+
/** @example "peak" */
|
|
18
9
|
natural: optionalString,
|
|
19
10
|
/** @example "city" */
|
|
20
11
|
place: optionalString,
|
|
21
|
-
/** @example "
|
|
12
|
+
/** @example "sea" */
|
|
22
13
|
water: optionalString,
|
|
23
14
|
});
|
|
24
15
|
//# sourceMappingURL=parser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../src/modify/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../src/modify/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;AAE3G,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,yBAAyB;IACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IAEjB,iBAAiB;IACjB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IAEvB,sBAAsB;IACtB,OAAO,EAAE,cAAc;IAEvB,sBAAsB;IACtB,KAAK,EAAE,cAAc;IAErB,qBAAqB;IACrB,KAAK,EAAE,cAAc;CACtB,CAAC,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -80746,9 +80746,9 @@ var ulid2 = __toESM(require_index_umd(), 1);
|
|
|
80746
80746
|
var CliInfo = {
|
|
80747
80747
|
// Detect unlinked packages looks for this string since its a package name, slightly work around it
|
|
80748
80748
|
package: "@basemaps/cli",
|
|
80749
|
-
version: "v8.
|
|
80750
|
-
hash: "
|
|
80751
|
-
buildId: "
|
|
80749
|
+
version: "v8.7.0",
|
|
80750
|
+
hash: "3e06a16cf523dbbe0e7935afaae909d022425819",
|
|
80751
|
+
buildId: "16867275946-1"
|
|
80752
80752
|
};
|
|
80753
80753
|
var CliDate = (/* @__PURE__ */ new Date()).toISOString();
|
|
80754
80754
|
var CliId = ulid2.ulid();
|
|
@@ -84966,9 +84966,14 @@ var ConfigBase = z.object({
|
|
|
84966
84966
|
/**
|
|
84967
84967
|
* Was this configuration object generated from another object
|
|
84968
84968
|
*
|
|
84969
|
-
*
|
|
84969
|
+
* tileset-all: All tileset contains all raster layers
|
|
84970
|
+
* tileset-alias: Alias that points to another tileset
|
|
84971
|
+
* imagery-name: Tileset that is identified by its imagery name
|
|
84972
|
+
* imagery-id: Tileset that is identified by its imagery id
|
|
84973
|
+
*
|
|
84974
|
+
* @default undefined
|
|
84970
84975
|
*/
|
|
84971
|
-
virtual: z.
|
|
84976
|
+
virtual: z.enum(["tileset-all", "tileset-alias", "imagery-name", "imagery-id"]).optional()
|
|
84972
84977
|
});
|
|
84973
84978
|
|
|
84974
84979
|
// ../config/build/config/tile.set.js
|
|
@@ -91423,97 +91428,43 @@ function handleKindPeak(feature, logger) {
|
|
|
91423
91428
|
}
|
|
91424
91429
|
|
|
91425
91430
|
// src/modify/parser.ts
|
|
91426
|
-
var optionalString = z.preprocess((value) =>
|
|
91427
|
-
if (value === "0" || value === null) {
|
|
91428
|
-
return void 0;
|
|
91429
|
-
} else {
|
|
91430
|
-
return value;
|
|
91431
|
-
}
|
|
91432
|
-
}, z.string().optional());
|
|
91431
|
+
var optionalString = z.preprocess((value) => value == null ? void 0 : value, z.string().optional());
|
|
91433
91432
|
var zPlaceLabelsProperties = z.object({
|
|
91434
91433
|
/** @example "Kaitaia" */
|
|
91435
91434
|
label: z.string(),
|
|
91436
|
-
/** @example
|
|
91437
|
-
|
|
91438
|
-
/** @example "
|
|
91439
|
-
style: z.string(),
|
|
91440
|
-
/** @example "cape" */
|
|
91435
|
+
/** @example 7 */
|
|
91436
|
+
admin_level: z.number(),
|
|
91437
|
+
/** @example "peak" */
|
|
91441
91438
|
natural: optionalString,
|
|
91442
91439
|
/** @example "city" */
|
|
91443
91440
|
place: optionalString,
|
|
91444
|
-
/** @example "
|
|
91441
|
+
/** @example "sea" */
|
|
91445
91442
|
water: optionalString
|
|
91446
91443
|
});
|
|
91447
91444
|
|
|
91448
91445
|
// src/modify/layers/place_labels.ts
|
|
91449
|
-
var PlaceLabelsFeatures = /* @__PURE__ */ new Map();
|
|
91450
91446
|
function handleLayerPlaceLabels(feature, logger) {
|
|
91451
91447
|
logger.trace({}, "HandlePlaceLabels:Start");
|
|
91452
|
-
const newFeature = createNewFeature(feature, logger);
|
|
91453
|
-
const name = newFeature.properties.name;
|
|
91454
|
-
const storedFeature = PlaceLabelsFeatures.get(name);
|
|
91455
|
-
if (storedFeature == null) {
|
|
91456
|
-
PlaceLabelsFeatures.set(name, newFeature);
|
|
91457
|
-
logger.trace({}, "HandlePlaceLabels:End");
|
|
91458
|
-
return newFeature;
|
|
91459
|
-
}
|
|
91460
|
-
storedFeature.tippecanoe.minzoom = newFeature.tippecanoe.minzoom;
|
|
91461
|
-
storedFeature.tippecanoe.maxzoom = newFeature.tippecanoe.minzoom;
|
|
91462
|
-
logger.trace({}, "HandlePlaceLabels:End");
|
|
91463
|
-
return structuredClone(storedFeature);
|
|
91464
|
-
}
|
|
91465
|
-
function createNewFeature(feature, logger) {
|
|
91466
91448
|
try {
|
|
91449
|
+
feature = structuredClone(feature);
|
|
91467
91450
|
const properties = zPlaceLabelsProperties.parse({
|
|
91468
91451
|
label: feature.properties["label"],
|
|
91469
|
-
|
|
91470
|
-
style: feature.properties["style"],
|
|
91452
|
+
admin_level: feature.properties["adminlevel"],
|
|
91471
91453
|
natural: feature.properties["natural"],
|
|
91472
91454
|
place: feature.properties["place"],
|
|
91473
91455
|
water: feature.properties["water"]
|
|
91474
91456
|
});
|
|
91475
|
-
|
|
91476
|
-
|
|
91477
|
-
|
|
91478
|
-
|
|
91479
|
-
};
|
|
91480
|
-
const newFeature = {
|
|
91481
|
-
type: feature.type,
|
|
91482
|
-
properties: {
|
|
91483
|
-
name: properties.label,
|
|
91484
|
-
kind: convertStyleToKind(properties.style, tippecanoe2.minzoom),
|
|
91485
|
-
natural: properties.natural,
|
|
91486
|
-
place: properties.place,
|
|
91487
|
-
water: properties.water
|
|
91488
|
-
},
|
|
91489
|
-
geometry: feature.geometry,
|
|
91490
|
-
tippecanoe: tippecanoe2
|
|
91491
|
-
};
|
|
91492
|
-
return newFeature;
|
|
91457
|
+
feature.properties = properties;
|
|
91458
|
+
feature.tippecanoe.minzoom = properties.admin_level;
|
|
91459
|
+
logger.trace({}, "HandlePlaceLabels:End");
|
|
91460
|
+
return feature;
|
|
91493
91461
|
} catch (e) {
|
|
91494
91462
|
if (e instanceof z.ZodError) {
|
|
91495
|
-
logger.trace({ properties: feature.properties }, "Failed to parse required properties.");
|
|
91463
|
+
logger.trace({ properties: feature.properties }, "Failed to parse required properties. Discarding feature.");
|
|
91496
91464
|
}
|
|
91497
|
-
|
|
91465
|
+
return null;
|
|
91498
91466
|
}
|
|
91499
91467
|
}
|
|
91500
|
-
function convertStyleToKind(style, minzoom) {
|
|
91501
|
-
if (style.startsWith("ANT"))
|
|
91502
|
-
return "ant";
|
|
91503
|
-
if (style.startsWith("GEO"))
|
|
91504
|
-
return "geo";
|
|
91505
|
-
if (style.startsWith("TWN")) {
|
|
91506
|
-
if (minzoom <= 8)
|
|
91507
|
-
return "city";
|
|
91508
|
-
if (style === "TWN1")
|
|
91509
|
-
return "suburb";
|
|
91510
|
-
if (style === "TWN2")
|
|
91511
|
-
return "town";
|
|
91512
|
-
if (style === "TWN3")
|
|
91513
|
-
return "city";
|
|
91514
|
-
}
|
|
91515
|
-
return "";
|
|
91516
|
-
}
|
|
91517
91468
|
|
|
91518
91469
|
// src/modify/shared.ts
|
|
91519
91470
|
var poly = __toESM(require_polylabel(), 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basemaps/cli-vector",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"dist/"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@basemaps/config": "^8.
|
|
52
|
+
"@basemaps/config": "^8.6.0",
|
|
53
53
|
"@basemaps/geo": "^8.3.0",
|
|
54
|
-
"@basemaps/shared": "^8.
|
|
54
|
+
"@basemaps/shared": "^8.6.0",
|
|
55
55
|
"@cotar/builder": "^6.0.1",
|
|
56
56
|
"@cotar/core": "^6.0.1",
|
|
57
57
|
"@linzjs/docker-command": "^7.5.0",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"tar-stream": "^2.2.0",
|
|
66
66
|
"zod": "^3.24.4"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "3e06a16cf523dbbe0e7935afaae909d022425819"
|
|
69
69
|
}
|
package/build/modify/schema.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VectorGeoFeature } from '../types/VectorGeoFeature.js';
|
|
2
|
-
export interface VectorGeoPlaceLabelsFeature extends VectorGeoFeature {
|
|
3
|
-
properties: {
|
|
4
|
-
/** @example "Kaitaia" */
|
|
5
|
-
name: string;
|
|
6
|
-
/** @example "ant" */
|
|
7
|
-
kind: string;
|
|
8
|
-
/** @example "cape" */
|
|
9
|
-
natural?: string;
|
|
10
|
-
/** @example "city" */
|
|
11
|
-
place?: string;
|
|
12
|
-
/** @example "bay" */
|
|
13
|
-
water?: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
package/build/modify/schema.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/modify/schema.ts"],"names":[],"mappings":""}
|