labelgrid
@ian29 がすでに取り組んでいます。
2014年9月19日 から。
評価
この issue はまだ評価されていません。
説明
- set up a new fx file in this dir https://github.com/mapbox/vtfx/blob/master/fx/drop.js
- add it to list of processors https://github.com/mapbox/vtfx/blob/master/index.js#L16-L17
- add a test for it so you can actually see the result of the processor as geojson https://github.com/mapbox/vtfx/blob/master/test/test.js#L17-L29
- then start hammering on it : )
vtfx currently doesn't turn the encoded geometries into something easier to work with. See ref here for how to interpret geom values https://github.com/mapbox/mapnik-vector-tile/blob/master/proto/vector_tile.proto#L41-L62. Luckily point geoms should be easy to interpret ([ 9 x y]).
My guess is the flow of the processor will basically be:
- Set up an object to collect features by grid coord
- Iterate through features bucketing them in said object by nearest grid coord
- Grab the first feature from each bucket and push into a new features array
- Replace old features array on layer with new
- 主要言語
- JavaScript
- スター
- 4
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mapbox/vtfx のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
orderby fasterオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
First tag backlogオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
automated issue report
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
lirantal/discoprint#36 ·
メンテナーはふだん 1 日以内に返信
-
accepting PR Content:HTML
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
mdn/content#45988 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
txn2/mcp-data-platform#2030 ·
メンテナーはふだん 1 日以内に返信
-
ci hacktoberfest help wanted size/small type/bug type/docs type/enhancement up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Redo-San/RedoSan-Authenticity#527 ·
メンテナーはふだん 1 日以内に返信