An AI-powered GIS Agent that understands your geospatial tasks in natural language and automatically executes the appropriate tools.
Powered by LLM (DeepSeek by default), OpenGIS Agent simplifies remote sensing analysis and geospatial data processing — just describe what you need, and let the agent handle the rest.
git clone https://github.com/opengis-agent/opengis-agent.git
cd opengis
pip install -e .- Get a DeepSeek API Key from platform.deepseek.com
- Set the environment variable:
# Windows PowerShell $env:DEEPSEEK_API_KEY="your-api-key" # Linux/Mac export DEEPSEEK_API_KEY="your-api-key"
- Launch the Agent:
opengis-agent
🌍 GIS Task > 帮我把 D:/rasters 目录下所有 tif 重投影到 EPSG:4326,参考图是 D:/ref/reference.tif
🌍 GIS Task > 把 D:/modis/hdf 目录下的 MODIS 数据转换为 GeoTIFF
🌍 GIS Task > 计算 D:/data/precipitation.tif 在 D:/data/watersheds.shp 各区域的平均值和最大值
🌍 GIS Task > 把 D:/tiles 目录下的 GeoTIFF 影像拼接成一张完整的镶嵌图
| Tool | Description |
|---|---|
| Batch Reprojection | Reproject multiple geospatial datasets to different coordinate systems |
| MODIS Processing | Convert and reproject MODIS satellite data |
| Image Mosaic | Merge multiple images into seamless mosaics |
| Zonal Statistics | Calculate statistics for specified zones within a dataset |
You can use other OpenAI-compatible LLM providers:
$env:OPENGIS_LLM_BASE_URL="https://your-api.com"
$env:OPENGIS_LLM_MODEL="your-model-name"
opengis-agentContributions are welcome! Feel free to:
- Fork the repository
- Make your changes
- Submit a pull request
Open issues to suggest enhancements or report bugs.
This project is licensed under the MIT License.