@developmentseed/morecantile 0.1.1 → 0.3.0-beta.3

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 (68) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +11 -1
  3. package/dist/bounds.d.ts +1 -0
  4. package/dist/bounds.d.ts.map +1 -0
  5. package/dist/bounds.js +2 -0
  6. package/dist/bounds.js.map +1 -0
  7. package/dist/index.d.ts +4 -2
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +3 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/tile.d.ts +19 -0
  12. package/dist/tile.d.ts.map +1 -0
  13. package/dist/tile.js +35 -0
  14. package/dist/tile.js.map +1 -0
  15. package/dist/transform.d.ts +32 -0
  16. package/dist/transform.d.ts.map +1 -0
  17. package/dist/transform.js +69 -0
  18. package/dist/transform.js.map +1 -0
  19. package/dist/tsconfig.tsbuildinfo +1 -0
  20. package/dist/types/spec/index.d.ts +0 -9
  21. package/dist/types/spec/index.d.ts.map +1 -1
  22. package/dist/types/spec/index.js +0 -9
  23. package/dist/types/spec/index.js.map +1 -1
  24. package/dist/types/spec/tileMatrix.d.ts +1 -3
  25. package/dist/types/spec/tileMatrix.d.ts.map +1 -1
  26. package/dist/types/spec/tileMatrixSet.d.ts +2 -6
  27. package/dist/types/spec/tileMatrixSet.d.ts.map +1 -1
  28. package/dist/utils.d.ts +3 -1
  29. package/dist/utils.d.ts.map +1 -1
  30. package/dist/utils.js +4 -1
  31. package/dist/utils.js.map +1 -1
  32. package/package.json +24 -37
  33. package/dist/types/spec/dataType.d.ts +0 -2
  34. package/dist/types/spec/dataType.d.ts.map +0 -1
  35. package/dist/types/spec/dataType.js +0 -5
  36. package/dist/types/spec/dataType.js.map +0 -1
  37. package/dist/types/spec/geospatialData.d.ts +0 -112
  38. package/dist/types/spec/geospatialData.d.ts.map +0 -1
  39. package/dist/types/spec/geospatialData.js +0 -5
  40. package/dist/types/spec/geospatialData.js.map +0 -1
  41. package/dist/types/spec/link.d.ts +0 -36
  42. package/dist/types/spec/link.d.ts.map +0 -1
  43. package/dist/types/spec/link.js +0 -5
  44. package/dist/types/spec/link.js.map +0 -1
  45. package/dist/types/spec/propertiesSchema.d.ts +0 -71
  46. package/dist/types/spec/propertiesSchema.d.ts.map +0 -1
  47. package/dist/types/spec/propertiesSchema.js +0 -5
  48. package/dist/types/spec/propertiesSchema.js.map +0 -1
  49. package/dist/types/spec/style.d.ts +0 -27
  50. package/dist/types/spec/style.d.ts.map +0 -1
  51. package/dist/types/spec/style.js +0 -5
  52. package/dist/types/spec/style.js.map +0 -1
  53. package/dist/types/spec/tileMatrixLimits.d.ts +0 -12
  54. package/dist/types/spec/tileMatrixLimits.d.ts.map +0 -1
  55. package/dist/types/spec/tileMatrixLimits.js +0 -5
  56. package/dist/types/spec/tileMatrixLimits.js.map +0 -1
  57. package/dist/types/spec/tilePoint.d.ts +0 -25
  58. package/dist/types/spec/tilePoint.d.ts.map +0 -1
  59. package/dist/types/spec/tilePoint.js +0 -5
  60. package/dist/types/spec/tilePoint.js.map +0 -1
  61. package/dist/types/spec/tileSet.d.ts +0 -93
  62. package/dist/types/spec/tileSet.d.ts.map +0 -1
  63. package/dist/types/spec/tileSet.js +0 -5
  64. package/dist/types/spec/tileSet.js.map +0 -1
  65. package/dist/types/spec/timeStamp.d.ts +0 -5
  66. package/dist/types/spec/timeStamp.d.ts.map +0 -1
  67. package/dist/types/spec/timeStamp.js +0 -5
  68. package/dist/types/spec/timeStamp.js.map +0 -1
