[GRASS-dev] [GRASS GIS] #3023: Change default behavior of d.title to draw instead of output text
GRASS GIS
trac at osgeo.org
Fri May 6 15:26:49 PDT 2016
#3023: Change default behavior of d.title to draw instead of output text
-------------------------+-------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 8.0.0
Component: Default | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
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'').
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3023>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list