Coder Social home page Coder Social logo

osgeo / grass-addons Goto Github PK

View Code? Open in Web Editor NEW
98.0 35.0 148.0 212.4 MB

GRASS GIS Addons Repository

Home Page: https://grass.osgeo.org/grass-stable/manuals/addons/

License: GNU General Public License v2.0

Makefile 0.66% HTML 13.25% C 38.60% Perl 0.03% Shell 1.62% C++ 2.57% Python 41.76% Fortran 0.63% TeX 0.34% Rich Text Format 0.04% PostScript 0.41% Limbo 0.01% Yacc 0.03% Roff 0.01% CMake 0.02% Jupyter Notebook 0.02%
osgeo grass-gis raster vector geospatial-analysis addons extensions hacktoberfest grass-gis-addons

grass-addons's Introduction

GRASS GIS Addons Code Repository

How to get the addon code

Clone of the entire repository:

git clone https://github.com/OSGeo/grass-addons.git grass-addons

How to install or remove addons in your GRASS installation

The simplest way to install GRASS GIS Addons is to use the g.extension module: https://grass.osgeo.org/grass-stable/manuals/g.extension.html

g.extension can install from the online repository (the default) or from local source code (not available on Windows).

How to compile addon code

Compilation with GRASS GIS binaries on your computer

In this case, compile GRASS addon modules into your installed GRASS code by setting MODULE_TOPDIR to where to the GRASS binaries are located:

make MODULE_TOPDIR=/usr/lib/grass/

Compilation with GRASS GIS core source code locally compiled

Preparations (assuming the GRASS GIS core source code being stored in $HOME/grass/ - if you have already built GRASS GIS core from source code you don't need to do this again. If adding to a binary install, the versions must match exactly. You need to git checkout the exact tag or commit used for the binary.)

# GRASS GIS core source code
./configure # [optionally flags]
make

The easiest way to compile GRASS addons modules into your GRASS code is by setting MODULE_TOPDIR on the fly to tell make where to find the prepared GRASS source code:

make MODULE_TOPDIR=$HOME/grass/

(adapt as needed to your /path/to/grass/). Each module in the GRASS Addons repository should have a Makefile to support easy installation.

Install then into your existing GRASS installation with

make MODULE_TOPDIR=$HOME/grass/ install

For system-wide installation the install step usually requires "root" privileges (so, also sudo may help).

How to submit your contributions

While read access is granted to the public, for submissions you best fork this repository, insert your addon or fix an existing one in a new branch and finally open a pull request.

Please note the following submitting rules: To successfully submit your GRASS GIS Addon module here, please check

https://grass.osgeo.org/development/

Your submission must be compliant with the GRASS submission rules as found in the GRASS source code and RFC2 (Legal aspects of submission).

Also, please read the contributing instructions before creating a pull request: https://github.com/OSGeo/grass-addons/blob/grass8/CONTRIBUTING.md

If you aim at becoming code maintainer with full write access, this must be formally requested, see here for details: https://trac.osgeo.org/grass/wiki/HowToContribute#WriteaccesstotheGRASSaddonsrepository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.