-
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(config): Add resizeKernel into the config tileset then disable f…
…astShrinkOnLoad. BM-1146 (#3377) ### Motivation As raster Topo map got edge effects on low zoom levels usually below zoom 6, like following. ![image](https://github.com/user-attachments/assets/44a0e388-a00b-4d70-bfda-62414930dab8) We have tests that with output resize kernel of `mitchell` and disable the fastShrinkOnLoad for lower scales levels will fix this problem. ![image](https://github.com/user-attachments/assets/dcf1af02-16b8-4738-81b7-dc4c5ef255ab) ### Modifications - Add the resiseKernel setting in the config bundle, so that we can bundle it into server. - disable `fastShrinkOnLoad` for the `resize.scale`less than 0.125. - Not fix yet: The virtual tileset for `topo-raster-50k` and `topo-raster-250k` won't fix as we can't propagate the resize kernel from combined tileset -> imagery config -> virtual tileset. Unless we add optional resizeKernal property for imagery config. ### Verification Local test. ![image](https://github.com/user-attachments/assets/4a15d740-46c7-4592-a238-35864b701b77)
- Loading branch information
1 parent
c3c795b
commit bd3357e
Showing
5 changed files
with
13 additions
and
4 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