Replies: 3 comments 5 replies
-
@mradamcox this is interesting! I believe this is due to the GDAL Cache
This is unfortunate. You could try setting |
Beta Was this translation helpful? Give feedback.
-
Note: VSICurlClearCache() is not available in rasterio (we could open an issue asking if we can add it) |
Beta Was this translation helpful? Give feedback.
-
Hi Vincent, I appreciate the quick reply! Interesting about the cache, it makes sense though. I have tried starting Titiler like this:
But the problem remains. I also tried adding |
Beta Was this translation helpful? Give feedback.
-
Hi! I've been integrating Titiler into an existing project and it's been great so far, but I'm encountering something that may be a bug or perhaps I'm just missing something. If you think it's the former, I'm happy to write up a more detailed ticket.
Part of my workflow involves (re)generating a COG and copying that file over an existing COG. This means that the
url
I provide to Titiler doesn't change, but the file it is reading does. This causes a 500 error, until I restart Titiler, and then it reads the new file fine (I have it running locally withuvicorn
). So I'm wondering, is there a "force reload" operation or something? I don't have any caching set up, but it seems like Titiler is expecting something from the file after it has read it once, and errors if gets something different.In the /docs preview, when I try the preview the COG after changing it, I get this error message:
When I restart Titiler and run the same preview request, it works fine.
Thank you! I really appreciate this project and have been enjoying working with it.
Beta Was this translation helpful? Give feedback.
All reactions