Feature request #1628

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

Added by Paolo Cavallini over 15 years ago. Updated about 15 years ago.

Status:Closed
Priority:Low
Assignee:Lorenzo Masini
Category:GRASS
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:11688

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.

History

#1 Updated by Paolo Cavallini over 15 years ago

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.

#2 Updated by Lorenzo Masini over 15 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed

The problem was in the r.out.tiff.qgm module.
Fixed in 7b08127b (SVN r10945).

#3 Updated by Paolo Cavallini about 15 years ago

  • Resolution deleted (fixed)
  • Status changed from Closed to Feedback

#4 Updated by Paolo Cavallini about 15 years ago

  • Status changed from Feedback to Closed
  • Resolution set to fixed

#5 Updated by Paolo Cavallini about 15 years ago

  • Status changed from Closed to Feedback
  • Resolution deleted (fixed)

#6 Updated by Paolo Cavallini about 15 years ago

  • Status changed from Feedback to Open

#7 Updated by Paolo Cavallini about 15 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Also available in: Atom PDF