-
Notifications
You must be signed in to change notification settings - Fork 316
Open
Description
I would like to display a COG with PlanarView with a large extent but I see some "Texture dimensions mismatch" error in the console and tiles of map is broken.
Your Environment
- Version used: master (2987cb1)
- Link to your project: bloc-in-bloc@136c65c#diff-ab467964018a227a47f0424d9fb3d90c8773f1efe2c853fb63d9ba92a46f132e
Context
In our use case, we would like to display a planarView with large extent and be able to view geotiff files.
Steps to Reproduce
- Start the example (examples/demo_hackathon_orvault_planarView.html)
- Tiles is missing and Open console you will see some "Texture dimensions mismatch" error
Expected Behavior
Tiles of PlanarView should display correctly and maybe without error ?
Actual Behavior
Some tiles is breaking
Possible Cause/Fix/Solution
The bug occurs because the CogParser create a 1x1 Texture
And in LayeredMaterial.ts if we have a mistmatch texture size it logs an error and return immediately.
If I comment the return, tiles display well (but with console error). I don't know what to do to properly fix this issue.
Reactions are currently unavailable