[QGIS-trac] Re: [Quantum GIS] #1628: r.out.tiff: does not allow selection of destination directory

Quantum GIS qgis at qgis.org
Wed Jun 10 12:09:24 EDT 2009


#1628: r.out.tiff: does not allow selection of destination directory
----------------------------------------------------+-----------------------
        Reporter:  pcav                             |         Owner:  nobody       
            Type:  enhancement                      |        Status:  new          
        Priority:  minor: annoyance or enhancement  |     Milestone:  Version 1.0.3
       Component:  GRASS                            |       Version:  HEAD         
      Resolution:                                   |      Keywords:               
Platform_version:                                   |      Platform:  All          
        Must_fix:  No                               |   Status_info:  0            
----------------------------------------------------+-----------------------
Changes (by pcav):

 * cc: grass-dev at lists.osgeo.org (added)

Comment:

 The code differences are:

 r.out.bin:
 {{{
 75          parm.output = G_define_option();
 76          parm.output->key = "output";
 77          parm.output->type = TYPE_STRING;
 78          parm.output->required = NO;
 79          parm.output->description =
 80              _("Name for output binary map (use output=- for stdout)");
 }}}


 but r.out.tiff:
 {{{
 106         outopt = G_define_option();
 107         outopt->key = "output";
 108         outopt->type = TYPE_STRING;
 109         outopt->required = YES;
 110         outopt->gisprompt = "new_file,tiff,tiff";
 111         outopt->description = _("Name for new TIFF file");
 }}}

 Apparently the presence of gisprompt disactivates the directory browse
 button in QGIS.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1628#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list