No Description

Markus Metz 13db559a44 TGIS: add semantic label to STRDS export (#2262) 2 years ago
.github 941b533cad libgis: Add function to read or read again GISRC var (#2244) 2 years ago
.travis 9342f4b6dd CI: Switch Travis to Ubuntu 20.04 (focal) (#1384) 3 years ago
binder f4f6285687 jupyter: Add virtual framebuffer X server dependency (#1827) 3 years ago
db 2c937f78ca odbc driver: fix pointer-sign compiler warrnings (#2086) 2 years ago
demolocation 18a31bd253 demolocation: update (#1285) 3 years ago
display c37871b51d Fix -Wunused-variable compiler warnings (#2158) 2 years ago
doc 24ba3529e0 howto_release.md: forwardport notes from relbranch (#2237) 2 years ago
docker 0ba1287b56 docker: GRASS GIS docker matrix update (#2263) 2 years ago
general f6db9c2621 g.region: Align region to resolution (-a flag) for n=, s=, w=, e= (#1884) 2 years ago
gui a853cf7355 user message: change Proj.4 to PROJ (#2194) 2 years ago
imagery 2bb77ed6a4 Fix uninitialized, scope, leak, const issues in C (#2250) 2 years ago
include 2bb77ed6a4 Fix uninitialized, scope, leak, const issues in C (#2250) 2 years ago
lib 98dba90ea3 startup: Use universal newlines (#1952) 2 years ago
locale ffe755fe09 i18n: Transifex sync (#2236) 2 years ago
macosx 7d9a0da4fc manuals and docs: update broken URLS (#1003) 4 years ago
man 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 2 years ago
misc 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
mswindows 324782e718 MS Windows packaging: add missing dlls from MSYS (#2204) 2 years ago
ps 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
python 13db559a44 TGIS: add semantic label to STRDS export (#2262) 2 years ago
raster 5fb7351feb r.watershed: Null accumulation outside elevation, 0 flow from null flow (#2221) 2 years ago
raster3d e8ef99668c Fix some code scanning CodeQL overflow warnings (#2168) 2 years ago
rpm 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
scripts 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
singularity 7af37d85f8 singularity: Minor fixes of definition file (#2179) 2 years ago
temporal b02f902d7d t.rast.mapcalc: transfer semantic label (#2219) 2 years ago
testsuite 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 2 years ago
utils 9b3fb6f6b4 utils/mkhtml: fix print warning/fatal message during compilation (#2139) 2 years ago
vector e9f304bc65 v.in.pdal: fix -Wunused-lambda-capture compiler warning (#2160) 2 years ago
visualization 2c937f78ca odbc driver: fix pointer-sign compiler warrnings (#2086) 2 years ago
.dockerignore 2efac9859e Stop ignoring .git folder for docker builds (#1182) 3 years ago
.flake8 eb841925d9 Rename g.bads to i.band.library and i.band to r.semantic.label (#1983) 2 years ago
.git-blame-ignore-revs dd6c615775 Add list of commits for git blame to ignore (#1391) 3 years ago
.gitignore ca2d28a592 Update to upstream ctypesgen version (#1651) 3 years ago
.gunittest.cfg 1991d89276 r.geomorphon: combine profile parser rules to allow usage as pygrass module (#2154) 2 years ago
.pylintrc b441deb6f7 Add Pylint check for the main directory (#2213) 2 years ago
.travis.yml 9342f4b6dd CI: Switch Travis to Ubuntu 20.04 (focal) (#1384) 3 years ago
AUTHORS c173461446 Rename the master branch to main (#1806) 3 years ago
CHANGES ae610b8dae GRASS GIS 8.0 changes (#1597) 3 years ago
CITING ae610b8dae GRASS GIS 8.0 changes (#1597) 3 years ago
CONTRIBUTING.md d8a664f7ba CONTRIBUTING.md: describe the fork process more in detail 2 years ago
COPYING 7d9a0da4fc manuals and docs: update broken URLS (#1003) 4 years ago
Dockerfile 0e0d05ea53 Dockerfile: only create versionless link when needed 3 years ago
GPL.TXT db49180dd7 welcome to GRASS 7.0.svn 16 years ago
INSTALL 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 2 years ago
Makefile 61d6f8c7db Move headers from include to include/grass (#1350) 3 years ago
NEWS ae610b8dae GRASS GIS 8.0 changes (#1597) 3 years ago
README.md 8d8fe18da2 Add Zenodo DOI badge to readme (#2122) 2 years ago
REQUIREMENTS.html 87fdb472fb Increase minimum Python version to 3.7 (#2241) 2 years ago
SUBMITTING 1aa0ba0526 Add CONTRIBUTING file with a standard contributor Git how-to (#237) 4 years ago
TODO ae610b8dae GRASS GIS 8.0 changes (#1597) 3 years ago
Vagrantfile de0fbc0051 Rename tools directory to utils (#1348) 3 years ago
aclocal.m4 07d65290da Fix linker flags on FreeBSD. (#1936) 3 years ago
binaryInstall.src a1fbc923c8 binaryInstall.src: nad2bin no longer used (completes https://trac.osgeo.org/grass/changeset/74179) 5 years ago
config.guess bd5c9ed459 configure: update to latest config.guess and config.sub (#2225) 2 years ago
config.sub bd5c9ed459 configure: update to latest config.guess and config.sub (#2225) 2 years ago
configure 07d65290da Fix linker flags on FreeBSD. (#1936) 3 years ago
configure.ac dca9364c64 configure: upgrade to autoconf 2.69 (#1845) 3 years ago
contributors.csv 3460a607c5 contributors.csv: added new ORCID column (#2177) 2 years ago
contributors_extra.csv 4036ac5617 contributors_extra.csv: Nikos Alexandris added 7 years ago
grass.pc.in 0a9a39c990 pkg-config file: grass executable is non-versioned (#2227) 2 years ago
grasslib.dox 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 2 years ago
install-sh 70b31d97e9 install-sh: updated to newer version (source: https://svn.met.no/viewvc/fimex/branches/version0_28_x/install-sh, GPL) 11 years ago
pyproject.toml 87fdb472fb Increase minimum Python version to 3.7 (#2241) 2 years ago
translators.csv abcada66b9 Updated translators.csv file (#1249) 3 years ago

README.md

Build Status Python code quality check General linting Ubuntu OSGeo4W CentOS DOI

GRASS GIS Repository

Description

GRASS GIS (https://grass.osgeo.org/) is a Geographic Information System used for geospatial data management and analysis, image processing, graphics/map production, spatial modeling, and visualization.

Launch this repository in Binder and experiment with GRASS's Python API in Jupyter Notebooks by clicking the button below:

Binder

How to get write access here

In general: you don't really need write access as you can simply open a pull request to contribute to GRASS GIS. See CONTRIBUTING file for more details.

Want to become a core developer? See Procedure for gaining Git write access

How to compile GRASS

See INSTALL file.

Yes, you should really read INSTALL. In addition, there are detailed compile instructions in the Wiki.

Docker

Build a docker image using the downloaded source code (run this in the directory containing the source code):

docker build -t grassgis80 .

A test run (assuming you have the existing GRASS GIS test location; it can be downloaded from here)

# case 1: launching in the grassdata directory in which the location is stored:
docker run -it --rm --user=$(id -u):$(id -g) --volume $(pwd):/data \
    --env HOME=/data/ grassgis80 grass --text nc_basic_spm_grass7/user1 \
        --exec g.region -p

# case 2: launching anywhere
docker run -it --rm --user=$(id -u):$(id -g) \
    --volume /your/test/grassdata/:/data --env HOME=/data/ grassgis80 \
        grass /data/nc_basic_spm_grass7/PERMANENT --exec g.region -p

Note that the first grassgis80 is the name of the image while the second grass is the name of the executable.

To run the tests (again assuming local location):

docker run -it --rm --user=$(id -u):$(id -g) \
    --volume /your/test/grassdata/:/data --env HOME=/data/ -w /code/grass \
        grassgis80 grass /data/nc_basic_spm_grass7/PERMANENT --exec \
            python -m grass.gunittest.main \
                --location nc_basic_spm_grass7 --location-type nc

Note: If you compiled locally before building the Docker image, you may encounter problems as the local configuration and the locally compiled files are copied to and used in the Docker image. To make sure you don't have this issue, clean all the compiled files from the source code:

make distclean

How to generate the 'Programmer's Manual'

You can locally generate the GRASS GIS Programmer's Manual.

This needs doxygen (http://www.doxygen.org) and optionally Graphviz dot (http://www.research.att.com/sw/tools/graphviz/).

To build the GRASS programmer's documentation, run

make htmldocs

Or to generate documentation as single html file (recommended for simple reading)

make htmldocs-single

This takes quite some time. The result is in lib/html/index.html which refers to further document repositories in

lib/vector/html/index.html
lib/db/html/index.html
lib/gis/html/index.html

The master file is: ./grasslib.dox where all sub-documents have to be linked to.

To generate the documents in PDF format, run

make pdfdocs