[GRASS-dev] r.info title quesion
Anna Petrášová
kratochanna at gmail.com
Fri May 13 06:45:53 PDT 2016
On Fri, May 13, 2016 at 9:18 AM, Anna Petrášová <kratochanna at gmail.com> wrote:
> Hi,
>
> anyone has an idea why r.info prints the title in this way:
>
> compose_line(out, "Title: %s ( %s )",
> cats_ok ? cats.title : "??",
> hist_ok ? Rast_get_history(&hist, HIST_TITLE) : "??");
>
> most raster maps then show:
>
> ( elevation )
>
> because cats.title is empty which looks pretty confusing. Is this some
> legacy issue, should it be changed?
I can see now several C modules set the 'cats' title, but there is no
way to set it through r.support or r.category so it can't be used from
scripts unless you use ctypes. I am still unclear what's the point of
these 2 titles.
Anna
>
> Thanks,
>
> Anna
More information about the grass-dev
mailing list