Figure out how to handle previews
See original GitHub issuePossibilities:
- Store in the database as
base64
-encoded binary blob. Might lead to significantly larger databases though. - Store a file path in the database. But leading where? This would require additional user input.
- Generate previews on the fly through
/rgb
or/singleband
with a low zoom level, or add another API endpoint that reads a whole dataset (as opposed to an XYZ tile).
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Use the Preview pane in the Finder on Mac - Apple Support
On your Mac, click the Finder icon in the Dock to open a Finder window. Select the folder or file. If you don't...
Read more >Mastering SwiftUI previews - Swift with Majid
Preview is a simple SwiftUI view. You can apply different modifiers in previews to check how your view looks with various user settings....
Read more >Types Of File Preview Errors And How To Handle Them
If you see this error message, download and open the file on your computer or phone to view it. Note: Previews will be...
Read more >Using Previews to Try Out Processes - PixInsight
Here we offer you just a brief introduction so that you can figure out how a preview object can be used to essay...
Read more >Manage preview features - Azure DevOps Services
Enable/disable or activate/deactivate features in preview at the user or organization level.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should be very easy to implement, too. Passing bounds to the raster driver is already optional and defaults to reading the entire file. So we’d just have to register another flask route for the preview, and do some adjustments in the handler to make xyz optional.
Sweet! 👌