@basemaps/cli 6.16.0 → 6.20.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/CHANGELOG.md +35 -0
- package/LICENSE +2 -2
- package/build/cog/__test__/cog.test.js +3 -0
- package/build/cog/cog.js +1 -1
- package/build/cog/cog.vrt.js +1 -1
- package/build/gdal/gdal.cog.d.ts.map +1 -1
- package/build/gdal/gdal.cog.js +4 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.20.0](https://github.com/linz/basemaps/compare/v6.19.0...v6.20.0) (2022-02-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **cli:** disable reading sidecar files ([#2049](https://github.com/linz/basemaps/issues/2049)) ([d42d03b](https://github.com/linz/basemaps/commit/d42d03b34a1f3d9de895ee3c318112882e5a8972))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [6.18.0](https://github.com/linz/basemaps/compare/v6.17.0...v6.18.0) (2021-12-14)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @basemaps/cli
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [6.17.0](https://github.com/linz/basemaps/compare/v6.16.1...v6.17.0) (2021-12-05)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @basemaps/cli
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [6.16.1](https://github.com/linz/basemaps/compare/v6.16.0...v6.16.1) (2021-11-30)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @basemaps/cli
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [6.16.0](https://github.com/linz/basemaps/compare/v6.15.0...v6.16.0) (2021-11-29)
|
|
7
42
|
|
|
8
43
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
Crown copyright (c)
|
|
3
|
+
Crown copyright (c), Toitū Te Whenua Land Information New Zealand on behalf of the New Zealand Government.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/build/cog/cog.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Bounds, TileMatrixSet } from '@basemaps/geo';
|
|
|
2
2
|
import { Env, isConfigS3Role, Projection } from '@basemaps/shared';
|
|
3
3
|
import { GdalCogBuilder } from '../gdal/gdal.cog.js';
|
|
4
4
|
import { GdalProgressParser } from '../gdal/gdal.progress.js';
|
|
5
|
-
import { AwsCredentials } from '@chunkd/
|
|
5
|
+
import { AwsCredentials } from '@chunkd/source-aws-v2';
|
|
6
6
|
/**
|
|
7
7
|
* Create a onProgress logger
|
|
8
8
|
*
|
package/build/cog/cog.vrt.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Epsg } from '@basemaps/geo';
|
|
|
2
2
|
import { Env, fsa, isConfigS3Role, s3ToVsis3 } from '@basemaps/shared';
|
|
3
3
|
import { Gdal } from '../gdal/gdal.js';
|
|
4
4
|
import { onProgress } from './cog.js';
|
|
5
|
-
import { AwsCredentials } from '@chunkd/
|
|
5
|
+
import { AwsCredentials } from '@chunkd/source-aws-v2';
|
|
6
6
|
/**
|
|
7
7
|
* Build the VRT for the needed source imagery
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gdal.cog.d.ts","sourceRoot":"","sources":["../../src/gdal/gdal.cog.ts"],"names":[],"m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IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,8BAA8B,GAAG,IAAI,CAAC;IAC7C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9B,+BAA+B;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB;IACnB,IAAI,EAAE,WAAW,CAAC;gBAEN,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAE,OAAO,CAAC,qBAAqB,CAAM;IAmBvF,SAAS,IAAI,MAAM,EAAE;IAYrB,IAAI,kBAAkB,IAAI,MAAM,CAO/B;IAED,IAAI,IAAI,IAAI,MAAM,EAAE,CAmDnB;IAEK,OAAO,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;CAG3C"}
|
package/build/gdal/gdal.cog.js
CHANGED
|
@@ -84,6 +84,10 @@ export class GdalCogBuilder {
|
|
|
84
84
|
// most of the imagery contains a lot of empty tiles, no need to output them
|
|
85
85
|
'-co',
|
|
86
86
|
`SPARSE_OK=YES`,
|
|
87
|
+
// Do not attempt to read sidecar files
|
|
88
|
+
'--config',
|
|
89
|
+
`GDAL_DISABLE_READDIR_ON_OPEN`,
|
|
90
|
+
`EMPTY_DIR`,
|
|
87
91
|
// Force a target resolution to be better than the imagery not worse
|
|
88
92
|
'-tr',
|
|
89
93
|
tr,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basemaps/cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.20.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@basemaps/config": "^6.
|
|
41
|
+
"@basemaps/config": "^6.18.0",
|
|
42
42
|
"@basemaps/geo": "^6.10.0",
|
|
43
|
-
"@basemaps/shared": "^6.
|
|
44
|
-
"@chunkd/fs": "^
|
|
45
|
-
"@cogeotiff/core": "^6.
|
|
43
|
+
"@basemaps/shared": "^6.20.0",
|
|
44
|
+
"@chunkd/fs": "^8.0.3",
|
|
45
|
+
"@cogeotiff/core": "^6.1.1",
|
|
46
46
|
"@linzjs/geojson": "^6.10.0",
|
|
47
47
|
"@rushstack/ts-command-line": "^4.3.13",
|
|
48
48
|
"ansi-colors": "^4.1.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"files": [
|
|
61
61
|
"build/"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "ca2a4b302477accd62e80f994d7ef12873808fe5"
|
|
64
64
|
}
|