Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

specify maximum buffer

Đang mở
#82 6 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
48/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với mục 4.1 của 2.1 README và xem xét vector-tile-spec issue được liên kết trong phần mô tả. Kiểm tra xem các giới hạn tọa độ được đề xuất phù hợp như thế nào với cách diễn đạt hiện có về extent và buffering. Được xem là hoàn tất khi đặc tả nêu rõ giới hạn buffer tối đa đã thống nhất, bao gồm cả hai cận tọa độ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
1k
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mapbox/vector-tile-spec

Tất cả issue của mapbox/vector-tile-spec

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.