Integer values for attributes
まだ誰も着手していません。
評価
調査の方向性
この issue ではファイル、テスト、エントリポイントが指定されていないため、まず変数からバンドへのマッピングと、現在の -b <var name> <band no> オプションの処理を追跡します。出力属性がどのようにエンコードされているかを確認し、提案されている 2 つの精度アプローチを比較します。issue ではアプローチが選択されておらず、期待される動作も指定されていないため、完了条件は定義されていません。
索引モデルが issue の本文から書いたものです。
説明
Using integers for most output attributes might reduce vector tile file size in a number of ways. First off, an integer in and of itself is stored more efficiently than other, higher precision formats. Secondly, @yhahn indicated in conversation that if attributes are repeated across features within a vt, that value is effectively only stored once.
I see two ways to handle this:
- Always force integers. Downside of this is attributes with actual higher precisions (eg a field that ranges from -1 to 1, as do many pixel indices). Of course, this could be handled by the user scaling these values before encoding, but.
- Build into the variable --> band mapping. Right now, to specifically map a band, we pass an option like so:
-b <var name> <band no>
We could easily make this into:
-b <var name> <band no> <precision>
cc @ian29 @MateoV
- 主要言語
- Python
- スター
- 91
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mapbox/make-surface のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
mapbox/make-surface#92 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
mapbox/make-surface#91 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
mapbox/make-surface#90 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
mapbox/make-surface#89 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
mapbox/make-surface#84 · コメント 1 件 ·
mapbox/make-surface の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·