Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

predicts an incorrect polygon with upload geo image

未关闭
#42 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
typescript

调研方向

未指定文件、测试或入口点。使用提供的范围重现上传和映射流程,并将返回的多边形坐标与该范围进行比较;当预测出的多边形始终位于输入坐标范围内时,修复即告完成。

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

描述

Steps to reproduce
  • input coordinates(extent for geo image): 118.2596535119999999,30.9013170959999997;118.2914085419999992,30.9297128549999982
  • result by clicking on the map:
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [118.28328787803395, -59.08180588565382],
            [118.28333953048728, -59.08178469025044],
            [118.28338219990525, -59.081748079977345],
            [118.283413640529, -59.081709542805605],
            [118.28344957267045, -59.0816401757874],
            [118.28353041998871, -59.08152841751869],
            [118.28356186061247, -59.08145134263856],
            [118.28355736909478, -59.08140895138071],
            [118.28352592847101, -59.08136270631238],
            [118.2834742760177, -59.081322241826506],
            [118.28327215772208, -59.08122589762044],
            [118.28319580192151, -59.08117965230542],
            [118.28306554790878, -59.08112184557405],
            [118.28299368362589, -59.08107945390917],
            [118.28291283630764, -59.08105247736786],
            [118.28287241264852, -59.08105247736786],
            [118.28284770930128, -59.08106596564116],
            [118.2827758450184, -59.08114304138687],
            [118.28271745528856, -59.08123167828042],
            [118.28264559100566, -59.08132031494503],
            [118.28259618431119, -59.08141665888601],
            [118.28259169279352, -59.08145134263856],
            [118.2826366079703, -59.08151300255652],
            [118.28270622649435, -59.08156117429033],
            [118.28277359925956, -59.08158815043175],
            [118.28294876844909, -59.08168449362077],
            [118.28319580192151, -59.081796251381164],
            [118.28323173406295, -59.08180781250802],
            [118.28328787803395, -59.08180588565382]
          ]
        ]
      }
    }
  ]
}
What is expected?

The predicted polygons should be within the input coordinates (extent for geo image).

What is actually happening?

The predicted polygons is not within the input coordinates (extent for geo image).

主要语言
TypeScript
星标
111
派生
23
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

antvis/SAMJS 的其他 Issue

查看 antvis/SAMJS 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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