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

Markus Metz markus.metz.giswork at googlemail.com
Fri Jul 1 04:09:59 EDT 2011


On Fri, Jul 1, 2011 at 1:51 AM, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> 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.
>
OK. Fixed in all branches (tested for over a year by now ;-))

Markus M


More information about the grass-dev mailing list