Closed RS-Y closed 3 months ago
Especially when minzoom is < 10,The service response is quite slow,Then my entire service process will be occupied and stuck
Dear @RS-Y, While we encourage people raising issues, we ask for user to provide more information in order to be able to help you as much as we can.
You're talking about 2 different issues:
When mosaicjson bounds are exceeded it results in a 204 error
This was solved in 0.18.1, https://github.com/developmentseed/titiler/blob/main/CHANGES.md#0181-2024-04-12
When I use mosaicjson to request a service, the request is very slow when minzoom is small
We do need to make a better documentation for this. You can read https://github.com/developmentseed/titiler/issues/291 first.
The issue
, is that when requesting low
zoom level, the tiler will have to open/read numerous files. Some files might represent maybe only 1pixel on the final tile... meaning that it's almost useless.
We usually recommend to set fetch tiles starting for the mosaic minzoom
. We also have a settings to return 400 is the zoom requested is not between min/max zoom
When I use mosaicjson to request a service, the request is very slow when minzoom is small, and When mosaicjson bounds are exceeded it results in a 204 error. Below is the detailed error information
The mosaicjson used is as follows: {"mosaicjson":"0.0.3","version":"1.0.0","minzoom":17,"maxzoom":22,"quadkey_zoom":17,"bounds":[113.26320648193358,22.845014155559195,113.28612327575685,22.86099101151058],"center":[113.27466487884521,22.853002583534888,17],"tiles":{"13212222120030321":["E:\workspace\1\cog\1\0\1_0_b1_b2_b3_tile_0_0_cog.tif"],"13212222120030330":["E:\workspace\1\cog\1\0\1_0_b1_b2_b3_tile_0_0_cog.tif"],"13212222120030331":["E:\workspace\1\cog\1\0\1_0_b1_b2_b3_tile_0_0_cog.tif"],"13212222120031220":["E:\workspace\1\cog\1\0\1_0_b1_b2_b3_tile_0_0_cog.tif"],"13212222120031221":["E:\workspace\1\cog\1\0\1_0_b1_b2_b3_tile_0_0_cog.tif","E:\workspace\1\cog\1\0\1_0_b1_b2_b3_tile_1_0_cog.tif"]...........................}}