No Description

Luca Delucchi 7af37d85f8 singularity: Minor fixes of definition file (#2179) 2 years ago
.github 1ab1c468c0 CI: Add check for CRLF line endings (#2144) 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 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
demolocation 18a31bd253 demolocation: update (#1285) 3 years ago
display 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
doc 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
docker 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 2 years ago
general 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
gui 2c2879745b wxGUI: update statusbar when projection settings checkbox has been toggled (#2178) 2 years ago
imagery 8dea4ecce3 i.atcorr: Replace CRLF by LF in sensor CSVs (#2149) 2 years ago
include 029cd8ea8e bump version to 8.1 (#2080) 2 years ago
lib b8ae3bb419 Replace CRLF by LF in color table, test, license (#2147) 2 years ago
locale 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 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 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 2 years ago
ps 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 2 years ago
python 1ece3bc558 grass.gunittest: Fix fail with no config (#2180) 2 years ago
raster 150a0e9242 r.colors: fix order of rules (#2167) 2 years ago
raster3d 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 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 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 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 b8ae3bb419 Replace CRLF by LF in color table, test, license (#2147) 2 years ago
visualization 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 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 89fe85cbad grass.gunittest: Set max time (timeout) per test (#2172) 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 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 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 dca9364c64 configure: upgrade to autoconf 2.69 (#1845) 3 years ago
config.sub dca9364c64 configure: upgrade to autoconf 2.69 (#1845) 3 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 3730335903 Nicklas Larsson added 3 years ago
contributors_extra.csv 4036ac5617 contributors_extra.csv: Nikos Alexandris added 7 years ago
grass.pc.in 1a5d566ba7 pkg-config file: update 10 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 be3565486a ctypes: move directory out of python/grass (#1898) 3 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