Landmark geofence address can resolve to city-level coordinates

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

@adambiggs 已经在做这个了。

开始于 2026年10月28日。

  • #114 来自 @adambiggs —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
swift
领域
backend, cli

调研方向

Start with Sources/RemindCore/EventKitLocation.swift, especially the CLGeocoder.geocodeAddressString call and first placemark handling cited in the issue. Trace how the resolved location reaches the CLI and is saved, then check for tests covering geocoding precision and coordinate readback. Done when landmark queries avoid silently saving a city level point, or the CLI clearly warns that the result may be coarse and lets users verify coordinates.

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

描述

clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr impact:other issue-rating: 🐚 platinum hermit P2

Creating a disposable synthetic reminder with --location "Eiffel Tower, Paris, France" --radius 100 returned this location metadata from remindctl 0.3.8:

{"address":"Eiffel Tower, Paris, France","latitude":48.8567879,"longitude":2.3510768,"proximity":"arriving","radius":100}

The expected landmark is approximately 48.85832, 2.29452 (GeoNames monument record); the returned point is about 4.1 km away. Its echoed address still names the landmark, so the label does not reveal the coarse resolution. This was observed twice through automation invoking the installed CLI, on disposable reminders only; the same coordinates survived a later ordinary edit. No private address or location was used.

Repro command shape (use a disposable list, exact-read the returned reminder ID, then delete that exact synthetic):

remindctl add "Synthetic geofence proof" --list-id "<disposable-list-UUID>" --location "Eiffel Tower, Paris, France" --radius 100 --json

The resolver calls CLGeocoder.geocodeAddressString and accepts the first placemark’s location without checking landmark precision. That file is identical in v0.3.9. The CLI exposes an address but no explicit coordinate inputs, although the internal LocationTrigger model supports coordinates.

Expected: choose a precise landmark result, expose an explicit coordinate route, or refuse coarse/ambiguous results before saving. At minimum, document that landmark queries may resolve to a city-level point and require coordinate readback before relying on the geofence.

主要语言
Swift
星标
428
派生
86
平均合并
20 分钟
30 天内合并 PR
5

环境准备

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

从这里开始

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

openclaw/remindctl 的其他 Issue

查看 openclaw/remindctl 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

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