Ticket #330 (closed enhancement: fixed)
Enhancement to r.cross - add more layers to cross
| Reported by: | dnewcomb | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | minor | Milestone: | 6.4.0 |
| Component: | Default | Version: | svn-develbranch6 |
| Keywords: | r.cross nfiles | Cc: | |
| Platform: | Linux | CPU: | x86-64 |
Description
I'd like r.cross to be able to cross more than 10 layers. I did try changing the NFILES setting to 30 in raster/r.cross/glob.h. This allows me to cross 20 layers, but segfaults at 21 layers. Obviously, there is something else limiting the number of layers besides NFILES which my lack of skill at C programming does not permit me to see.
The rasters being crossed are in a region with 11451 rows and 25977 columns (297462627 cells).
The version of grass that I altered ( NFILES=10 --> 30)was the 6.4 svn weekly snapshot from 10/04/2008
Change History
Note: See
TracTickets for help on using
tickets.
