-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): make cog with aligned level, stop using MaxPixelWitdh to c…
…alculate zoom levels. BM-703 (#2571) * Add minZoom to the make cog cli * Covert zoom level * Calucation cog zoom by aligned levels * Fix the tests. * test commits * Revert "test commits" This reverts commit be5cbdc. * Remove the MaxImagePixelWidth constant
- Loading branch information
1 parent
7c21ca0
commit 3a15f37
Showing
7 changed files
with
64 additions
and
50 deletions.
There are no files selected for viewing
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
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
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,5 +1,5 @@ | ||
/** Default Maximum desired image size */ | ||
export const MaxImagePixelWidth = 256000; | ||
/** Default Aligned levels between resolution zoom level and cog zoom level */ | ||
export const AlignedLevel = 6; | ||
|
||
/** When a tile has at least this much covering merge it up to parent */ | ||
export const CoveringFraction = 0.25; |
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