Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Maximum number of vertices

Open
#149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Start with the MVT specification and the linked Mapbox Tiling Service documentation; compare their stated vertex limits with the MBGL JS rendering behavior described here. Determine whether a normative recommendation is appropriate, then record the decision or resulting specification change in the issue.

Written by the indexing model from the issue text.

Description

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?

Dominant language
No language data
Stars
1k
Forks
213
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mapbox/vector-tile-spec

All issues in mapbox/vector-tile-spec

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.