| 1 | = How-To Code Your Own GRASS extension = |
| 2 | |
| 3 | Want to write your own GRASS code? Read on! |
| 4 | |
| 5 | == Code examples == |
| 6 | |
| 7 | * Template for raster module: source:grass/trunk/doc/raster/r.example/ |
| 8 | * example for pixel oriented raster module: source:grass/trunk/raster/r.patch |
| 9 | * example for full map oriented raster module with segmentation: source:grass/trunk/raster/r.cost |
| 10 | * Template for vector module: source:grass/trunk/doc/vector/v.example/ |
| 11 | * example for vector module with database support: source:grass/trunk/vector/v.extract/ |
| 12 | * Script: please take a look at existing scripts at source:grass/trunk/scripts/ |
| 13 | |
| 14 | Of course all existing modules and libraries are examples to look at. |
| 15 | |
| 16 | == GRASS Programmer's Manual == |
| 17 | [http://download.osgeo.org/grass/grass6_progman/ GRASS Programmer's Manual] |
| 18 | |
| 19 | == Further notes == |
| 20 | |
| 21 | See http://grass.gdf-hannover.de/wiki/Development (should be moved here) |