Opened 15 years ago

Closed 15 years ago

#1628 closed enhancement (fixed)

r.out.tiff: does not allow selection of destination directory

Reported by: pcav Owned by: rugginoso
Priority: minor: annoyance Milestone: Version 1.0.3
Component: GRASS Version: Trunk
Keywords: Cc: grass-dev@…
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

When exporting a raster to a tiff with r.out.tiff, the user cannot select the destination directory. The tiff gets saved to the home directory, but this should be a choice of the user.

Change History (8)

comment:1 by pcav, 15 years ago

Milestone: Version 1.0.3

comment:2 by pcav, 15 years ago

Cc: grass-dev@… added

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.

comment:3 by rugginoso, 15 years ago

Resolution: fixed
Status: newclosed

The problem was in the r.out.tiff.qgm module. Fixed in r10944.

comment:4 by pcav, 15 years ago

Resolution: fixed
Status: closedreopened

comment:5 by pcav, 15 years ago

Resolution: fixed
Status: reopenedclosed

comment:6 by pcav, 15 years ago

Resolution: fixed
Status: closedreopened

comment:7 by pcav, 15 years ago

Owner: changed from nobody to rugginoso
Status: reopenednew

comment:8 by pcav, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.