Question on missing assets for mosaic.json #1157
-
Hi there, I have been experimenting with Titiler to serve out map tiles from 4 COGs which I access through a mosaic.json file. I am able to display the tiles correctly in a basic web application, but I keep getting the following within the Titiler server console log:
I have checked the specific tiles being requested and can confirm they fall outside of my COGs extent. I'm just not sure if I should be receiving these exceptions at all if the mosaic.json were functioning correctly. Perhaps I have made an error in the preparation of my data? Some more info. The base COGs are in EPSG:6933, with the COG tiling being created with rio-cogeo using the -w parameter for web tiling (my understanding is that it creates tiles that conforms to web mercator). I have configured Titiler with the MosaicTilerFactory route, which I then access the tiles using the WebMercatorQuad TileMatrixSet. Could you provide some guidance as I've read through all of the Titiler documentation and have searched through the discussions and cannot find anyone reporting this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Hi @vincentsarago, Thanks for the reply, this seems consistent with what is happening on my setup. Just to confirm, for the cases where I have 'Tile within the mosaic bbox but with no asset', should I be expecting the server to produce a '500 Internal Server Error'? Is it fine to ignore these errors or is there a better way to handle the error when it arises? |
Beta Was this translation helpful? Give feedback.
-
Thank you @vincentsarago, the references to the handlers assisted with my problem. All working well now. |
Beta Was this translation helpful? Give feedback.
It depends if your titiler application has the correct
error handler
settitiler/src/titiler/application/titiler/application/main.py
Line 198 in 08868e5
titiler/src/titiler/mosaic/titiler/mosaic/errors.py
Line 16 in 08868e5