[GRASS-dev] [GRASS GIS] #3320: d.text does not show anything with screen position in geographic coordinates or pixels

GRASS GIS trac at osgeo.org
Wed Apr 5 17:43:34 PDT 2017


#3320: d.text does not show anything with screen position in geographic
coordinates or pixels
--------------------------+----------------------------
  Reporter:  wenzeslaus   |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.2.1
 Component:  Display      |    Version:  7.2.0
Resolution:               |   Keywords:  d.text d.graph
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+----------------------------

Comment (by hcho):

 I found the default at=50,50 in DtextController in decorations.py. The
 default for d.text is actually the upper-left corner. This option is empty
 in GUI, so at=50,50 is totally unexpected. I think it shouldn't have any
 hard-coded default. Because of this forced default, we cannot run:
 {{{
 d.text input=text.txt
 }}}
 to display text from the upper-left corner.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3320#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list