Metadata-Version: 2.4
Name: gcj-rectify
Version: 0.1.5
Summary: GCJ Rectify Server
Author-email: liuxspro <liuxspro@gmail.com>
Maintainer-email: liuxspro <liuxspro@gmail.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: fastapi>=0.95.0
Requires-Dist: httpx>=0.24.0
Requires-Dist: pillow>=10.0.0
Requires-Dist: uvicorn>=0.20.0
Description-Content-Type: text/markdown

# gcj-rectify

Rectify the map from GCJ-02 to WGS-84 coordinate system

## 运行服务

开发模式 
```bash
uv run uvicorn gcj_rectify_server:app --reload
```

生产模式
```bash
uv run uvicorn gcj_rectify_server:app --host 0.0.0.0 --port 8000
```

直接使用 `uvx` 运行

```bash
uvx gcj-rectify
```

## 缓存位置设置

缓存目录默认为`<cwd>/cache`, 通过环境变量 `GCJRE_CACHE` 来设置缓存目录

编辑缓存目录下的`maps.json`来增减地图