Metadata-Version: 2.4
Name: gcj-rectify
Version: 0.1.4
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.116.1
Requires-Dist: httpx>=0.28.1
Requires-Dist: pillow>=11.3.0
Requires-Dist: uvicorn>=0.35.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` 来设置缓存目录