On Fri, May 13, 2016 at 3:45 PM, Anna Petrášová <[email protected]> wrote: > On Fri, May 13, 2016 at 9:18 AM, Anna Petrášová <[email protected]> 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.
Maybe check the old GRASS 4 programmer's manual: https://grass.osgeo.org/grass43/manuals/progman42.pdf eg on page 72 is some discussion. Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
