@basemaps/bathymetry 7.4.0 → 7.6.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/__tests__/hash.test.d.ts +1 -0
- package/build/__tests__/hash.test.js +13 -0
- package/build/__tests__/hash.test.js.map +1 -0
- package/build/__tests__/stac.test.d.ts +1 -0
- package/build/__tests__/stac.test.js +181 -0
- package/build/__tests__/stac.test.js.map +1 -0
- package/build/bathy.maker.d.ts +60 -0
- package/build/bathy.maker.js +233 -0
- package/build/bathy.maker.js.map +1 -0
- package/build/file.d.ts +24 -0
- package/build/file.js +49 -0
- package/build/file.js.map +1 -0
- package/build/gdal/__tests__/gdal.progress.test.d.ts +1 -0
- package/build/gdal/__tests__/gdal.progress.test.js +23 -0
- package/build/gdal/__tests__/gdal.progress.test.js.map +1 -0
- package/build/gdal/gdal.command.d.ts +42 -0
- package/build/gdal/gdal.command.js +118 -0
- package/build/gdal/gdal.command.js.map +1 -0
- package/build/gdal/gdal.d.ts +18 -0
- package/build/gdal/gdal.docker.d.ts +17 -0
- package/build/gdal/gdal.docker.js +87 -0
- package/build/gdal/gdal.docker.js.map +1 -0
- package/build/gdal/gdal.js +28 -0
- package/build/gdal/gdal.js.map +1 -0
- package/build/gdal/gdal.local.d.ts +9 -0
- package/build/gdal/gdal.local.js +22 -0
- package/build/gdal/gdal.local.js.map +1 -0
- package/build/gdal/gdal.progress.d.ts +13 -0
- package/build/gdal/gdal.progress.js +65 -0
- package/build/gdal/gdal.progress.js.map +1 -0
- package/build/hash.d.ts +6 -0
- package/build/hash.js +21 -0
- package/build/hash.js.map +1 -0
- package/build/index.d.ts +4 -0
- package/build/index.js +128 -0
- package/build/index.js.map +1 -0
- package/build/mapnik.d.ts +9 -0
- package/build/mapnik.js +80 -0
- package/build/mapnik.js.map +1 -0
- package/build/stac.d.ts +21 -0
- package/build/stac.js +127 -0
- package/build/stac.js.map +1 -0
- package/package.json +5 -6
package/build/mapnik.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
|
5
|
+
import { TileMatrixSet } from '@basemaps/geo';
|
|
6
|
+
import * as fs from 'fs';
|
|
7
|
+
/** To prevent the long compile time of mapnik for development, only pull it in when needed */
|
|
8
|
+
import mapnik from 'mapnik';
|
|
9
|
+
mapnik.register_default_input_plugins();
|
|
10
|
+
/** Create the mapnik template */
|
|
11
|
+
function makeTemplate(sourceFile, hillShade) {
|
|
12
|
+
return `<?xml version="1.0" encoding="utf-8"?>
|
|
13
|
+
<!DOCTYPE Map[]>
|
|
14
|
+
<Map background-color="#2a383e" srs="+init=epsg:4326">
|
|
15
|
+
|
|
16
|
+
<Style comp-op="color-dodge" filter-mode="first" name="gebco2019webmercator2">
|
|
17
|
+
<Rule>
|
|
18
|
+
<RasterSymbolizer default-color="rgba(0, 0, 0, 0)" default-mode="linear" scaling="bilinear">
|
|
19
|
+
<stop color="#222222" value="0" />
|
|
20
|
+
<stop color="#ebebeb" value="255" />
|
|
21
|
+
</RasterSymbolizer>
|
|
22
|
+
</Rule>
|
|
23
|
+
</Style>
|
|
24
|
+
<Layer name="gebco2019webmercator2" srs="+init=epsg:4326">
|
|
25
|
+
<StyleName><![CDATA[gebco2019webmercator2]]></StyleName>
|
|
26
|
+
<Datasource>
|
|
27
|
+
<Parameter name="file"><![CDATA[${hillShade}]]></Parameter>
|
|
28
|
+
<Parameter name="band"><![CDATA[1]]></Parameter>
|
|
29
|
+
<Parameter name="type"><![CDATA[gdal]]></Parameter>
|
|
30
|
+
</Datasource>
|
|
31
|
+
</Layer>
|
|
32
|
+
<Style comp-op="color-dodge" filter-mode="first" name="gebco2019webmercator-deuce">
|
|
33
|
+
<Rule>
|
|
34
|
+
<RasterSymbolizer default-color="rgba(0, 0, 0, 0)" default-mode="linear" opacity="0.75" scaling="bilinear">
|
|
35
|
+
<stop color="rgba(0, 0, 0, 0)" value="-350" />
|
|
36
|
+
<stop color="#88b3ac" value="0" />
|
|
37
|
+
<stop color="#e7f0ef" value="200" />
|
|
38
|
+
</RasterSymbolizer>
|
|
39
|
+
</Rule>
|
|
40
|
+
</Style>
|
|
41
|
+
<Style comp-op="multiply" filter-mode="first" name="gebco2019webmercator">
|
|
42
|
+
<Rule>
|
|
43
|
+
<RasterSymbolizer default-color="rgba(0, 0, 0, 0)" default-mode="linear" scaling="bilinear">
|
|
44
|
+
<stop color="#000000" value="-10881" />
|
|
45
|
+
<stop color="#ffffff" value="100" />
|
|
46
|
+
<stop color="rgba(0, 0, 0, 0)" value="101" />
|
|
47
|
+
</RasterSymbolizer>
|
|
48
|
+
</Rule>
|
|
49
|
+
</Style>
|
|
50
|
+
<Layer name="gebco2019webmercator" srs="+init=epsg:4326">
|
|
51
|
+
<StyleName><![CDATA[gebco2019webmercator]]></StyleName>
|
|
52
|
+
<StyleName><![CDATA[gebco2019webmercator-deuce]]></StyleName>
|
|
53
|
+
<Datasource>
|
|
54
|
+
<Parameter name="file"><![CDATA[${sourceFile}]]></Parameter>
|
|
55
|
+
<Parameter name="band"><![CDATA[1]]></Parameter>
|
|
56
|
+
<Parameter name="type"><![CDATA[gdal]]></Parameter>
|
|
57
|
+
</Datasource>
|
|
58
|
+
</Layer>
|
|
59
|
+
</Map>`;
|
|
60
|
+
}
|
|
61
|
+
/** composite a hillshade and base tile into a hillshaded file with mapnik */
|
|
62
|
+
async function render(bm, tile, logger) {
|
|
63
|
+
const tileId = TileMatrixSet.tileToName(tile);
|
|
64
|
+
const warpedPath = bm.tmpFolder.name("warped" /* FileType.Warped */, tileId);
|
|
65
|
+
const hillShadePath = bm.tmpFolder.name("hillshade" /* FileType.HillShade */, tileId);
|
|
66
|
+
const outputPath = bm.tmpFolder.name("rendered" /* FileType.Rendered */, tileId);
|
|
67
|
+
if (fs.existsSync(outputPath))
|
|
68
|
+
return outputPath;
|
|
69
|
+
const template = makeTemplate(warpedPath, hillShadePath);
|
|
70
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
71
|
+
const map = new mapnik.Map(bm.config.tileSize, bm.config.tileSize);
|
|
72
|
+
await new Promise((resolve, reject) => map.fromString(template, (err) => (err == null ? resolve() : reject(err))));
|
|
73
|
+
map.zoomAll();
|
|
74
|
+
const startTime = Date.now();
|
|
75
|
+
await new Promise((resolve, reject) => map.renderFile(outputPath, (err) => (err == null ? resolve() : reject(err))));
|
|
76
|
+
logger.debug({ duration: Date.now() - startTime }, 'MapnikRender');
|
|
77
|
+
return outputPath;
|
|
78
|
+
}
|
|
79
|
+
export const MapnikRender = { render };
|
|
80
|
+
//# sourceMappingURL=mapnik.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapnik.js","sourceRoot":"","sources":["../src/mapnik.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,wDAAwD;AACxD,4DAA4D;AAC5D,sDAAsD;AACtD,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,8FAA8F;AAC9F,OAAO,MAAM,MAAM,QAAQ,CAAC;AAI5B,MAAM,CAAC,8BAA8B,EAAE,CAAC;AAExC,iCAAiC;AACjC,SAAS,YAAY,CAAC,UAAkB,EAAE,SAAiB;IACzD,OAAO;;;;;;;;;;;;;;;wCAe+B,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA2BT,UAAU;;;;;OAK3C,CAAC;AACR,CAAC;AAED,6EAA6E;AAC7E,KAAK,UAAU,MAAM,CAAC,EAAc,EAAE,IAAU,EAAE,MAAe;IAC/D,MAAM,MAAM,GAAG,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAC9C,MAAM,UAAU,GAAG,EAAE,CAAC,S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OAAO,UAAU,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,MAAM,EAAE,CAAC"}
|
package/build/stac.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Bounds, StacCollection, StacItem, Tile } from '@basemaps/geo';
|
|
2
|
+
import { LogType } from '@basemaps/shared';
|
|
3
|
+
import { BathyMaker } from './bathy.maker.js';
|
|
4
|
+
/** Write some basic metadata about how the file was created*/
|
|
5
|
+
declare function createItem(bm: BathyMaker, tile: Tile): Promise<StacItem>;
|
|
6
|
+
/**
|
|
7
|
+
* Build a collection.json for the created files
|
|
8
|
+
|
|
9
|
+
* @param bm build config
|
|
10
|
+
* @param bounds the extent of the output
|
|
11
|
+
* @param itemNames the names of the stac item json files
|
|
12
|
+
*/
|
|
13
|
+
declare function createCollection(bm: BathyMaker, bounds: Bounds, itemNames: string[], logger: LogType): Promise<StacCollection>;
|
|
14
|
+
export declare const Stac: {
|
|
15
|
+
Version: "1.0.0-beta.2";
|
|
16
|
+
License: "CC BY 4.0";
|
|
17
|
+
BaseMapsExtension: "https://basemaps.linz.govt.nz/json-schema/stac-basemaps-extension/1.0/schema.json";
|
|
18
|
+
createItem: typeof createItem;
|
|
19
|
+
createCollection: typeof createCollection;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
package/build/stac.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Projection, Stac as StacStatic, TileMatrixSet, } from '@basemaps/geo';
|
|
2
|
+
import { extractYearRangeFromName, fsa, titleizeImageryName } from '@basemaps/shared';
|
|
3
|
+
import * as cp from 'child_process';
|
|
4
|
+
import { readFileSync } from 'fs';
|
|
5
|
+
import path, { basename } from 'path';
|
|
6
|
+
import url from 'url';
|
|
7
|
+
import { Hash } from './hash.js';
|
|
8
|
+
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|
9
|
+
const packageJson = JSON.parse(readFileSync(path.join(__dirname, '../package.json')).toString());
|
|
10
|
+
function getCommitHash() {
|
|
11
|
+
return packageJson.gitHead ?? cp.execSync('git rev-parse HEAD').toString().trim();
|
|
12
|
+
}
|
|
13
|
+
/** Write some basic metadata about how the file was created*/
|
|
14
|
+
async function createItem(bm, tile) {
|
|
15
|
+
const { tileMatrix } = bm.config;
|
|
16
|
+
const tileId = TileMatrixSet.tileToName(tile);
|
|
17
|
+
const outputTiffPath = bm.tmpFolder.name("output" /* FileType.Output */, tileId);
|
|
18
|
+
const bbox = Projection.tileToWgs84Bbox(tileMatrix, tile);
|
|
19
|
+
const { geometry } = Projection.get(tileMatrix).boundsToGeoJsonFeature(tileMatrix.tileToSourceBounds(tile));
|
|
20
|
+
const created = new Date().toISOString();
|
|
21
|
+
return {
|
|
22
|
+
stac_version: StacStatic.Version,
|
|
23
|
+
stac_extensions: ['projection', StacStatic.BaseMapsExtension],
|
|
24
|
+
id: bm.config.id + '/' + tileId,
|
|
25
|
+
collection: bm.config.id,
|
|
26
|
+
type: 'Feature',
|
|
27
|
+
bbox,
|
|
28
|
+
geometry,
|
|
29
|
+
properties: {
|
|
30
|
+
datetime: created,
|
|
31
|
+
'checksum:multihash': await Hash.hash(outputTiffPath),
|
|
32
|
+
'proj:epsg': tileMatrix.projection.code,
|
|
33
|
+
'linz:gdal:version': await bm.gdalVersion,
|
|
34
|
+
'linz:tile_matrix_set': tileMatrix.identifier,
|
|
35
|
+
},
|
|
36
|
+
assets: {
|
|
37
|
+
tiff: {
|
|
38
|
+
href: path.basename(outputTiffPath),
|
|
39
|
+
title: 'GeoTiff',
|
|
40
|
+
roles: ['data'],
|
|
41
|
+
type: 'image/tiff; application=geotiff',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
links: [{ rel: 'collection', href: 'collection.json' }],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Build a collection.json for the created files
|
|
49
|
+
|
|
50
|
+
* @param bm build config
|
|
51
|
+
* @param bounds the extent of the output
|
|
52
|
+
* @param itemNames the names of the stac item json files
|
|
53
|
+
*/
|
|
54
|
+
async function createCollection(bm, bounds, itemNames, logger) {
|
|
55
|
+
const { tileMatrix } = bm.config;
|
|
56
|
+
const bbox = [Projection.get(tileMatrix).boundsToWgs84BoundingBox(bounds)];
|
|
57
|
+
const name = basename(bm.inputPath);
|
|
58
|
+
let description;
|
|
59
|
+
const links = [
|
|
60
|
+
{
|
|
61
|
+
rel: 'self',
|
|
62
|
+
href: new URL(bm.tmpFolder.basename("stac" /* FileType.Stac */, 'collection'), bm.outputPath).href,
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
rel: 'derived_from',
|
|
66
|
+
href: bm.inputPath,
|
|
67
|
+
'checksum:multihash': await bm.createSourceHash(logger),
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
rel: 'derived_from',
|
|
71
|
+
href: (packageJson.repository.url ?? packageJson.repository) + '#' + getCommitHash(),
|
|
72
|
+
version: packageJson.version,
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
for (const name of itemNames) {
|
|
76
|
+
links.push({ rel: 'item', href: name, type: 'application/geo+json' });
|
|
77
|
+
}
|
|
78
|
+
let sourceStac = {};
|
|
79
|
+
const providers = [
|
|
80
|
+
{ name: 'Land Information New Zealand', url: 'https://www.linz.govt.nz/', roles: ['processor'] },
|
|
81
|
+
];
|
|
82
|
+
const interval = [];
|
|
83
|
+
try {
|
|
84
|
+
const sourceCollectionPath = new URL('collection.json', bm.inputPath);
|
|
85
|
+
sourceStac = await fsa.readJson(sourceCollectionPath);
|
|
86
|
+
description = sourceStac.description;
|
|
87
|
+
interval.push(...(sourceStac.extent?.temporal?.interval ?? []));
|
|
88
|
+
links.push({ href: sourceCollectionPath.href, rel: 'sourceImagery', type: 'application/json' });
|
|
89
|
+
if (sourceStac.providers != null)
|
|
90
|
+
providers.push(...sourceStac.providers);
|
|
91
|
+
}
|
|
92
|
+
catch (err) {
|
|
93
|
+
if (err.code !== 404) {
|
|
94
|
+
throw err;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
const title = sourceStac.title ?? titleizeImageryName(name);
|
|
98
|
+
if (description == null) {
|
|
99
|
+
description = 'No description';
|
|
100
|
+
}
|
|
101
|
+
if (interval.length === 0) {
|
|
102
|
+
const years = extractYearRangeFromName(name);
|
|
103
|
+
if (years == null)
|
|
104
|
+
throw new Error('Missing date in imagery name: ' + name);
|
|
105
|
+
interval.push(years.map((y) => `${y}-01-01T00:00:00Z`));
|
|
106
|
+
}
|
|
107
|
+
return {
|
|
108
|
+
stac_version: StacStatic.Version,
|
|
109
|
+
stac_extensions: ['projection'],
|
|
110
|
+
id: bm.config.id,
|
|
111
|
+
title,
|
|
112
|
+
description,
|
|
113
|
+
extent: {
|
|
114
|
+
spatial: {
|
|
115
|
+
bbox,
|
|
116
|
+
},
|
|
117
|
+
temporal: { interval },
|
|
118
|
+
},
|
|
119
|
+
license: StacStatic.License,
|
|
120
|
+
links,
|
|
121
|
+
providers,
|
|
122
|
+
keywords: ['Bathymetry'],
|
|
123
|
+
summaries: { 'proj:epsg': [bm.config.tileMatrix.projection.code] },
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
export const Stac = { createItem, createCollection, ...StacStatic };
|
|
127
|
+
//# sourceMappingURL=stac.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stac.js","sourceRoot":"","sources":["../src/stac.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,IAAI,IAAI,UAAU,EAMlB,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,wBAAwB,EAAE,GAAG,EAAW,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE/F,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,GAAG,MA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AU,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basemaps/bathymetry",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.6.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/linz/basemaps.git",
|
|
@@ -28,15 +28,14 @@
|
|
|
28
28
|
"build/"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@basemaps/cli": "^7.
|
|
32
|
-
"@basemaps/geo": "^7.
|
|
33
|
-
"@basemaps/shared": "^7.
|
|
31
|
+
"@basemaps/cli": "^7.6.0",
|
|
32
|
+
"@basemaps/geo": "^7.5.0",
|
|
33
|
+
"@basemaps/shared": "^7.6.0",
|
|
34
34
|
"@rushstack/ts-command-line": "^4.3.13",
|
|
35
|
-
"multihashes": "^4.0.2",
|
|
36
35
|
"ulid": "^2.3.0"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
38
|
"@types/mapnik": "^3.0.1"
|
|
40
39
|
},
|
|
41
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b97ded866e18b19410cb3effd5c67240e8980da4"
|
|
42
41
|
}
|