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

GRASS GIS trac at osgeo.org
Thu Jan 14 01:23:58 PST 2016


#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>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list