Skip to content

MVT rendering artifacts #5220

@thomasgwatson

Description

@thomasgwatson

Hey folks,

Trying to chase down where some rendering artifacts might be emerging.

Any hints on how to debug would be appreciated (I had a look at prior tickets but didn't find any that seemed relevant).

Challenge:

  • At different zoom levels, MVTs with polyline data are showing some glitches in their rendering.
  • Sometimes this inconsistency resolves after a pause on zooming: (implying that some zoom levels are rendering fine, and/or there are too many features and it is taking time to render them accurately)

I wonder if there is a discrepancy between the schema of MVT used by the MVT service we are using, and how deck.gl is expecting the MVT to look like.

At times it looks like the glitching features are just displaced; that they have the wrong cartesian coordinates for the tile zoom level being used. And that once the zoom is changed, the new tile arrives and the features are re-rendered, the glitching features 'snap' back into place

Some pics that demonstrate this:

low-zoom, you can see the 'confetti' effect where some features are displaced
Screen Shot 2020-12-03 at 14 37 41L

Zoom in, different features seem displaced
Screen Shot 2020-12-03 at 10 45 21

After a few moments of processing (perhaps the higher zoom tile loads)
Screen Shot 2020-12-03 at 10 45 26

Little video of what it can show up as:
https://youtu.be/czyEF3xow9U

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions