# CoordinateGenerator_OpenSource **Repository Path**: hat145/coordinate-generator_-open-source ## Basic Information - **Project Name**: CoordinateGenerator_OpenSource - **Description**: 一款基于 Tauri + React + Python 的桌面坐标生成工具。支持 Markdown / CSV / Excel 输入,ArcGIS / 高德 / 百度 / DeepSeek 多服务商地理编码,Leaflet 交互式地图预览。开箱即用,无需安装 Python。 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-24 - **Last Updated**: 2026-07-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: tauri, React, Python, geocoding, Map ## README # Wu's Coordinate Generator / Wu's 坐标生成器 **Batch address → coordinates → interactive HTML map** **批量地址 → 经纬度坐标 → 交互式 HTML 地图** A cross-platform desktop app that converts address lists into geographic coordinates (latitude/longitude) using multiple geocoding providers, then renders the results on an interactive Leaflet map — all packaged as a single installer. > 一款跨平台桌面应用,可将地址列表批量转换为地理坐标(经纬度),支持多种地理编码服务商,并将结果渲染为交互式 Leaflet 地图——全部打包为单个安装程序。 [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) --- --- ## ✨ Features / 功能特性 - **Multi-provider geocoding** — ArcGIS, Amap (Gaode), Baidu Maps, OSM Nominatim, plus AI-assisted resolution via DeepSeek - **Multi-format input** — Markdown, CSV, Excel (.xlsx), HTML - **Coordinate system conversion** — WGS-84, GCJ-02, BD-09 - **Interactive map preview** — Leaflet-based map with multiple tile layers (OSM, Satellite, etc.) - **Run history & analytics** — Track past geocoding runs with success rates and performance stats - **Duplicate detection** — Automatic deduplication of input addresses - **Export formats** — GeoJSON, JSON, HTML map, plain-text summary - **Dark/light themes** — GitHub, VS Code Dark, and default styles - **Internationalization** — English, 中文 (Simplified & Traditional), Français > - **多服务商支持** — ArcGIS、高德地图、百度地图、OSM Nominatim,以及 DeepSeek AI 辅助解析 > - **多格式输入** — 支持 Markdown、CSV、Excel (.xlsx)、HTML > - **坐标系转换** — WGS-84、GCJ-02、BD-09 互转 > - **交互式地图预览** — 基于 Leaflet,支持多种瓦片图层(OSM、卫星图等) > - **运行历史与分析** — 追踪历史运行记录,查看成功率和性能统计 > - **自动去重** — 自动检测并去除重复地址 > - **多格式导出** — GeoJSON、JSON、HTML 地图、纯文本摘要 > - **深色/浅色主题** — GitHub、VS Code Dark 及默认风格 > - **国际化** — English、简体中文、繁體中文、Français --- ## 📸 Screenshots / 应用截图 | | | |---|---| | ![Main Window](coordinate-generator-tauri/public/guidebook-assets/MainPage.png) | ![Map View](coordinate-generator-tauri/public/guidebook-assets/BigMap.png) | | **Main Window / 主界面** | **Map View / 地图预览** | | ![Analytics](coordinate-generator-tauri/public/guidebook-assets/DataAnalytics.png) | ![Run History](coordinate-generator-tauri/public/guidebook-assets/RunHistoryPanel.png) | | **Analytics / 数据分析** | **Run History / 运行历史** | | ![Tutor](coordinate-generator-tauri/public/guidebook-assets/TutorPanel.png) | | | **Tutorial / 使用教程** | | --- ## 🏗️ Architecture / 项目架构 ``` CoordinateGenerator_OpenSource/ ├── coordinate-generator-tauri/ ← Tauri desktop shell (React + Rust) │ ├── src/ ← Frontend (React, TypeScript, Leaflet) │ ├── src-tauri/ ← Rust backend (Tauri commands) │ └── scripts/ ← Build & bundle scripts ├── geocode_to_json.py ← Python geocoding engine / 地理编码引擎 ├── input_loader.py ← Input file parser (CSV, XLSX, MD, HTML) / 输入文件解析器 ├── docs/ ← User guidebook / 用户手册 └── releases/ ← Pre-built installers / 预编译安装包 ``` --- ## 🚀 Quick Start / 快速开始 ### Pre-built Installer / 预编译安装包 Download the latest installer from [Releases](../../releases) and run it. No Python or Node.js required — everything is bundled. > 从 [Releases](../../releases) 下载最新安装包并运行。无需安装 Python 或 Node.js——所有依赖已内置。 ### Build from Source / 从源码构建 **Prerequisites / 环境要求:** Node.js 18+, Rust, Python 3.8+ ```bash cd coordinate-generator-tauri npm install npm run tauri dev # Development mode / 开发模式 npm run tauri build # Production build / 生产构建 ``` See [`coordinate-generator-tauri/README.md`](coordinate-generator-tauri/README.md) for detailed build instructions. > 详细构建说明请参阅 [`coordinate-generator-tauri/README.md`](coordinate-generator-tauri/README.md)。 --- ## 🔑 API Keys / API 密钥 Some geocoding providers require API keys. You can supply them in two ways: > 部分地理编码服务商需要 API 密钥,可通过以下两种方式提供: 1. **Environment file / 环境文件** — Create an `env` file beside the app executable: ``` AMAP_KEY=your_key_here BAIDU_KEY=your_key_here DEEPSEEK_KEY=your_key_here ``` 2. **In-app UI / 应用内输入** — Enter keys directly in the Settings panel (session-only). > 在设置面板中直接输入密钥(仅当次会话有效)。 ArcGIS and OSM Nominatim work without any key. > ArcGIS 和 OSM Nominatim 无需密钥即可使用。 --- ## 📄 License / 许可证 MIT © 2026 [伍浩天](https://gitee.com/hat145) --- *Built with [Tauri](https://tauri.app/), [React](https://react.dev/), [Leaflet](https://leafletjs.com/), and Python.*