[GRASS-dev] creating sub-regions in C

Glynn Clements glynn at gclements.plus.com
Wed Mar 28 18:28:07 EDT 2007


"Carlos \"Guâno\" Grohmann" wrote:

> I am trying to create a module for GRASS, but I'm not a good
> programmer. How can I create new regions inside a C program? I want to
> divide the area into sub-regions for analysis.

G_set_window() changes the current region used by libgis I/O
functions. You need to fill in the "struct Cell_head" manually.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list