Loïc Bartoletti c458350789 r3.showdspf: Fix resource leak (#2295) | 2 rokov pred | |
---|---|---|
.github | 2 rokov pred | |
.travis | 3 rokov pred | |
binder | 3 rokov pred | |
db | 2 rokov pred | |
demolocation | 3 rokov pred | |
display | 2 rokov pred | |
doc | 2 rokov pred | |
docker | 2 rokov pred | |
general | 2 rokov pred | |
gui | 2 rokov pred | |
imagery | 2 rokov pred | |
include | 2 rokov pred | |
lib | 2 rokov pred | |
locale | 2 rokov pred | |
macosx | 4 rokov pred | |
man | 2 rokov pred | |
misc | 2 rokov pred | |
mswindows | 2 rokov pred | |
ps | 2 rokov pred | |
python | 2 rokov pred | |
raster | 2 rokov pred | |
raster3d | 2 rokov pred | |
rpm | 2 rokov pred | |
scripts | 2 rokov pred | |
singularity | 2 rokov pred | |
temporal | 2 rokov pred | |
testsuite | 2 rokov pred | |
utils | 2 rokov pred | |
vector | 2 rokov pred | |
visualization | 2 rokov pred | |
.dockerignore | 3 rokov pred | |
.flake8 | 3 rokov pred | |
.git-blame-ignore-revs | 3 rokov pred | |
.gitignore | 3 rokov pred | |
.gunittest.cfg | 2 rokov pred | |
.pylintrc | 2 rokov pred | |
.travis.yml | 3 rokov pred | |
AUTHORS | 3 rokov pred | |
CHANGES | 3 rokov pred | |
CITING | 3 rokov pred | |
CONTRIBUTING.md | 2 rokov pred | |
COPYING | 4 rokov pred | |
Dockerfile | 3 rokov pred | |
GPL.TXT | 16 rokov pred | |
INSTALL | 2 rokov pred | |
Makefile | 3 rokov pred | |
NEWS | 3 rokov pred | |
README.md | 2 rokov pred | |
REQUIREMENTS.html | 2 rokov pred | |
SUBMITTING | 5 rokov pred | |
TODO | 3 rokov pred | |
Vagrantfile | 3 rokov pred | |
aclocal.m4 | 3 rokov pred | |
binaryInstall.src | 5 rokov pred | |
config.guess | 2 rokov pred | |
config.sub | 2 rokov pred | |
configure | 3 rokov pred | |
configure.ac | 3 rokov pred | |
contributors.csv | 2 rokov pred | |
contributors_extra.csv | 7 rokov pred | |
grass.pc.in | 2 rokov pred | |
grasslib.dox | 2 rokov pred | |
install-sh | 11 rokov pred | |
pyproject.toml | 2 rokov pred | |
translators.csv | 3 rokov pred |
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:
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
See INSTALL file.
Yes, you should really read INSTALL. In addition, there are detailed compile instructions in the Wiki.
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
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