Skip to content

feat(kg-map): address search + Amap v2 full coverage (+16K temples)#363

Merged
xr843 merged 2 commits intomasterfrom
feat/address-search-amap-v2
Apr 6, 2026
Merged

feat(kg-map): address search + Amap v2 full coverage (+16K temples)#363
xr843 merged 2 commits intomasterfrom
feat/address-search-amap-v2

Conversation

@xr843
Copy link
Copy Markdown
Owner

@xr843 xr843 commented Apr 6, 2026

Summary

  • Search supports multi-token name+address matching (e.g. 福建崇恩)
  • Dropdown: blue bold name + gray address, like map apps
  • Selected entity pulses with animated ring
  • Popup shows address instead of KG/detail buttons
  • Amap v2: search by city (340 cities), imported 16,343 new monasteries
  • Reverse geocoding: 17,856 OSM entries backfilled with province/city/district
  • Total: 67,444 monasteries, 26,871 with address

🤖 Generated with Claude Code

xr843 and others added 2 commits April 6, 2026 10:04
Map UX:
- Search supports name + address multi-token matching (e.g. "福建崇恩")
- Search dropdown shows name (blue bold) + address (gray), like map apps
- Selected entity pulses with animated ring
- Popup shows address instead of knowledge graph/detail buttons

Data pipeline:
- fetch_amap_temples_v2.py: search by city (~340 cities) for full coverage
- backfill_address_regeo.py: reverse geocode OSM entries missing address
- Imported 16,343 new monasteries (v2), total 67K+
- 26,871 monasteries now have province/city/district

API:
- KGGeoEntity schema + SQL adds province/city/district fields

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@xr843 xr843 merged commit 4d400ef into master Apr 6, 2026
7 checks passed
@xr843 xr843 deleted the feat/address-search-amap-v2 branch April 6, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant