mapbox / mapbox/vector-tile-spec

ClosePath does not move the Cursor

Open
#49 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am creating this issue for open discussion and a note for future releases. Currently the `ClosePath` command does not move the cursor. This was not described in v1 and most existing vector tiles are currently encoded in such a way that `ClosePath` does not move the cursor. From a logical standpoint, it might make sense to have `ClosePath` move the cursor to the initial point of that linear ring.

Contributor guide

Open the contributing guide

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.

Research direction

Review the ClosePath behavior described in the v1 specification and compare it with how existing vector tiles encode ClosePath. The issue is framed as an open discussion, so a clear resolution about whether the cursor should move is needed before implementation or specification work can be considered done.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.