Version 2 (modified by 17 years ago) ( diff ) | ,
---|
How-To Code Your Own GRASS extension
Want to write your own GRASS code? Read on!
Code examples
- Template for raster module: source:grass/trunk/doc/raster/r.example/
- example for pixel oriented raster module: source:grass/trunk/raster/r.patch
- example for full map oriented raster module with segmentation: source:grass/trunk/raster/r.cost
- Template for vector module: source:grass/trunk/doc/vector/v.example/
- example for vector module with database support: source:grass/trunk/vector/v.extract/
- Script: please take a look at existing scripts at source:grass/trunk/scripts/
Of course all existing modules and libraries are examples to look at.
GRASS Programmer's Manual
Backporting
See http://svnbook.red-bean.com/en/1.4/svn.branchmerge.copychanges.html
Further notes
See http://grass.gdf-hannover.de/wiki/Development (should be moved here)
Note:
See TracWiki
for help on using the wiki.