Huidae Cho 1e5146f1df Cross compilation (#257) | 4 years ago | |
---|---|---|
.github | 5 years ago | |
.travis | 5 years ago | |
db | 4 years ago | |
demolocation | 9 years ago | |
display | 5 years ago | |
doc | 5 years ago | |
docker | 4 years ago | |
general | 4 years ago | |
gui | 4 years ago | |
imagery | 4 years ago | |
include | 4 years ago | |
lib | 4 years ago | |
locale | 4 years ago | |
macosx | 10 years ago | |
man | 4 years ago | |
misc | 4 years ago | |
mswindows | 5 years ago | |
ps | 5 years ago | |
raster | 4 years ago | |
raster3d | 4 years ago | |
rpm | 4 years ago | |
scripts | 4 years ago | |
singularity | 5 years ago | |
temporal | 5 years ago | |
testsuite | 5 years ago | |
tools | 4 years ago | |
vector | 4 years ago | |
visualization | 5 years ago | |
.dockerignore | 5 years ago | |
.gitignore | 5 years ago | |
.travis.yml | 5 years ago | |
AUTHORS | 5 years ago | |
CHANGES | 8 years ago | |
CITING | 6 years ago | |
CONTRIBUTING.md | 4 years ago | |
COPYING | 8 years ago | |
Dockerfile | 4 years ago | |
GPL.TXT | 16 years ago | |
INSTALL | 5 years ago | |
Makefile | 5 years ago | |
NEWS | 8 years ago | |
README.md | 4 years ago | |
REQUIREMENTS.html | 5 years ago | |
SUBMITTING | 4 years ago | |
TODO | 10 years ago | |
Vagrantfile | 5 years ago | |
aclocal.m4 | 9 years ago | |
binaryInstall.src | 5 years ago | |
config.guess | 5 years ago | |
config.sub | 5 years ago | |
configure | 4 years ago | |
configure.in | 4 years ago | |
contributors.csv | 5 years ago | |
contributors_extra.csv | 7 years ago | |
grass.pc.in | 10 years ago | |
grasslib.dox | 5 years ago | |
install-sh | 11 years ago | |
translators.csv | 5 years ago |
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.
In general: you don't really need write access as you can simply open a pull request to contribute to GRASS GIS.
Want to become a core developer? See Procedure for gaining Git write access
See INSTALL file.
Yes, you should really read INSTALL.
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
here. 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 into.
To generate the documents in PDF format, run
make pdfdocs
An online version is available here
Build using the downloaded source code (in the directory with the source code):
docker build -t grassgis79 .
A test run (assuming you have existing GRASS GIS 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/ grassgis79 \
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/ grassgis79 \
grass /data/nc_basic_spm_grass7/PERMANENT --exec g.region -p
Note that the first grassgis79
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 \
grassgis79 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 locally compiled file 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