• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H10-Oct-2021-434368

.travis/H10-Oct-2021-10283

db/H03-May-2022-13,2598,680

demolocation/H10-Oct-2021-157133

display/H03-May-2022-22,09316,488

doc/H03-May-2022-3,0632,130

docker/H10-Oct-2021-1,2011,011

general/H10-Oct-2021-11,6878,484

gui/H10-Oct-2021-161,069126,569

imagery/H03-May-2022-84,21567,550

include/H10-Oct-2021-32,15122,292

lib/H03-May-2022-404,305268,121

locale/H03-May-2022-2,591,6442,055,844

macosx/H10-Oct-2021-2,5022,037

man/H07-May-2022-3,2982,292

misc/H10-Oct-2021-4,0942,920

mswindows/H03-May-2022-4,8903,736

ps/H10-Oct-2021-11,6508,654

raster/H03-May-2022-166,866119,356

raster3d/H03-May-2022-51,64641,792

rpm/H03-May-2022-806613

scripts/H10-Oct-2021-26,67416,985

singularity/debian/H10-Oct-2021-192168

temporal/H03-May-2022-19,78811,573

testsuite/H10-Oct-2021-436245

tools/H03-May-2022-3,4572,425

vector/H03-May-2022-103,36075,914

visualization/H10-Oct-2021-644471

.dockerignoreH A D10-Oct-2021352 1614

.gitignoreH A D10-Oct-2021943 4341

.travis.ymlH A D10-Oct-2021962 4938

AUTHORSH A D10-Oct-202116.6 KiB416326

CHANGESH A D10-Oct-20211.3 KiB2821

CITINGH A D10-Oct-20211.6 KiB4232

CONTRIBUTING.mdH A D10-Oct-20214.9 KiB199137

COPYINGH A D10-Oct-20211.4 KiB4031

DockerfileH A D10-Oct-20213.3 KiB141121

INSTALLH A D10-Oct-20219.1 KiB319210

MakefileH A D03-May-20223.3 KiB12484

NEWSH A D10-Oct-2021487 1611

README.mdH A D10-Oct-20213.3 KiB11178

SUBMITTINGH A D10-Oct-202168 21

TODOH A D10-Oct-20211.4 KiB4433

VagrantfileH A D10-Oct-20213.3 KiB11596

aclocal.m4H A D03-May-202225.5 KiB825740

binaryInstall.srcH A D10-Oct-20219.8 KiB349233

config.guessH A D10-Oct-202148.2 KiB1,7491,522

config.subH A D10-Oct-202134.4 KiB1,8851,698

configureH A D03-May-2022420.6 KiB16,77012,688

configure.acH A D10-Oct-202147.7 KiB2,0441,518

contributors.csvH A D10-Oct-20214 KiB6766

contributors_extra.csvH A D10-Oct-20212.7 KiB6059

grass.pc.inH A D10-Oct-2021930 1512

grasslib.doxH A D10-Oct-202113.8 KiB375281

install-shH A D10-Oct-202113.3 KiB521344

translators.csvH A D10-Oct-20215.6 KiB148147

README.md

1[![Build Status](https://travis-ci.com/OSGeo/grass.svg?branch=master)](https://travis-ci.com/OSGeo/grass)
2
3# GRASS GIS Repository
4
5## Description
6
7GRASS GIS ([https://grass.osgeo.org/](https://grass.osgeo.org/)) is
8a Geographic Information System used for geospatial data management and
9analysis, image processing, graphics/map production, spatial modeling, and
10visualization.
11
12## How to get write access here
13
14In general: you don't really need write access as you can simply open
15a [pull request](https://github.com/OSGeo/grass/pulls) to contribute to
16GRASS GIS. See [CONTRIBUTING file](CONTRIBUTING.md) for more details.
17
18Want to become a core developer? See
19[Procedure for gaining Git write access](https://trac.osgeo.org/grass/wiki/HowToContribute#WriteaccesstotheGRASScorerepository)
20
21## How to compile GRASS
22
23> See INSTALL file.
24
25Yes, you should really read [INSTALL](INSTALL). In addition, there are detailed [compile instructions](https://grasswiki.osgeo.org/wiki/Compile_and_Install) in the Wiki.
26
27## Docker
28
29Build a docker image using the downloaded source code (run this in the directory
30containing the source code):
31
32```
33docker build -t grassgis78 .
34```
35
36A test run (assuming you have the existing GRASS GIS test location; it can be
37downloaded from
38[here](https://grass.osgeo.org/sampledata/north_carolina/nc_basic_spm_grass7.zip))
39
40```
41# case 1: launching in the grassdata directory in which the location is stored:
42docker run -it --rm --user=$(id -u):$(id -g) --volume $(pwd):/data \
43    --env HOME=/data/ grassgis78 grass --text nc_basic_spm_grass7/user1 \
44        --exec g.region -p
45
46# case 2: launching anywhere
47docker run -it --rm --user=$(id -u):$(id -g) \
48    --volume /your/test/grassdata/:/data --env HOME=/data/ grassgis78 \
49        grass /data/nc_basic_spm_grass7/PERMANENT --exec g.region -p
50```
51
52Note that the first `grassgis78` is the name of the image while the second
53`grass` is the name of the executable.
54
55To run the tests (again assuming local location):
56
57```
58docker run -it --rm --user=$(id -u):$(id -g) \
59    --volume /your/test/grassdata/:/data --env HOME=/data/ -w /code/grass \
60        grassgis78 grass /data/nc_basic_spm_grass7/PERMANENT --exec \
61            python -m grass.gunittest.main \
62                --location nc_basic_spm_grass7 --location-type nc
63```
64
65Note: If you compiled locally before building the Docker image, you may
66encounter problems as the local configuration and locally compiled file
67are copied to and used in the Docker image. To make sure you don't have
68this issue, clean all the compiled files from the source code:
69
70```
71make distclean
72```
73
74## How to generate the 'Programmer's Manual'
75
76You can generate locally the [GRASS GIS Programmer's Manual](https://grass.osgeo.org/programming7/).
77
78This needs doxygen (<http://www.doxygen.org>) and optionally
79Graphviz dot (<http://www.research.att.com/sw/tools/graphviz/>).
80
81To build the GRASS programmer's documentation, run
82
83```
84make htmldocs
85```
86
87or to generate documentation as single html file
88(recommended for simple reading)
89
90```
91make htmldocs-single
92```
93
94here. This takes quite some time. The result is in `lib/html/index.html`
95which refers to further document repositories in
96
97```
98lib/vector/html/index.html
99lib/db/html/index.html
100lib/gis/html/index.html
101```
102
103The master file is: `./grasslib.dox` where all sub-documents have to
104be linked into.
105
106To generate the documents in PDF format, run
107
108```
109make pdfdocs
110```
111