landam / grass-gis-git-migration-test

0 stars 0 forks source link

Change default behavior of d.title to draw instead of output text #215

Open landam opened 5 years ago

landam commented 5 years ago

Reported by wenzeslaus on 6 May 2016 22:26 UTC Currently this outputs text:

d.title elevation
.C black
.S 4.000000
LOCATION: nc_spm_08_grass7
elevation in carto
South-West Wake county: Elevation NED 10m
North:  228500.00  South:  215000.00
West:   630000.00  East:   645000.00
Resolution: n-s:   10.00  e-w:   10.00

To actually display something one need to do:

d.title elevation -d

This is unexpected behavior for a display module and -d behavior should be the default one.

I suggest to switch the default for 8.0. We can introduce in 7.x a new flag to turn on the text (it would do nothing special in 7.x) to be forward compatible with 8.0. Alternatively, we can also drop the text behavior completely but I can imagine that somebody is (mis)using ''d.title'' for just the text (as alternatively formatted ''r.info'').

GRASS GIS version and provenance

svn-releasebranch70

Migrated-From: https://trac.osgeo.org/grass/ticket/3023

landam commented 5 years ago

Modified by wenzeslaus on 6 May 2016 22:27 UTC

landam commented 5 years ago

Comment by wenzeslaus on 12 Jun 2018 01:33 UTC This is change of interface and this it must be resolved before the release, so blocker.