Integer values for attributes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
La issue non indica file, test o punti di ingresso; inizia tracciando la mappatura tra variabili e bande e la gestione attuale dell’opzione -b <var name> <band no>. Esamina come vengono codificati gli attributi di output e confronta i due approcci di precisione proposti. I criteri di completamento non sono definiti perché la issue non sceglie un approccio né specifica il comportamento previsto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 91
- Fork
- 18
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mapbox/make-surface
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
mapbox/make-surface#92 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
mapbox/make-surface#91 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
mapbox/make-surface#90 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
mapbox/make-surface#89 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
mapbox/make-surface#84 · 1 commento ·
Tutte le issue di mapbox/make-surface
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
canonical/paas-charm#368 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
addition to tracking list Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
StevenBlack/hosts#3256 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
qualcomm/qai-appbuilder#275 ·