mapbox / mapbox/vector-tile-spec

Nice To have: BBox or Centroid per Feature

Open
#101 5 comments 2 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

Hello,

by geojson spec features could have a bbox
see https://geojson.org/geojson-spec.html#bounding-boxes

i need to read as fast as possible the the boundary box per feature. I export it now as propertie, but it will scale the filesize by 3 times. So maybe its possible to get it as small as the geometry by include it and calculate it with tippecanoe and put it to the bbox attribute?
Would be nice to include it to the vector-tile-spec

Thanks

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 GeoJSON bounding-box section linked in the issue alongside the vector-tile specification and the mention of tippecanoe. Determine whether per-feature bounding boxes or centroids belong in the specification, how they would be represented, and what the completed specification change would need to define.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
data
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.