Skip to content

Maximum number of vertices #149

Description

@systemed

Mapbox Tiling Service docs allude to MBGL performance issues with long linestrings and polygon rings:

Note: Even if the simplification is specified as 0, complex features will receive additional simplification so that they can be rendered correctly by Mapbox GL. Polygons or MultiPolygons with more than 65535 vertices and LineStrings and polygon rings with more than 6553 points will be simplified to reduce their complexity to these limits.

With tilemaker-generated tiles, rendered by MBGL JS, we've also encountered rendering issues that appear to be caused by very long linestrings.

Should the MVT spec recommend (probably as SHOULD rather than MUST) a maximum size, or is this a rendering implementation detail that users are expected to check with their chosen client?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions