generated from linz/template-javascript-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tileindex-validate): detect when tiffs are not in EPSG:2193 and …
…error (#448)
- Loading branch information
Showing
3 changed files
with
56 additions
and
32 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
src/commands/tileindex-validate/__test__/tileindex.validate.data.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import { CogTiff } from '@cogeotiff/core'; | ||
|
||
export const DuplicateInput = [ | ||
{ source: { uri: 's3://test-path-one' }, images: [{ origin: [1492000, 6234000] }] }, | ||
{ source: { uri: 's3://test-path-two' }, images: [{ origin: [1684000, 6018000] }] }, | ||
{ source: { uri: 's3://duplicate' }, images: [{ origin: [1492000, 6234000] }] }, | ||
{ source: { uri: 's3://test-path-one' }, images: [{ origin: [1492000, 6234000], epsg: 2193 }] }, | ||
{ source: { uri: 's3://test-path-two' }, images: [{ origin: [1684000, 6018000], epsg: 2193 }] }, | ||
{ source: { uri: 's3://duplicate' }, images: [{ origin: [1492000, 6234000], epsg: 2193 }] }, | ||
] as unknown as CogTiff[]; | ||
|
||
export const DuplicateOutput = [{ tileName: 'AS21_1000_0101', uris: ['s3://test-path-one', 's3://duplicate'] }]; | ||
|
||
export const NoDuplicateInput = [ | ||
{ source: { uri: 's3://test-path-one' }, images: [{ origin: [1492000, 6234000] }] }, | ||
{ source: { uri: 's3://test-path-two' }, images: [{ origin: [1684000, 6018000] }] }, | ||
{ source: { uri: 's3://test-path-three' }, images: [{ origin: [1732000, 5766000] }] }, | ||
{ source: { uri: 's3://test-path-one' }, images: [{ origin: [1492000, 6234000], epsg: 2193 }] }, | ||
{ source: { uri: 's3://test-path-two' }, images: [{ origin: [1684000, 6018000], epsg: 2193 }] }, | ||
{ source: { uri: 's3://test-path-three' }, images: [{ origin: [1732000, 5766000], epsg: 2193 }] }, | ||
] as unknown as CogTiff[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters