Нет описания

Nicklas Larsson c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
.github 924db551b5 pytest: Add very basic config to run pytest (#2183) 3 лет назад
.travis 9342f4b6dd CI: Switch Travis to Ubuntu 20.04 (focal) (#1384) 4 лет назад
binder f4f6285687 jupyter: Add virtual framebuffer X server dependency (#1827) 3 лет назад
db 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
demolocation 18a31bd253 demolocation: update (#1285) 4 лет назад
display c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
doc af20745947 wxGUI: Use Map Display settings in other Map Display applications (#2155) 3 лет назад
docker 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 3 лет назад
general c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
gui af20745947 wxGUI: Use Map Display settings in other Map Display applications (#2155) 3 лет назад
imagery c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
include 029cd8ea8e bump version to 8.1 (#2080) 3 лет назад
lib c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
locale 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 3 лет назад
macosx 7d9a0da4fc manuals and docs: update broken URLS (#1003) 4 лет назад
man 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 3 лет назад
misc 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
mswindows 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 3 лет назад
ps 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
python 924db551b5 pytest: Add very basic config to run pytest (#2183) 3 лет назад
raster c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
raster3d c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
rpm 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
scripts 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
singularity 7af37d85f8 singularity: Minor fixes of definition file (#2179) 3 лет назад
temporal 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
testsuite 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 3 лет назад
utils 9b3fb6f6b4 utils/mkhtml: fix print warning/fatal message during compilation (#2139) 3 лет назад
vector c37871b51d Fix -Wunused-variable compiler warnings (#2158) 3 лет назад
visualization 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
.dockerignore 2efac9859e Stop ignoring .git folder for docker builds (#1182) 4 лет назад
.flake8 eb841925d9 Rename g.bads to i.band.library and i.band to r.semantic.label (#1983) 3 лет назад
.git-blame-ignore-revs dd6c615775 Add list of commits for git blame to ignore (#1391) 3 лет назад
.gitignore ca2d28a592 Update to upstream ctypesgen version (#1651) 3 лет назад
.gunittest.cfg 89fe85cbad grass.gunittest: Set max time (timeout) per test (#2172) 3 лет назад
.travis.yml 9342f4b6dd CI: Switch Travis to Ubuntu 20.04 (focal) (#1384) 4 лет назад
AUTHORS c173461446 Rename the master branch to main (#1806) 3 лет назад
CHANGES ae610b8dae GRASS GIS 8.0 changes (#1597) 4 лет назад
CITING ae610b8dae GRASS GIS 8.0 changes (#1597) 4 лет назад
CONTRIBUTING.md d8a664f7ba CONTRIBUTING.md: describe the fork process more in detail 3 лет назад
COPYING 7d9a0da4fc manuals and docs: update broken URLS (#1003) 4 лет назад
Dockerfile 0e0d05ea53 Dockerfile: only create versionless link when needed 4 лет назад
GPL.TXT db49180dd7 welcome to GRASS 7.0.svn 17 лет назад
INSTALL 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 3 лет назад
Makefile 61d6f8c7db Move headers from include to include/grass (#1350) 4 лет назад
NEWS ae610b8dae GRASS GIS 8.0 changes (#1597) 4 лет назад
README.md 8d8fe18da2 Add Zenodo DOI badge to readme (#2122) 3 лет назад
REQUIREMENTS.html 547ff44e6a manual pages: remove unneeded SVN Date entry and selected cleanup (#2143) 3 лет назад
SUBMITTING 1aa0ba0526 Add CONTRIBUTING file with a standard contributor Git how-to (#237) 5 лет назад
TODO ae610b8dae GRASS GIS 8.0 changes (#1597) 4 лет назад
Vagrantfile de0fbc0051 Rename tools directory to utils (#1348) 4 лет назад
aclocal.m4 07d65290da Fix linker flags on FreeBSD. (#1936) 3 лет назад
binaryInstall.src a1fbc923c8 binaryInstall.src: nad2bin no longer used (completes https://trac.osgeo.org/grass/changeset/74179) 6 лет назад
config.guess dca9364c64 configure: upgrade to autoconf 2.69 (#1845) 3 лет назад
config.sub dca9364c64 configure: upgrade to autoconf 2.69 (#1845) 3 лет назад
configure 07d65290da Fix linker flags on FreeBSD. (#1936) 3 лет назад
configure.ac dca9364c64 configure: upgrade to autoconf 2.69 (#1845) 3 лет назад
contributors.csv 3730335903 Nicklas Larsson added 4 лет назад
contributors_extra.csv 4036ac5617 contributors_extra.csv: Nikos Alexandris added 8 лет назад
grass.pc.in 1a5d566ba7 pkg-config file: update 10 лет назад
grasslib.dox 15d6526eac GRASS GIS 8 dev: version bump to grass81 (#2084) 3 лет назад
install-sh 70b31d97e9 install-sh: updated to newer version (source: https://svn.met.no/viewvc/fimex/branches/version0_28_x/install-sh, GPL) 12 лет назад
pyproject.toml 924db551b5 pytest: Add very basic config to run pytest (#2183) 3 лет назад
translators.csv abcada66b9 Updated translators.csv file (#1249) 4 лет назад

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