Skip to content

Vector Tiles Displaying Multiple Zoom Levels Simultaneously #1625

Description

@mattguthmiller

While loading a vector mbtiles, as in the AutoTester VectorMBTilesTestCase (i.e. with sampling params .singleLevel = true), many levels seem to be displayed at once. This is easily replicated with the attached example mbtiles that contains a single large polygon in Arizona with some tiles omitted at different levels (most notably level 8 is missing all but one tile) -- yet in WhirlyGlobe it appears as the entire polygon at any zoom because the lower zoom levels (0+) are still displayed at higher zoom levels (like 8+).

(This is particularly problematic with more complex geometries that are oversimplified at lower zooms, since those simplified features are still displayed over the top of the finer geometries.)

Is this some sort of desired behavior that can be avoided with a particular loader / interpreter / style configuration I haven't found yet (I think I've tried them all)? It doesn't seem like it would be, and it isn't how any other application I can think of (QGIS, Mapbox, etc) loads/renders these.

Any thoughts would be much appreciated.

test.mbtiles.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions