Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

specify maximum buffer

Aperta
#82 6 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
48/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Ambito
documentation

Direzione di ricerca

Inizia dalla sezione 4.1 del 2.1 README e esamina il vector-tile-spec issue collegato nella descrizione. Verifica come i limiti di coordinate proposti si inseriscono nel linguaggio esistente relativo a extent e buffering. Il lavoro è completato quando la specifica indica chiaramente il buffer massimo concordato, includendo entrambi i limiti delle coordinate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.0 Specification

[This is like https://github.com/mapbox/vector-tile-spec/issues/59, but getting at the actual implementation need in mapbox-gl.]

To ensure that implementations can make reasonable assumptions about the size of integers needed to store coordinate values for vector tiles of a given extent, the specification should place limits on how much buffering is permissible for a given extent.

Proposed change: in 4.1 replace

A layer MUST contain an extent that describes the width and height of the tile in integer coordinates. The geometries within the Vector Tile MAY extend past the bounds of the tile's area as defined by the extent. Geometries that extend past the tile's area as defined by extent are often used as a buffer for rendering features that overlap multiple adjacent tiles.

with

A layer MUST contain an extent that describes the width and height of the tile in integer coordinates. As a buffer for rendering features that overlap multiple adjacent tiles, the coordinates of geometries within the Vector Tile MAY extend past the bounds of the tile's area as defined by the extent, subject to the following limitations:

  • A geometry MUST NOT have a coordinate value greater than (extent * 2) - 1
  • A geometry MUST NOT have a coordinate value less than -extent

In other words, no more than one tile's worth of buffer is permitted.

cc @flippmoke @lucaswoj @springmeyer @ericfischer

Lingua principale
Nessun dato sulla lingua
Stelle
1k
Fork
213
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapbox/vector-tile-spec

Tutte le issue di mapbox/vector-tile-spec

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.