Skip to content

Commit

Permalink
Remove the projection loader as duplicated function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Nov 1, 2023
1 parent a82978f commit aa350a8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 30 deletions.
1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"ansi-colors": "^4.1.1",
"deep-diff": "^1.0.2",
"flatgeobuf": "^3.23.1",
"node-fetch": "^3.2.3",
"p-limit": "^4.0.0",
"pretty-json-log": "^1.0.0",
"slugify": "^1.6.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/cog/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CogTiff, TiffTag, TiffTagGeo } from '@cogeotiff/core';
import pLimit, { LimitFunction } from 'p-limit';
import { basename } from 'path';
import { Cutline } from './cutline.js'; //
import { ProjectionLoader } from '@basemaps/shared/src/cog/projection.loader.js';
import { ProjectionLoader } from '@basemaps/geo/src/proj/projection.loader.js';
import { CogBuilderMetadata, SourceMetadata } from '@basemaps/shared/src/cog/types.js';

export const InvalidProjectionCode = 32767;
Expand Down
1 change: 0 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@linzjs/metrics": "^6.41.0",
"aws-sdk": "^2.890.0",
"entities": "^4.3.0",
"node-fetch": "^3.2.3",
"pino": "^8.6.1",
"source-map-support": "^0.5.19",
"ulid": "^2.3.0"
Expand Down
28 changes: 0 additions & 28 deletions packages/shared/src/cog/projection.loader.ts

This file was deleted.

0 comments on commit aa350a8

Please sign in to comment.