package/package.json CHANGED
@@ -1,67 +1,54 @@
1
1
  {
2
2
  "name": "@developmentseed/morecantile",
3
- "version": "0.1.1",
4
- "description": "TypeScript port of Morecantile for working with OGC TileMatrixSet grids",
3
+ "version": "0.3.0-beta.3",
4
+ "description": "TypeScript port of Python morecantile TileMatrixSet utilities.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
11
+ "default": "./dist/index.js"
12
12
  }
13
13
  },
14
+ "sideEffects": false,
14
15
  "files": [
15
16
  "dist"
16
17
  ],
17
- "scripts": {
18
- "build": "tsc --build",
19
- "build:watch": "tsc --build --watch",
20
- "clean": "rm -rf dist",
21
- "check": "biome check .",
22
- "check:fix": "biome check --write .",
23
- "format": "biome format .",
24
- "format:fix": "biome format --write .",
25
- "generate-types": "tsx scripts/generate-types.ts && pnpm check:fix",
26
- "lint": "biome lint .",
27
- "lint:fix": "biome lint --write .",
28
- "publint": "publint",
29
- "test": "vitest run",
30
- "test:watch": "vitest",
31
- "typecheck": "tsc --noEmit"
32
- },
33
18
  "keywords": [
19
+ "tms",
20
+ "tile-matrix-set",
21
+ "morecantile",
22
+ "xyz",
34
23
  "tiles",
35
- "tilematrixset",
36
- "ogc",
37
- "gis",
38
- "maps"
24
+ "geospatial"
39
25
  ],
26
+ "author": "Development Seed",
40
27
  "license": "MIT",
41
28
  "repository": {
42
29
  "type": "git",
43
- "url": "git+https://github.com/developmentseed/morecantile-ts.git"
44
- },
45
- "engines": {
46
- "node": ">=18"
30
+ "url": "git+https://github.com/developmentseed/deck.gl-raster.git"
47
31
  },
48
32
  "devDependencies": {
49
- "@biomejs/biome": "^2.3.10",
50
33
  "@types/node": "^25.1.0",
34
+ "jsdom": "^27.4.0",
51
35
  "json-schema-to-typescript": "^15.0.4",
52
- "publint": "^0.3.16",
53
36
  "tsx": "^4.21.0",
54
37
  "typescript": "^5.9.3",
55
- "vitest": "^3.1.1"
38
+ "vitest": "^4.0.18"
56
39
  },
57
- "pnpm": {
58
- "onlyBuiltDependencies": [
59
- "esbuild"
60
- ]
40
+ "dependencies": {
41
+ "@developmentseed/affine": "^0.3.0-beta.3"
61
42
  },
62
- "packageManager": "pnpm@10.25.0",
43
+ "peerDependencies": {},
63
44
  "volta": {
64
- "node": "24.11.1",
65
- "pnpm": "10.25.0"
45
+ "extends": "../../package.json"
46
+ },
47
+ "scripts": {
48
+ "build": "tsc --build tsconfig.build.json",
49
+ "generate-types": "tsx scripts/generate-types.ts",
50
+ "test:watch": "vitest",
51
+ "test": "vitest run",
52
+ "typecheck": "tsc --noEmit"
66
53
  }
67
54
  }
