Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Replace outdated vector tile fixtures #11579

Description

@anandthakker

While working on #11489, I discovered that at least one (and probably more) of our vector tile unit test fixtures is out of date.

Specifically, https://github.com/mapbox/mapbox-gl-native/blob/553efa38e3591ce62863d4d74222710f8e3c2337/test/fixtures/map/offline/0-0-0.vector.pbf (originally added in #2721) is a v1 vector tile that appears to include a linestring with a ClosePath command. The v1 spec did not disallow this, but it causes vtzero to throw an exception ("expected command 1 but got 7").

We should:

  • For most of our unit tests, update the vector tiles we're using as test fixtures to v2 tiles.
  • Add some v1 tiles to https://github.com/mapbox/mvt-fixtures, and then add a unit test specifically targeting v1 compatibility

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    archivedArchived because of inactivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions