[GRASS-dev] [GRASS GIS] #2866: Let r.import specify "title"

#2866: Let r.import specify "title"
-------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Default | Version: unspecified
Keywords: r.import | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
I think that it would be nice if `r.import` was able to specify the
raster's "title". This is supported by `r.in.gdal` and AFAIK it shouldn't
be too hard to implement.

{{{
#!python
#%option
#% key: title
#% key_desc: phrase
#% type: string
#% required: no
#% description: Title for resultant raster map
#% guisection: Metadata
#%end
}}}
{{{#!python
def main():
     # [snip]
     title = options["title"]
     # [snip]
     parameters = dict(input=GDALdatasource, output=output,
                       memory=memory, flags='c', title=title,
                       location=TMPLOC, quiet=True)
     # [snip]
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2866&gt;
GRASS GIS <https://grass.osgeo.org>

#2866: Let r.import specify "title"
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.0.4
Component: Raster | Version: unspecified
Resolution: | Keywords: r.import
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

* component: Default => Raster
* type: defect => enhancement

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2866#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#2866: Let r.import specify "title"
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.0.4
Component: Raster | Version: unspecified
Resolution: | Keywords: r.import
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

Good idea. Can you please add the change as "svn diff" attachment for
easier processing?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2866#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2866: Let r.import specify "title"
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.0.4
Component: Raster | Version: 7.0.2
Resolution: | Keywords: r.import
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by neteler):

* version: unspecified => 7.0.2

Comment:

Implemented in r67698. To be backported if working as expected.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2866#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#2866: Let r.import specify "title"
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.2.0
Component: Raster | Version: 7.0.2
Resolution: | Keywords: r.import
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

* milestone: 7.0.5 => 7.2.0

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2866#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>

#2866: Let r.import specify "title"
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 7.2.0
Component: Raster | Version: 7.0.2
Resolution: fixed | Keywords: r.import
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed

Comment:

Job done, closing

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2866#comment:6&gt;
GRASS GIS <https://grass.osgeo.org>