Add support for turf-line-intersect
還沒有人認領這個 Issue。
評估
研究方向
首先檢查 docs/turf-port.md 中 Java Turf 函式庫尚未支援的項目,並將要求的行為與 Turf 的 lineIntersect 文件進行比較。新增偵測路線線與道路線之間交點並回傳其座標對的支援,然後使用具代表性的線幾何驗證所得行為。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Java
- 星號
- 438
- 分支
- 117
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
mapbox/mapbox-java 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
mapbox/mapbox-java#1640 ·
-
難度 4/5 3-5 天 新手友好度 55/100
mapbox/mapbox-java#1635 ·
-
難度 5/5 一週以上 新手友好度 15/100
mapbox/mapbox-java#1619 ·
-
Mapbox-java incompatible with gson 2.13.0 and up - call to internal GSON classes that were renamed未關閉
難度 2/5 1-3 小時 新手友好度 48/100
mapbox/mapbox-java#1614 · 2 則留言 · 1 個 reaction ·
-
難度 5/5 一週以上 新手友好度 20/100
mapbox/mapbox-java#1612 · 1 個 reaction ·
查看 mapbox/mapbox-java 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 88/100
checkstyle/checkstyle#21755 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆
-
agentic-workflows
難度 2/5 1-3 小時 新手友好度 68/100
github/copilot-sdk#2782 ·
維護者通常 1 天內回覆
-
documentation Good for newcomer quick win
難度 2/5 1-3 小時 新手友好度 68/100
CodeForPhilly/benefit-decision-toolkit#519 ·
維護者通常 1 天內回覆
-
area-deployment triage:bot-seen triage:needs-human
難度 2/5 1-3 小時 新手友好度 68/100
microsoft/aspire#20533 · 1 則留言 ·
維護者通常 1 天內回覆