Skip to content

[BUG] Geotiff (COG) with PlanarView #2716

@ketourneau

Description

@ketourneau

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.

Image

Your Environment

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

  1. Start the example (examples/demo_hackathon_orvault_planarView.html)
  2. 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions