mapbox / mapbox/mapbox-java

Add turf.difference and turf.union

未关闭
#1,461 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

jira-sync-complete
主要语言
Java
星标
438
派生
117
PR 合并指标
30 天内没有已合并 PR

描述

Hello, this port is very nice overall but it would be nice if it could have the difference and union transform operations. We have a product using turfJs and we have a new product that is processing a shape file and converting it to t geoJson. Part of this is calculating the area, we want to match the area calculation algorithm to match our js implementation but the lack of the difference and union operations is preventing us from doing so at the moment.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 Java SDK 中现有的 Turf 和 GeoJSON 操作入口点,然后将其与 Turf.js 中 difference 和 union 的行为进行比较。使用 shape-file 转 GeoJSON 和面积计算这一用例作为验收上下文;当两个操作都可用,并且针对该工作流产生匹配的结果时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, javascript
领域
data
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。