@@ -1,2 +0,0 @@
1
- export type DataType = string | ("map" | "vector" | "coverage");
2
- //# sourceMappingURL=dataType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataType.d.ts","sourceRoot":"","sources":["../../../src/types/spec/dataType.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=dataType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataType.js","sourceRoot":"","sources":["../../../src/types/spec/dataType.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,112 +0,0 @@
1
- import type { DBoundingBox } from "./2DBoundingBox.js";
2
- import type { CRS } from "./crs.js";
3
- import type { LinkSchema } from "./link.js";
4
- import type { PropertiesSchema } from "./propertiesSchema.js";
5
- import type { Style } from "./style.js";
6
- export interface GeospatialData {
7
- /**
8
- * Title of this tile matrix set, normally used for display to a human
9
- */
10
- title?: string;
11
- /**
12
- * Brief narrative description of this tile matrix set, normally available for display to a human
13
- */
14
- description?: string;
15
- /**
16
- * Unordered list of one or more commonly used or formalized word(s) or phrase(s) used to describe this layer
17
- */
18
- keywords?: string;
19
- /**
20
- * Unique identifier of the Layer. Implementation of 'identifier'
21
- */
22
- id: string;
23
- dataType: {
24
- [k: string]: unknown;
25
- } & (string | ("map" | "vector" | "coverage"));
26
- /**
27
- * The geometry dimension of the features shown in this layer (0: points, 1: curves, 2: surfaces, 3: solids), unspecified: mixed or unknown
28
- */
29
- geometryDimension?: number;
30
- /**
31
- * Feature type identifier. Only applicable to layers of datatype 'geometries'
32
- */
33
- featureType?: string;
34
- /**
35
- * Useful information to contact the authors or custodians for the layer (e.g. e-mail address, a physical address, phone numbers, etc)
36
- */
37
- pointOfContact?: string;
38
- /**
39
- * Short reference to recognize the author or provider
40
- */
41
- attribution?: string;
42
- /**
43
- * License applicable to the tiles
44
- */
45
- license?: string;
46
- /**
47
- * Organization or individual responsible for making the layer available
48
- */
49
- publisher?: string;
50
- /**
51
- * Category where the layer can be grouped
52
- */
53
- theme?: string;
54
- crs?: {
55
- [k: string]: unknown;
56
- } & CRS;
57
- /**
58
- * Epoch of the Coordinate Reference System (CRS)
59
- */
60
- epoch?: number;
61
- /**
62
- * Minimum scale denominator for usage of the layer
63
- */
64
- minScaleDenominator?: number;
65
- /**
66
- * Maximum scale denominator for usage of the layer
67
- */
68
- maxScaleDenominator?: number;
69
- /**
70
- * Minimum cell size for usage of the layer
71
- */
72
- minCellSize?: number;
73
- /**
74
- * Maximum cell size for usage of the layer
75
- */
76
- maxCellSize?: number;
77
- /**
78
- * TileMatrix identifier associated with the minScaleDenominator
79
- */
80
- maxTileMatrix?: string;
81
- /**
82
- * TileMatrix identifier associated with the maxScaleDenominator
83
- */
84
- minTileMatrix?: string;
85
- boundingBox?: {
86
- [k: string]: unknown;
87
- } & DBoundingBox;
88
- created?: {
89
- [k: string]: unknown;
90
- } & string;
91
- updated?: {
92
- [k: string]: unknown;
93
- } & string;
94
- style?: {
95
- [k: string]: unknown;
96
- } & Style;
97
- /**
98
- * URI identifying a class of data contained in this layer (useful to determine compatibility with styles or processes)
99
- */
100
- geoDataClasses?: string[];
101
- propertiesSchema?: {
102
- [k: string]: unknown;
103
- } & PropertiesSchema;
104
- /**
105
- * Links related to this layer. Possible link 'rel' values are: 'geodata' for a URL pointing to the collection of geospatial data.
106
- *
107
- * @minItems 1
108
- */
109
- links?: [LinkSchema, ...LinkSchema[]];
110
- [k: string]: unknown;
111
- }
112
- //# sourceMappingURL=geospatialData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geospatialData.d.ts","sourceRoot":"","sources":["../../../src/types/spec/geospatialData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,CAAC,MAAM,GAAG,CAAC,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC,CAAC;IAC/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE;QACJ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,GAAG,CAAC;IACR;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE;QACZ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,YAAY,CAAC;IACjB,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,MAAM,CAAC;IACX,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,MAAM,CAAC;IACX,KAAK,CAAC,EAAE;QACN,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,KAAK,CAAC;IACV;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE;QACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,gBAAgB,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,EAAE,CAAC,CAAC;IACtC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=geospatialData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geospatialData.js","sourceRoot":"","sources":["../../../src/types/spec/geospatialData.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,36 +0,0 @@
1
- /**
2
- * Schema for external references
3
- */
4
- export interface LinkSchema {
5
- /**
6
- * Supplies the URI to a remote resource (or resource fragment).
7
- */
8
- href: string;
9
- /**
10
- * The type or semantics of the relation.
11
- */
12
- rel: string;
13
- /**
14
- * This flag set to true if the link is a URL template.
15
- */
16
- templated?: boolean;
17
- /**
18
- * A base path to retrieve semantic information about the variables used in URL template.
19
- */
20
- varBase?: string;
21
- /**
22
- * A hint indicating what the media type of the result of dereferencing the link should be.
23
- */
24
- type?: string;
25
- /**
26
- * A hint indicating what the language of the result of dereferencing the link should be.
27
- */
28
- hreflang?: string;
29
- /**
30
- * Used to label the destination of a link such that it can be used as a human-readable identifier.
31
- */
32
- title?: string;
33
- length?: number;
34
- [k: string]: unknown;
35
- }
36
- //# sourceMappingURL=link.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/types/spec/link.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=link.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link.js","sourceRoot":"","sources":["../../../src/types/spec/link.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,71 +0,0 @@
1
- /**
2
- * Attributes of the features or rangetypes of a coverage. Defined by a subset of the JSON Schema for the properties of a feature
3
- */
4
- export interface PropertiesSchema {
5
- type: "object";
6
- /**
7
- * Implements 'multiplicity' by citing property 'name' defined as 'additionalProperties'
8
- *
9
- * @minItems 1
10
- */
11
- required?: [string, ...string[]];
12
- properties: {
13
- /**
14
- * No property names are defined but any property name they should be described by JSON Schema. So 'additionalProperties' implements 'name'.
15
- */
16
- [k: string]: {
17
- title?: string;
18
- /**
19
- * Implements 'description'
20
- */
21
- description?: string;
22
- type?: "array" | "boolean" | "integer" | "null" | "number" | "object" | "string";
23
- /**
24
- * Implements 'acceptedValues'
25
- *
26
- * @minItems 1
27
- */
28
- enum?: [unknown, ...unknown[]];
29
- /**
30
- * Complements implementation of 'type'
31
- */
32
- format?: string;
33
- /**
34
- * Implements 'mediaType'
35
- */
36
- contentMediaType?: string;
37
- /**
38
- * Implements 'range'
39
- */
40
- maximum?: number;
41
- /**
42
- * Implements 'range'
43
- */
44
- exclusiveMaximum?: number;
45
- /**
46
- * Implements 'range'
47
- */
48
- minimum?: number;
49
- /**
50
- * Implements 'range'
51
- */
52
- exclusiveMinimum?: number;
53
- pattern?: string;
54
- /**
55
- * Implements 'upperMultiplicity'
56
- */
57
- maxItems?: number;
58
- /**
59
- * Implements 'lowerMultiplicity'
60
- */
61
- minItems?: number;
62
- observedProperty?: string;
63
- observedPropertyURI?: string;
64
- uom?: string;
65
- uomURI?: string;
66
- [k: string]: unknown;
67
- };
68
- };
69
- [k: string]: unknown;
70
- }
71
- //# sourceMappingURL=propertiesSchema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"propertiesSchema.d.ts","sourceRoot":"","sources":["../../../src/types/spec/propertiesSchema.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACjC,UAAU,EAAE;QACV;;WAEG;QACH,CAAC,CAAC,EAAE,MAAM,GAAG;YACX,KAAK,CAAC,EAAE,MAAM,CAAC;YACf;;eAEG;YACH,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,IAAI,CAAC,EACD,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;YACb;;;;eAIG;YACH,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;YAC/B;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB;;eAEG;YACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAC1B;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB;;eAEG;YACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAC1B;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB;;eAEG;YACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;YAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;SACtB,CAAC;KACH,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=propertiesSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"propertiesSchema.js","sourceRoot":"","sources":["../../../src/types/spec/propertiesSchema.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,27 +0,0 @@
1
- import type { LinkSchema } from "./link.js";
2
- export interface Style {
3
- /**
4
- * An identifier for this style. Implementation of 'identifier'
5
- */
6
- id: string;
7
- /**
8
- * A title for this style
9
- */
10
- title?: string;
11
- /**
12
- * Brief narrative description of this style
13
- */
14
- description?: string;
15
- /**
16
- * keywords about this style
17
- */
18
- keywords?: string[];
19
- /**
20
- * Links to style related resources. Possible link 'rel' values are: 'style' for a URL pointing to the style description, 'styleSpec' for a URL pointing to the specification or standard used to define the style.
21
- *
22
- * @minItems 1
23
- */
24
- links?: [LinkSchema, ...LinkSchema[]];
25
- [k: string]: unknown;
26
- }
27
- //# sourceMappingURL=style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/types/spec/style.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,EAAE,CAAC,CAAC;IACtC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/types/spec/style.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,12 +0,0 @@
1
- /**
2
- * The limits for an individual tile matrix of a TileSet's TileMatrixSet, as defined in the OGC 2D TileMatrixSet and TileSet Metadata Standard
3
- */
4
- export interface TileMatrixLimits {
5
- tileMatrix: string;
6
- minTileRow: number;
7
- maxTileRow: number;
8
- minTileCol: number;
9
- maxTileCol: number;
10
- [k: string]: unknown;
11
- }
12
- //# sourceMappingURL=tileMatrixLimits.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tileMatrixLimits.d.ts","sourceRoot":"","sources":["../../../src/types/spec/tileMatrixLimits.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=tileMatrixLimits.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tileMatrixLimits.js","sourceRoot":"","sources":["../../../src/types/spec/tileMatrixLimits.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,25 +0,0 @@
1
- import type { CRS } from "./crs.js";
2
- export interface TilePoint {
3
- /**
4
- * @minItems 2
5
- * @maxItems 2
6
- */
7
- coordinates: [number, number];
8
- crs?: {
9
- [k: string]: unknown;
10
- } & CRS;
11
- /**
12
- * TileMatrix identifier associated with the scaleDenominator
13
- */
14
- tileMatrix?: string;
15
- /**
16
- * Scale denominator of the tile matrix selected
17
- */
18
- scaleDenominator?: number;
19
- /**
20
- * Cell size of the tile matrix selected
21
- */
22
- cellSize?: number;
23
- [k: string]: unknown;
24
- }
25
- //# sourceMappingURL=tilePoint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tilePoint.d.ts","sourceRoot":"","sources":["../../../src/types/spec/tilePoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,GAAG,CAAC,EAAE;QACJ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,GAAG,CAAC;IACR;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=tilePoint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tilePoint.js","sourceRoot":"","sources":["../../../src/types/spec/tilePoint.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,93 +0,0 @@
1
- import type { DBoundingBox } from "./2DBoundingBox.js";
2
- import type { CRS } from "./crs.js";
3
- import type { GeospatialData } from "./geospatialData.js";
4
- import type { LinkSchema } from "./link.js";
5
- import type { Style } from "./style.js";
6
- import type { TileMatrixLimits } from "./tileMatrixLimits.js";
7
- import type { TileMatrixSetDefinition } from "./tileMatrixSet.js";
8
- import type { TilePoint } from "./tilePoint.js";
9
- /**
10
- * A resource describing a tileset based on the OGC TileSet Metadata Standard. At least one of the 'TileMatrixSet', or a link with 'rel' http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme
11
- */
12
- export interface TileSetMetadata {
13
- /**
14
- * A title for this tileset
15
- */
16
- title?: string;
17
- /**
18
- * Brief narrative description of this tile set
19
- */
20
- description?: string;
21
- /**
22
- * keywords about this tileset
23
- */
24
- keywords?: string[];
25
- /**
26
- * Version of the Tile Set. Changes if the data behind the tiles has been changed
27
- */
28
- version?: string;
29
- /**
30
- * Useful information to contact the authors or custodians for the Tile Set
31
- */
32
- pointOfContact?: string;
33
- /**
34
- * Short reference to recognize the author or provider
35
- */
36
- attribution?: string;
37
- /**
38
- * License applicable to the tiles
39
- */
40
- license?: string;
41
- /**
42
- * Restrictions on the availability of the Tile Set that the user needs to be aware of before using or redistributing the Tile Set
43
- */
44
- accessConstraints?: "unclassified" | "restricted" | "confidential" | "secret" | "topSecret";
45
- /**
46
- * Media types available for the tiles
47
- */
48
- mediaTypes?: string[];
49
- dataType: {
50
- [k: string]: unknown;
51
- } & (string | ("map" | "vector" | "coverage"));
52
- /**
53
- * Limits for the TileRow and TileCol values for each TileMatrix in the tileMatrixSet. If missing, there are no limits other that the ones imposed by the TileMatrixSet. If present the TileMatrices listed are limited and the rest not available at all
54
- */
55
- tileMatrixSetLimits?: TileMatrixLimits[];
56
- crs: {
57
- [k: string]: unknown;
58
- } & CRS;
59
- /**
60
- * Epoch of the Coordinate Reference System (CRS)
61
- */
62
- epoch?: number;
63
- boundingBox?: {
64
- [k: string]: unknown;
65
- } & DBoundingBox;
66
- created?: {
67
- [k: string]: unknown;
68
- } & string;
69
- updated?: {
70
- [k: string]: unknown;
71
- } & string;
72
- /**
73
- * @minItems 1
74
- */
75
- layers?: [GeospatialData, ...GeospatialData[]];
76
- style?: {
77
- [k: string]: unknown;
78
- } & Style;
79
- centerPoint?: {
80
- [k: string]: unknown;
81
- } & TilePoint;
82
- tileMatrixSet?: TileMatrixSetDefinition;
83
- /**
84
- * Reference to a Tile Matrix Set on an official source for Tile Matrix Sets such as the OGC-NA definition server (http://www.opengis.net/def/tms). Required if the tile matrix set is registered on an open official source.
85
- */
86
- tileMatrixSetURI?: string;
87
- /**
88
- * Links to related resources. Possible link 'rel' values are: 'http://www.opengis.net/def/rel/ogc/1.0/dataset' for a URL pointing to the dataset, 'item' for a URL template to get a tile; 'alternate' for a URL pointing to another representation of the TileSetMetadata (e.g a TileJSON file); 'http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme' for a definition of the TileMatrixSet; 'http://www.opengis.net/def/rel/ogc/1.0/geodata' for pointing to a single collection (if the tileset represents a single collection)
89
- */
90
- links?: LinkSchema[];
91
- [k: string]: unknown;
92
- }
93
- //# sourceMappingURL=tileSet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tileSet.d.ts","sourceRoot":"","sources":["../../../src/types/spec/tileSet.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,iBAAiB,CAAC,EACd,cAAc,GACd,YAAY,GACZ,cAAc,GACd,QAAQ,GACR,WAAW,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,CAAC,MAAM,GAAG,CAAC,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC,CAAC;IAC/C;;OAEG;IACH,mBAAmB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACzC,GAAG,EAAE;QACH,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,GAAG,CAAC;IACR;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE;QACZ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,YAAY,CAAC;IACjB,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,MAAM,CAAC;IACX,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,cAAc,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE;QACN,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,KAAK,CAAC;IACV,WAAW,CAAC,EAAE;QACZ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,GAAG,SAAS,CAAC;IACd,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=tileSet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tileSet.js","sourceRoot":"","sources":["../../../src/types/spec/tileSet.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}
@@ -1,5 +0,0 @@
1
- /**
2
- * This property indicates the time and date when the response was generated using RFC 3339 notation.
3
- */
4
- export type TimeStamp = string;
5
- //# sourceMappingURL=timeStamp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeStamp.d.ts","sourceRoot":"","sources":["../../../src/types/spec/timeStamp.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC"}
@@ -1,5 +0,0 @@
1
- /* This file was automatically generated from OGC TMS 2.0 JSON Schema. */
2
- /* DO NOT MODIFY IT BY HAND. Instead, modify the source JSON Schema file */
3
- /* and run `pnpm run generate-types` to regenerate. */
4
- export {};
5
- //# sourceMappingURL=timeStamp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeStamp.js","sourceRoot":"","sources":["../../../src/types/spec/timeStamp.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E"}