grass

OSGeo活跃维护

开源地理空间处理引擎,提供栅格、矢量、影像分析与建模能力,适合做 GIS 数据处理和遥感影像分析。

GRASS - free and open-source geospatial processing engine

8.5.0发布于 2026-05-08 11:24 UTC1,187star463fork同步于 2026-11-10 11:49 UTC

怎么上手

由 README 提炼,执行前请确认
conda install -c conda-forge grass
硬件要求按 README 说明

README 未说明具体硬件要求,仅提到针对多种硬件配置上的大规模分析做了优化

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

开源地理空间处理引擎,支持栅格矢量分析与时间序列建模

开源地理空间处理引擎,提供栅格、矢量、影像分析与建模能力,适合做 GIS 数据处理和遥感影像分析。

核心能力

  • 提供栅格、矢量与影像处理的计算引擎
  • 内置时间框架与 Python API 做时序分析
  • 支持命令行、Python 或 R 接口调用
  • 可作为桌面 GIS 或后端地理处理引擎
  • 支持地形、生态与水文建模

容易踩的坑

README 未给出源码编译步骤,需另看 INSTALL.md;Docker 用法需参考 docker/README.md;下载安装需按官网平台说明选择对应版本

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本8.5.0
  1. 8.5.0GRASS 8.5.0最新正式版2026-05-08 · 2026-05-08 11:24 UTC

    The GRASS 8.5.0 release provides more than 2570 improvements and fixes with respect to the release 8.4.2. The release includes the refreshed branding from "GRASS GIS" to "GRASS" and a new logo.

    Highlights

    • New grass.tools Python API to call GRASS tools as Python functions, with direct NumPy array and raster pack I/O
    • Completely new documentation rewritten in Markdown and rendered with MkDocs
    • Parallelization added to r.mapcalc, r.texture, r.horizon (raster mode), and v.surf.rst cross-validation, with the nprocs parameter extended to r.blend, r.grow, r.mapcalc.simple, and i.image.mosaic
    • Added JSON output across dozens of tools (g.list, g.region, r.info, r.univar, r.stats, r.report, v.info, v.what, v.db.connect, and many more)
    • New r.smooth.edgepreserve tool for edge-preserving raster smoothing
    • v.class and d.vect.thematic: "discontinuities" algorithm fixed and reenabled
    • Expanded grass.jupyter: query button and drawing of simple geometries in InteractiveMap, interactive computational region updates, parallelization in TimeSeriesMap and SeriesMap, and a save() method for Map3D
    • Multiple masks per mapset, driven internally via the GRASS_MASK environment variable, with a new r.mask.status tool for reporting mask state, respected by r.mask
    • RegionManager and MaskManager context managers in grass.script for scoped region and mask changes
    • GUI improvements: projects can be added directly in the Data Catalog, column statistics can be computed on SQL-filtered or interactively selected rows in the attribute table manager, the Python editor is now dockable, the command history panel supports copying commands, and the Graphical Modeler variable syntax changed from %variable to %{variable}
    • Conda package now available as an installation option
    • CMake support for building GRASS and addons, alongside the existing Autotools build, including native Windows builds with the MSVC compiler
    • Fixed more than 500 security issues reported by Coverity Scan
    • Updated requirements: GDAL 3.7+, PROJ 9.0+, C++17, Autoconf 2.72, Python 3.10+, and the CBLAS and LAPACKE C interface for BLAS and LAPACK
    • Local macOS builds: A new script to easily build a binary (useful for building for Intel architecture, see https://github.com/OSGeo/grass/pull/4946)

    New Addon Tools

    • i.hyper (toolset): Hyperspectral data processing — import, preprocessing, visualization, and export
    • i.sam2: Image segmentation using SAMGeo with text prompts
    • r.buildvrt.gdal: Build GDAL Virtual Rasters (VRT) over GRASS raster maps
    • r.colors.qml: Apply the style (color, category) from a QML file
    • r.colors.toqml: Export GRASS raster colors and category labels to a QGIS .qml style file
    • r.curvenumber: SCS curve number lookup from land cover, hydrologic soil group, hydrologic condition, and antecedent runoff
    • r.earthworks: Terrain modeling with cut and fill operations
    • [r.gravity.terrain](https://grass.osgeo.org/grass-stable/manual
  2. 8.5.0RC1GRASS 8.5.0RC1pre-release2026-04-17 · 2026-04-17 19:33 UTC
    查看更新说明

    The GRASS 8.5.0RC1 release provides more than 2515 improvements and fixes with respect to the release 8.4.2. The release includes the refreshed branding from "GRASS GIS" to "GRASS" and a new logo.

    Highlights

    • New grass.tools Python API to call GRASS tools as Python functions, with direct NumPy array and raster pack I/O
    • Completely new documentation rewritten in Markdown and rendered with MkDocs
    • Parallelization added to r.mapcalc, r.texture, r.horizon (raster mode), and v.surf.rst cross-validation, with the nprocs parameter extended to r.blend, r.grow, r.mapcalc.simple, and i.image.mosaic
    • Added JSON output across dozens of tools (g.list, g.region, r.info, r.univar, r.stats, r.report, v.info, v.what, v.db.connect, and many more)
    • New r.smooth.edgepreserve tool for edge-preserving raster smoothing
    • v.class and d.vect.thematic: "discontinuities" algorithm fixed and reenabled
    • Expanded grass.jupyter: query button and drawing of simple geometries in InteractiveMap, interactive computational region updates, parallelization in TimeSeriesMap and SeriesMap, and a save() method for Map3D
    • Multiple masks per mapset, driven internally via the GRASS_MASK environment variable, with a new r.mask.status tool for reporting mask state, respected by r.mask
    • RegionManager and MaskManager context managers in grass.script for scoped region and mask changes
    • GUI improvements: projects can be added directly in the Data Catalog, column statistics can be computed on SQL-filtered or interactively selected rows in the attribute table manager, the Python editor is now dockable, the command history panel supports copying commands, and the Graphical Modeler variable syntax changed from %variable to %{variable}
    • Conda package now available as an installation option
    • CMake support for building GRASS and addons, alongside the existing Autotools build, including native Windows builds with the MSVC compiler
    • Fixed more than 500 security issues reported by Coverity Scan
    • Updated requirements: GDAL 3.7+, PROJ 9.0+, C++17, Autoconf 2.72, Python 3.10+, and the CBLAS and LAPACKE C interface for BLAS and LAPACK

    New Addon Tools

    • i.hyper (toolset): Hyperspectral data processing — import, preprocessing, visualization, and export
    • i.sam2: Image segmentation using SAMGeo with text prompts
    • r.buildvrt.gdal: Build GDAL Virtual Rasters (VRT) over GRASS raster maps
    • r.colors.qml: Apply the style (color, category) from a QML file
    • r.colors.toqml: Export GRASS raster colors and category labels to a QGIS .qml style file
    • r.curvenumber: SCS curve number lookup from land cover, hydrologic soil group, hydrologic condition, and antecedent runoff
    • r.earthworks: Terrain modeling with cut and fill operations
    • r.gravity.terrain: Calculate gravity terrain corrections
    • r.hand: Height Above Nearest Drainage (HAND) analysis and flood inundation mappi
  3. 8.4.2GRASS GIS 8.4.22025-11-21 · 2025-11-21 15:48 UTC
    查看更新说明

    The GRASS GIS 8.4.2 release provides more than 35 improvements and fixes with respect to the release 8.4.1.

    Highlights

    • g.region correctly respects rows and cols when saving a computational region.
    • v.overlay removes collapsed (zero-length) lines after snapping.
    • A new srtm_percent color table is available.
    • The Simple Python Editor supports scripts without required parameters.
    • The GraphicalModeler preserves previously defined where option values.

    Errata

    • Fixed an incorrect radiation conversion in i.evapo.mh that overstated evapotranspiration by using 86.4 instead of the correct factor (0.0864 MJ m⁻² day⁻¹). (#5600)

    What's Changed

    Tools

    • g.region: fix save option behavior (#5627) by @petrasovaa
    • g.region: remove unnecessary temp_window variable (#5658) by @petrasovaa
    • g.remove: improve user message to contain more details (#5484) by @neteler
    • i.evapo.mh: fix radiation conversion factor (#5600) by @jayneel-shah18
    • r.geomorphon: rename variable 'dirname' (#6632) by @nilason
    • r.plane: replace misused gisprompt to options (#5601) by @nilason
    • r.slope.aspect: replace GSAG test data with AAGRID (#5792) by @marisn
    • r.surf.idw: fix SHORT overflow (#6396) by @neteler
    • r.texture: Update tests (#3786) by @cyliang368
    • v.overlay: fix collapsed lines after snapping (#6388) by @metzm
    • v.overlay: preserve SQL type text (#6406) by @metzm
    • v.surf.idw: improve user messages (#6397) by @neteler

    Graphical User Interface

    • GUI: propagate previously defined where option value (#5747) by @landam
    • gui: add README.md and LICENSE.TXT for icons (#5387) by @neteler
    • wxGUI/datacatalog: fix adding newly created project into projects tree only once (#6453) by @tmszi
    • wxGUI/dbmgr: fix Edit selected record dialog date column type TextCtrl widget validator/hint (#6165) by @tmszi
    • wxGUI/gconsole: avoid infinite GUI-in-GUI loops for python scripts with no required params (#5603) by @pesekon2
    • wxGUI/gmodeler: fix setToolBar failing on macOS (#5298) by @pesekon2
    • wxGUI: fix URL of gismentors.zip data file (#6193) by @neteler

    Python

    • ctypesgen: Add 'bool' to ctypes type map, needed for C23 (#5621) by @nilason

    Libraries and General Functionality

    • lib/gis: fix source typo (#5224) by @luzpaz
    • lib: Add new SRTM_percent color table (backport of #4608) (#6020) by @echoix

    Windows

    • win: Trim trailing whitespace in R batch files (#4790) by @echoix

    Packaging, Configuration, Portability, and Compilation

    • configure: fix detection of AGL framework for macOS (#6560) by @nilason
    • make: pass GDAL include dirs to libgproj (#6631) by @parona-source

    Docker

    • docker: add package to docker image to be able to run gui (backport of #5476) by @benaloha
    • docker: backport updates for Ubuntu 24.04 to releasebranch_8_4 (#6540) by @ninsbl
    • docker: use GDAL-GRASS 2.0.0 (G84) (#6637) by @nilason

    Continuous Integration, Infrastructure, Tests and Code Quality

    • CI(OSGeo4W): Upgrade image to windows-2022 (backport of #5562) (#5902) by @echoix
    • CI: Fix r.texture test on macOS for v8.4 (#6478) by @neteler
    • CI: fix wrong indent style and OSGeo4W compilation (G84) (#6468) by @neteler
    • CI: minimalistic flake8 backport to re-enable pre-commit and CI (#6404) by @neteler
    • CQ: Replace crlf check with validation against an .editorconfig file (#6070) by @echoix
    • CQ: always include stdbool.h if bool is used in C code (#5618) by @nilason
    • CQ: always include stdbool.h if bool is used in C code, part 2 (#5618) by @nilason
    • CQ: remove misused gisprompt options (#5493) by @nilason
    • pytest: use correct type of quotes for SQLite (#5199, G84) (#6638) by @nilason
    • style: trim trailing whitespace by @nilason
    • CI(deps): Update alpine:3.21 Docker digest to a8560b3 (#5121) by @renovate[bot]

    New Contributors

    • Alfred Wingate (@parona-source) made their first contribution in #6631
    • @benaloha made their first contribution i
  4. 8.4.1GRASS GIS 8.4.12025-02-24 · 2025-02-24 15:32 UTC
    查看更新说明

    The GRASS GIS 8.4.1 release provides more than 80 improvements and fixes with respect to the release 8.4.0.

    DOI

    Highlights

    • r.sim.water: tool and its documentation received various updates
    • GUI: stability fixes
    • manual pages: many minor corrections including external URL updates
    • Mac binaries are now notarized

    New Addon Tools

    • r.slopeunits: toolset that creates, cleans and calculate metrics for slope units
    • r.hydrobasin: New addon for OpenMP parallel watershed delineation based on Cho (2025)
    • r.in.vect: new addon to import a vector map as raster layer
    • r.maxent.setup: new addon and refactoring r.maxent.predict and r.maxent.train
    • r.buildvrt.gdal: Create GDAL VRTs for GDAL linked raster maps

    What's Changed

    Modules

    • g.download.location: Fix typo in g.download.project call (#4205) by @wenzeslaus
    • g.download.location: Print target path in error message (#4155) by @neteler
    • g.download.project: rename g.download.location (#4187) by @petrasovaa
    • r.horizon: change JSON format (#3888) by @petrasovaa
    • r.in.gdal/r.external: add basic support for GDALs GDT_Int8 (#4256) by @ninsbl
    • r.sim: properly fix turning off parallelization with mask on (#5052) by @petrasovaa
    • r.sim.water: add info to manual, add info about progress (#4662) by @metzm
    • r.sim.water: build topology for vector output (#4969) by @metzm
    • r.sim.water: fix logfile writing (#4522) by @petrasovaa
    • r.sim: fix turning off parallelization with mask on (#5037) by @petrasovaa
    • r.sim: properly fix turning off parallelization with mask on (#5052) by @petrasovaa
    • r.univar: fix MASK check with nprocs > 1 (#4297) by @petrasovaa
    • t.rast.to.vect: Fix passing column parameter to r.to.vect (#4215) by @petrasovaa

    Graphical User Interface

    • GUI: EPSG code source: replace epsg.io with spatialreference.org (#4535) by @neteler
    • GUI: fix crashing due to File menu translation issues (#4513) by @petrasovaa
    • GUI: fix for Python3.13 (#4653) by @petrasovaa
    • gui: Happy new year 2025 by @neteler
    • wxGUI/history: fix the run of a special cmds only once (#4322) by @tmszi
    • wxGUI: Update link to the Natural Earth sample dataset (#4223) by @ecodiv

    Python

    • grass.temporal: fix regression in printing metadata (#4328) by @petrasovaa

    Documentation and Messages

    • doc: i.atcorr: update man page to fix numbering of AVIRIS bands and make style consistent (#4445) by @YannChemin
    • doc: Reword text to be less verbose in r.geomorphon (#5034) by @gregorywaynepower
    • doc: change Python API URL from grass-devel to grass-stable by @neteler
    • doc: fix typo and add bold weight to first mention of important terms in r.geomorphon manual page (#4831) by @gregorywaynepower
    • doc: fix various issues in html pages in preparation for markdown (#5053) by @petrasovaa
    • docs: add Intro: Graphical User Interface by @neteler
    • docs: add README.md to doc/development/rfc/ (#4316) by @neteler
    • docs: add guidelines for writing a meaningful pull request (#4197) by @neteler
    • docs: add intro text to imageryintro.html (#4536) by @neteler
    • docs: r.resamp.filter: update manual (#4856) by @metzm
    • docs: r.sim.water: add info to manual, add info about progress (#4662) by @metzm
    • docs: r.sim.sediment.html: fix typo by @neteler
    • docs: enable btree2/kdtree lib doxygen file for Programmer's manual (#4786) by @neteler
    • docs: fix broken HTML (#4720) by @neteler
    • docs: i.albedo and r.li manual HTML fixes (#4654) by @neteler
    • docs: minor fixes to g.gisenv, i.
  5. 8.4.1RC1GRASS GIS 8.4.1RC1pre-release2025-02-10 · 2025-02-10 16:35 UTC
    查看更新说明

    The GRASS GIS 8.4.1RC1 release provides more than 70 improvements and fixes with respect to the release 8.4.0.

    Highlights

    • r.sim.water: tool and its documentation received various updates
    • GUI: stability fixes
    • manual pages: many minor corrections including external URL updates
    • Mac binaries are now notarized

    New Addon Tools

    • r.slopeunits: toolset that creates, cleans and calculate metrics for slope units
    • r.watersheds: New addon for OpenMP parallel watershed delineation based on Cho (2025)
    • r.in.vect: new addon to import a vector map as raster layer
    • r.maxent.setup: new addon and refactoring r.maxent.predict and r.maxent.train
    • r.buildvrt.gdal: Create GDAL VRTs for GDAL linked raster maps

    What's Changed

    Modules

    • g.download.location: Fix typo in g.download.project call (#4205) by @wenzeslaus
    • g.download.location: Print target path in error message (#4155) by @neteler
    • g.download.project: rename g.download.location (#4187) by @petrasovaa
    • r.horizon: change JSON format (#3888) by @petrasovaa
    • r.in.gdal/r.external: add basic support for GDALs GDT_Int8 (#4256) by @ninsbl
    • r.sim: properly fix turning off parallelization with mask on (#5052) by @petrasovaa
    • r.sim.water: add info to manual, add info about progress (#4662) by @metzm
    • r.sim.water: build topology for vector output (#4969) by @metzm
    • r.sim.water: fix logfile writing (#4522) by @petrasovaa
    • r.sim: fix turning off parallelization with mask on (#5037) by @petrasovaa
    • r.sim: properly fix turning off parallelization with mask on (#5052) by @petrasovaa
    • r.univar: fix MASK check with nprocs > 1 (#4297) by @petrasovaa
    • t.rast.to.vect: Fix passing column parameter to r.to.vect (#4215) by @petrasovaa

    Graphical User Interface

    • GUI: EPSG code source: replace epsg.io with spatialreference.org (#4535) by @neteler
    • GUI: fix crashing due to File menu translation issues (#4513) by @petrasovaa
    • GUI: fix for Python3.13 (#4653) by @petrasovaa
    • gui: Happy new year 2025 by @neteler
    • wxGUI/history: fix the run of a special cmds only once (#4322) by @tmszi
    • wxGUI: Update link to the Natural Earth sample dataset (#4223) by @ecodiv

    Python

    • grass.temporal: fix regression in printing metadata (#4328) by @petrasovaa

    Documentation and Messages

    • doc: i.atcorr: update man page to fix numbering of AVIRIS bands and make style consistent (#4445) by @YannChemin
    • doc: Reword text to be less verbose in r.geomorphon (#5034) by @gregorywaynepower
    • doc: change Python API URL from grass-devel to grass-stable by @neteler
    • doc: fix typo and add bold weight to first mention of important terms in r.geomorphon manual page (#4831) by @gregorywaynepower
    • doc: fix various issues in html pages in preparation for markdown (#5053) by @petrasovaa
    • docs: add Intro: Graphical User Interface by @neteler
    • docs: add README.md to doc/development/rfc/ (#4316) by @neteler
    • docs: add guidelines for writing a meaningful pull request (#4197) by @neteler
    • docs: add intro text to imageryintro.html (#4536) by @neteler
    • docs: r.resamp.filter: update manual (#4856) by @metzm
    • docs: r.sim.water: add info to manual, add info about progress (#4662) by @metzm
    • docs: enable btree2/kdtree lib doxygen file for Programmer's manual (#4786) by @neteler
    • docs: fix broken HTML (#4720) by @neteler
    • docs: i.albedo and r.li manual HTML fixes (#4654) by @neteler
    • docs: minor fixes to g.gisenv, i.atcorr, v.centroids, v.overlay, v.type (#4484) by @neteler
    • docs: move Programmer's manual creation to INSTALL.md (#4336) by @neteler
    • docs: remove trunk f

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    GRASS Repository

    Anaconda-Server Badge Binder
    DOI Discourse GCC C/C++ standards check Python code quality check General linting Ubuntu OSGeo4W OpenSSF Scorecard OpenSSF Best Practices fair-software.eu Coverity
    Translation status
    Powered by NumFOCUS Hosted by OSGeo

    Description

    GRASS, Geographic Resources Analysis Support System, is a powerful computational engine for raster, vector, and geospatial processing. It supports terrain and ecosystem modeling, hydrology, data management, and imagery processing. With a built-in temporal framework and Python API, it enables advanced time series analysis and rapid geospatial programming, optimized for large-scale analysis on various hardware configurations.

    You can use GRASS as your desktop Geographic Information System (GIS) or as a geoprocessing engine through command-line, Python or R interface.

    GRASS is open-source and free software, available under the GNU General Public License, and hosted by the Open Source Geospatial Foundation (OSGeo).

    GRASS uses a custom governance model and is fiscally sponsored by NumFOCUS. Consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

    NumFOCUS is a 501(c)(3) non-profit charity in the United States; as such, donations to NumFOCUS are tax-deductible as allowed by law. As with any donation, you should consult with your personal tax adviser or the IRS about your particular tax situation.

    Downloads

    See download instructions to get GRASS for your platform.

    Documentation

    See documentation and tutorials to start learning GRASS.

    Getting help

    Join the GRASS community on Discourse or explore GRASS commercial support.

    Contributing

    All contributions are welcome! You can contribute to GRASS in multiple ways:

    • Code contributions: Join GRASS developer community on Discourse to discuss your plans or simply open a pull request.
    • Translations: Help make GRASS accessible in your language through Weblate. No coding skills required!

    See CONTRIBUTING file for more details.

    Compiling GRASS

    See the INSTALL.md file. In addition, there are detailed compile instructions in the Wiki.

    Docker

    For using and building a GRASS docker image, see docker/README.md.

    Further documents

    Thanks to all contributors ❤

    GRASS contributors