[GRASS-dev] r.external no cats file?

Glynn Clements glynn at gclements.plus.com
Thu Jun 30 19:51:27 EDT 2011


Markus Metz wrote:

> > IMHO, modules should not be required to explicitly write a cats file.
> > GRASS 4.x is ancient history, and raster maps are no longer inherently
> > category-based.
> 
> I think this is true for all modules creating regular raster maps
> because a cats file is automatically generated by the library when a
> new raster map is closed. r.external does not use Rast_close() and
> creates all the support files itself, but not the cats file.

Good point. In which case, I consider that your patch is the correct
solution.

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


More information about the grass-dev mailing list