Add support for turf-line-intersect
オープン
まだ誰も着手していません。
Turf
- 主要言語
- Java
- スター
- 438
- フォーク
- 117
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
What kind of issue is this?
- Questions are better to ask on Stack Overflow. We are actively monitoring the questions there and oftentimes, others have already asked a similar question.
- Feature request should start off by describing the problem the feature will resolve. Please open a GitHub ticket beforehand with information about the feature to spark some discussion about the topic and once you have our support.
- Bug Report can be reported using the provided template below:
Expected Behavior
I want to detect which roads intersect the route line I've drawn on the map and the coordinate pairs for these intersections.
Current Behavior
Currently there is no way to do this that's doesn't require a lot customer math on the part of the developer. This is because our Java Turf library does not support turf-line-intersect.
Possible Implementation
Porting Turf's lineIntersect would be the most consistent, straightforward way to handle the above use case.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、docs/turf-port.md にある Java Turf ライブラリの未サポート項目を確認し、要求されている動作を Turf の lineIntersect ドキュメントと比較します。ルート線と道路線の間の交点を検出して座標ペアを返す機能を追加し、その後、代表的な線形ジオメトリに対して結果の動作を検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- data
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100