google / google/s2-geometry-library-java
Retrieve cell based on shortest distance
オープン
- 主要言語
- Java
- スター
- 587
- フォーク
- 231
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
i need to create the cell for list of lat and long and then have to retrieve the cells based on shortest distance or nearby cells.
List S2CellList = new ArrayList();
S2Cell s2cell = new S2Cell(S2LatLng.fromDegrees(lat,long).toPoint());
S2CellList.add(s2cell);
like that i have added the set of cell to list for the list of lat and long. Now i need to show the cell with shortest distance. please guide me in coding.
コントリビューションガイド
調査の方向性
まず、issue に示されている S2Cell と S2LatLng の使用方法を確認し、ライブラリに既存する cell および distance API を探します。求められている結果が最も近い cell を 1 つなのか、近傍の cell を複数なのかを明確にし、その後、提供された緯度/経度リストを使って再現可能な例を定義し、選択された cell が期待される最短距離の挙動と一致することを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100