82 lines
2.2 KiB
Plaintext
82 lines
2.2 KiB
Plaintext
# ── Python ──────────────────────────────────────────────────────────────────
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
*.egg
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
.eggs/
|
|
.mypy_cache/
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
|
|
# ── 虚拟环境 ────────────────────────────────────────────────────────────────
|
|
.venv/
|
|
venv/
|
|
env/
|
|
.env
|
|
!.env.example
|
|
|
|
# ── IDE ─────────────────────────────────────────────────────────────────────
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# ── 日志与输出(保留目录结构,忽略内容)──────────────────────────────────────
|
|
logs/*
|
|
!logs/.gitkeep
|
|
output/*
|
|
!output/.gitkeep
|
|
|
|
# ── GIS 真实数据(保留示例数据,忽略用户数据)────────────────────────────────
|
|
data/*
|
|
!data/sample/
|
|
!data/sample/**
|
|
|
|
# ── GIS 大型文件格式 ─────────────────────────────────────────────────────────
|
|
*.shp
|
|
*.dbf
|
|
*.shx
|
|
*.prj
|
|
*.cpg
|
|
*.sbn
|
|
*.sbx
|
|
*.fbn
|
|
*.fbx
|
|
*.ain
|
|
*.aih
|
|
*.atx
|
|
*.ixs
|
|
*.mxs
|
|
*.ovr
|
|
*.ecw
|
|
*.img
|
|
*.jp2
|
|
*.sid
|
|
*.tif
|
|
*.tiff
|
|
*.geotiff
|
|
# FileGDB — 整个 .gdb 文件夹
|
|
*.gdb/
|
|
# 但允许提交示例 gdb(如果有)
|
|
# !data/sample/*.gdb/
|
|
|
|
# ── Jupyter Notebook ────────────────────────────────────────────────────────
|
|
.ipynb_checkpoints/
|
|
*.ipynb_checkpoints
|
|
|
|
# ── 临时文件 ─────────────────────────────────────────────────────────────────
|
|
tmp/
|
|
temp/
|
|
*.tmp
|
|
*.bak
|
|
*.orig
|