[GRASS-user] grass-user Digest, Vol 152, Issue 4

Opearting system=eindows 8.1
Grass gis version = 7.4
Command typed in cmd=
d.mon wx0
d.title map=soils color=red size=6 -s
Then no tiles appear
Why the module is not working
Please tell
Thanks

On Fri, 7 Dec 2018, 01:31 , <grass-user-request@lists.osgeo.org> wrote:

Send grass-user mailing list submissions to
grass-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/grass-user
or, via email, send a message with subject or body ‘help’ to
grass-user-request@lists.osgeo.org

You can reach the person managing the list at
grass-user-owner@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than “Re: Contents of grass-user digest…”

Today’s Topics:

  1. Grass_gis (SHIVAM RAI)
  2. Re: (no subject) (Markus Neteler)
  3. Grass_gis (SHIVAM RAI)
  4. Re: Grass_gis (Helmut Kudrnovsky)

Message: 1
Date: Thu, 6 Dec 2018 21:17:31 +0530
From: SHIVAM RAI <srai14429467@gmail.com>
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] Grass_gis
Message-ID:
<CAFvSzS-p3XmLVuV6vHVfxu5n9AV_e0VQGWFAGgh3eCfeG9vZfg@mail.gmail.com>
Content-Type: text/plain; charset=“utf-8”

Hi
I have tried d.title command in console and cmd too. and i got the error:-
can not be implemented in wxGui. try to add as a command layer instead.
Please someone give me the solution for this
Thanks
-------------- next part --------------
An HTML attachment was scrubbed…
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181206/4bdb2f26/attachment-0001.html>


Message: 2
Date: Thu, 6 Dec 2018 18:14:55 +0100
From: Markus Neteler <neteler@osgeo.org>
To: SHIVAM RAI <srai14429467@gmail.com>
Cc: GRASS user list <grass-user@lists.osgeo.org>
Subject: Re: [GRASS-user] (no subject)
Message-ID:
<CALFmHhseaSToODQO=YEjhzcKytKPxJFV6Vp=NjJp2D4-tHqNtQ@mail.gmail.com>
Content-Type: text/plain; charset=“UTF-8”

Hi,

On Thu, Dec 6, 2018 at 9:38 AM SHIVAM RAI <srai14429467@gmail.com> wrote:

Hi,
please don’t delay.
please answer the question that i have asked recently

you still did not send which operating system you use. In another
email to me you stated that it is GRASS GIS 7.4.0.

when executing “d.tile” and “d.what.rast” in console or cmd

Please elaborate “in console or cmd”.

error: not implemented in the wxGUI. try to add as a layer command.
thanks

Markus


Message: 3
Date: Thu, 6 Dec 2018 23:28:10 +0530
From: SHIVAM RAI <srai14429467@gmail.com>
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] Grass_gis
Message-ID:
<CAFvSzS9KxSpC6xeRi±GZhM1EK4oCLKQeA2_JPH_+k+2JA-CUw@mail.gmail.com>
Content-Type: text/plain; charset=“utf-8”

Hi,
one question is that when i run the module d.title then no tile appears.
So why the module is not working
Please explain
thanks
-------------- next part --------------
An HTML attachment was scrubbed…
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181206/16ef4c1c/attachment-0001.html>


Message: 4
Date: Thu, 6 Dec 2018 12:11:40 -0700 (MST)
From: Helmut Kudrnovsky <hellik@web.de>
To: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] Grass_gis
Message-ID: <1544123500035-0.post@n6.nabble.com>
Content-Type: text/plain; charset=us-ascii

SHIVAM RAI wrote

Hi,
one question is that when i run the module d.title then no tile appears.
So why the module is not working
Please explain
thanks


grass-user mailing list

grass-user@.osgeo

https://lists.osgeo.org/mailman/listinfo/grass-user

as already mentioned in another mail, you have to tell us about:

  • which operating system (linux, MacOS, windows)
  • which GRASS version
  • exact command you used

best regards
Helmut

Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


Subject: Digest Footer


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


End of grass-user Digest, Vol 152, Issue 4


Opearting system=eindows 8.1
Grass gis version = 7.4
Command typed in cmd=
d.mon wx0
d.title map=soils color=red size=6 -s
Then no tiles appear
Why the module is not working

have you read the manual?

https://grass.osgeo.org/grass74/manuals/d.title.html

------------
d.title generates to standard output a string which can be used by d.text to
draw a TITLE for the raster map layer name in the active display frame on
the graphics monitor. Output created by d.title can be redirected into a
file, or piped directly into d.text to display the map TITLE created by
d.title. The map TITLE created will include the map layer's name, TITLE,
MAPSET, LOCATION_NAME, geographic region boundary coordinates, and cell
resolution. If the -d draw flag is used, then d.title will call d.text for
you and the title will be automatically rendered to the display.
[...]
For example, a user wishing to create a suitable TITLE for the Spearfish, SD
soils map layer and to display this TITLE in the active display frame on the
graphics monitor might type the following:

    d.title map=soils color=red size=5 > TITLE.file
    d.text < TITLE.file

Alternately, the user might pipe d.title output directly into d.text:

    d.title map=soils color=red size=5 | d.text

A file created by d.title can be displayed with d.text. Information
contained in this file takes precedence over the color and size parameters
for d.text.
------------

you need to use d.title in connection with d.text, e.g. on the OSGeo4W cmd
line

d.mon start=wx1
d.rast map=elevation

d.title -d map=elevation color=red size=5
or
d.title map=elevation color=red size=5 | d.text

d.mon stop=wx1

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html

Dear Shivam,

Several others have alraedy tried to help you and Helmut has sent you the relevant info from the man page.

Maybe the best for you would be to explain to us what you are trying to do. Not which modules you are trying to run, but what you want to accomplish with these modules.

Moritz

On 7/12/18 03:43, SHIVAM RAI wrote:

Opearting system=eindows 8.1
Grass gis version = 7.4
Command typed in cmd=
d.mon wx0
d.title map=soils color=red size=6 -s
Then no tiles appear
Why the module is not working
Please tell
Thanks

On Fri, 7 Dec 2018, 01:31 , <grass-user-request@lists.osgeo.org <mailto:grass-user-request@lists.osgeo.org>> wrote:

    Send grass-user mailing list submissions to
    grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>

    To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.osgeo.org/mailman/listinfo/grass-user
    or, via email, send a message with subject or body 'help' to
    grass-user-request@lists.osgeo.org
    <mailto:grass-user-request@lists.osgeo.org>

    You can reach the person managing the list at
    grass-user-owner@lists.osgeo.org
    <mailto:grass-user-owner@lists.osgeo.org>

    When replying, please edit your Subject line so it is more specific
    than "Re: Contents of grass-user digest..."

    Today's Topics:

      1. Grass_gis (SHIVAM RAI)
      2. Re: (no subject) (Markus Neteler)
      3. Grass_gis (SHIVAM RAI)
      4. Re: Grass_gis (Helmut Kudrnovsky)

    ----------------------------------------------------------------------

    Message: 1
    Date: Thu, 6 Dec 2018 21:17:31 +0530
    From: SHIVAM RAI <srai14429467@gmail.com
    <mailto:srai14429467@gmail.com>>
    To: grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
    Subject: [GRASS-user] Grass_gis
    Message-ID:
                <CAFvSzS-p3XmLVuV6vHVfxu5n9AV_e0VQGWFAGgh3eCfeG9vZfg@mail.gmail.com
    <mailto:CAFvSzS-p3XmLVuV6vHVfxu5n9AV_e0VQGWFAGgh3eCfeG9vZfg@mail.gmail.com>>
    Content-Type: text/plain; charset="utf-8"

    Hi
    I have tried d.title command in console and cmd too. and i got the
    error:-
    can not be implemented in wxGui. try to add as a command layer instead.
    Please someone give me the solution for this
    Thanks
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL:
    <http://lists.osgeo.org/pipermail/grass-user/attachments/20181206/4bdb2f26/attachment-0001.html&gt;

    ------------------------------

    Message: 2
    Date: Thu, 6 Dec 2018 18:14:55 +0100
    From: Markus Neteler <neteler@osgeo.org <mailto:neteler@osgeo.org>>
    To: SHIVAM RAI <srai14429467@gmail.com <mailto:srai14429467@gmail.com>>
    Cc: GRASS user list <grass-user@lists.osgeo.org
    <mailto:grass-user@lists.osgeo.org>>
    Subject: Re: [GRASS-user] (no subject)
    Message-ID:
                <CALFmHhseaSToODQO=YEjhzcKytKPxJFV6Vp=NjJp2D4-tHqNtQ@mail.gmail.com
    <mailto:NjJp2D4-tHqNtQ@mail.gmail.com>>
    Content-Type: text/plain; charset="UTF-8"

    Hi,

    On Thu, Dec 6, 2018 at 9:38 AM SHIVAM RAI <srai14429467@gmail.com
    <mailto:srai14429467@gmail.com>> wrote:
     >
     > Hi,
     > please don't delay.
     > please answer the question that i have asked recently

    you still did not send which operating system you use. In another
    email to me you stated that it is GRASS GIS 7.4.0.

     > when executing "d.tile" and "d.what.rast" in console or cmd

    Please elaborate "in console or cmd".

     > error: not implemented in the wxGUI. try to add as a layer command.
     > thanks

    Markus

    ------------------------------

    Message: 3
    Date: Thu, 6 Dec 2018 23:28:10 +0530
    From: SHIVAM RAI <srai14429467@gmail.com
    <mailto:srai14429467@gmail.com>>
    To: grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
    Subject: [GRASS-user] Grass_gis
    Message-ID:
                <CAFvSzS9KxSpC6xeRi+-GZhM1EK4oCLKQeA2_JPH_+k+2JA-CUw@mail.gmail.com
    <mailto:CAFvSzS9KxSpC6xeRi%2B-GZhM1EK4oCLKQeA2_JPH_%2Bk%2B2JA-CUw@mail.gmail.com>>
    Content-Type: text/plain; charset="utf-8"

    Hi,
      one question is that when i run the module d.title then no tile
    appears.
    So why the module is not working
    Please explain
      thanks
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL:
    <http://lists.osgeo.org/pipermail/grass-user/attachments/20181206/16ef4c1c/attachment-0001.html&gt;

    ------------------------------

    Message: 4
    Date: Thu, 6 Dec 2018 12:11:40 -0700 (MST)
    From: Helmut Kudrnovsky <hellik@web.de <mailto:hellik@web.de>>
    To: grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
    Subject: Re: [GRASS-user] Grass_gis
    Message-ID: <1544123500035-0.post@n6.nabble.com
    <mailto:1544123500035-0.post@n6.nabble.com>>
    Content-Type: text/plain; charset=us-ascii

    SHIVAM RAI wrote
     > Hi,
     > one question is that when i run the module d.title then no tile
    appears.
     > So why the module is not working
     > Please explain
     > thanks
     >
     > _______________________________________________
     > grass-user mailing list

     > grass-user@.osgeo

     > https://lists.osgeo.org/mailman/listinfo/grass-user

    as already mentioned in another mail, you have to tell us about:

    - which operating system (linux, MacOS, windows)
    - which GRASS version
    - exact command you used

    -----
    best regards
    Helmut
    --
    Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html

    ------------------------------

    Subject: Digest Footer

    _______________________________________________
    grass-user mailing list
    grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
    https://lists.osgeo.org/mailman/listinfo/grass-user

    ------------------------------

    End of grass-user Digest, Vol 152, Issue 4
    ******************************************

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

I just want to ask when i run the module d.title it does shown the title
So why the d.title does not work

On Fri, Dec 7, 2018 at 3:36 PM Moritz Lennert <mlennert@club.worldonline.be> wrote:

Dear Shivam,

Several others have alraedy tried to help you and Helmut has sent you
the relevant info from the man page.

Maybe the best for you would be to explain to us what you are trying to
do. Not which modules you are trying to run, but what you want to
accomplish with these modules.

Moritz

On 7/12/18 03:43, SHIVAM RAI wrote:

Opearting system=eindows 8.1
Grass gis version = 7.4
Command typed in cmd=
d.mon wx0
d.title map=soils color=red size=6 -s
Then no tiles appear
Why the module is not working
Please tell
Thanks

On Fri, 7 Dec 2018, 01:31 , <grass-user-request@lists.osgeo.org
mailto:[grass-user-request@lists.osgeo.org](mailto:grass-user-request@lists.osgeo.org)> wrote:

Send grass-user mailing list submissions to
grass-user@lists.osgeo.org mailto:[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/grass-user
or, via email, send a message with subject or body ‘help’ to
grass-user-request@lists.osgeo.org
mailto:[grass-user-request@lists.osgeo.org](mailto:grass-user-request@lists.osgeo.org)

You can reach the person managing the list at
grass-user-owner@lists.osgeo.org
mailto:[grass-user-owner@lists.osgeo.org](mailto:grass-user-owner@lists.osgeo.org)

When replying, please edit your Subject line so it is more specific
than “Re: Contents of grass-user digest…”

Today’s Topics:

  1. Grass_gis (SHIVAM RAI)
  2. Re: (no subject) (Markus Neteler)
  3. Grass_gis (SHIVAM RAI)
  4. Re: Grass_gis (Helmut Kudrnovsky)

Message: 1
Date: Thu, 6 Dec 2018 21:17:31 +0530
From: SHIVAM RAI <srai14429467@gmail.com
mailto:[srai14429467@gmail.com](mailto:srai14429467@gmail.com)>
To: grass-user@lists.osgeo.org mailto:[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
Subject: [GRASS-user] Grass_gis
Message-ID:

<CAFvSzS-p3XmLVuV6vHVfxu5n9AV_e0VQGWFAGgh3eCfeG9vZfg@mail.gmail.com
mailto:[CAFvSzS-p3XmLVuV6vHVfxu5n9AV_e0VQGWFAGgh3eCfeG9vZfg@mail.gmail.com](mailto:CAFvSzS-p3XmLVuV6vHVfxu5n9AV_e0VQGWFAGgh3eCfeG9vZfg@mail.gmail.com)>
Content-Type: text/plain; charset=“utf-8”

Hi
I have tried d.title command in console and cmd too. and i got the
error:-
can not be implemented in wxGui. try to add as a command layer instead.
Please someone give me the solution for this
Thanks
-------------- next part --------------
An HTML attachment was scrubbed…
URL:
<http://lists.osgeo.org/pipermail/grass-user/attachments/20181206/4bdb2f26/attachment-0001.html>


Message: 2
Date: Thu, 6 Dec 2018 18:14:55 +0100
From: Markus Neteler <neteler@osgeo.org mailto:[neteler@osgeo.org](mailto:neteler@osgeo.org)>
To: SHIVAM RAI <srai14429467@gmail.com mailto:[srai14429467@gmail.com](mailto:srai14429467@gmail.com)>
Cc: GRASS user list <grass-user@lists.osgeo.org
mailto:[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)>
Subject: Re: [GRASS-user] (no subject)
Message-ID:

<CALFmHhseaSToODQO=YEjhzcKytKPxJFV6Vp=NjJp2D4-tHqNtQ@mail.gmail.com
mailto:[NjJp2D4-tHqNtQ@mail.gmail.com](mailto:NjJp2D4-tHqNtQ@mail.gmail.com)>
Content-Type: text/plain; charset=“UTF-8”

Hi,

On Thu, Dec 6, 2018 at 9:38 AM SHIVAM RAI <srai14429467@gmail.com
mailto:[srai14429467@gmail.com](mailto:srai14429467@gmail.com)> wrote:

Hi,
please don’t delay.
please answer the question that i have asked recently

you still did not send which operating system you use. In another
email to me you stated that it is GRASS GIS 7.4.0.

when executing “d.tile” and “d.what.rast” in console or cmd

Please elaborate “in console or cmd”.

error: not implemented in the wxGUI. try to add as a layer command.
thanks

Markus


Message: 3
Date: Thu, 6 Dec 2018 23:28:10 +0530
From: SHIVAM RAI <srai14429467@gmail.com
mailto:[srai14429467@gmail.com](mailto:srai14429467@gmail.com)>
To: grass-user@lists.osgeo.org mailto:[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
Subject: [GRASS-user] Grass_gis
Message-ID:

<CAFvSzS9KxSpC6xeRi±GZhM1EK4oCLKQeA2_JPH_+k+2JA-CUw@mail.gmail.com
mailto:[CAFvSzS9KxSpC6xeRi%2B-GZhM1EK4oCLKQeA2_JPH_%2Bk%2B2JA-CUw@mail.gmail.com](mailto:CAFvSzS9KxSpC6xeRi%252B-GZhM1EK4oCLKQeA2_JPH_%252Bk%252B2JA-CUw@mail.gmail.com)>
Content-Type: text/plain; charset=“utf-8”

Hi,
one question is that when i run the module d.title then no tile
appears.
So why the module is not working
Please explain
thanks
-------------- next part --------------
An HTML attachment was scrubbed…
URL:
<http://lists.osgeo.org/pipermail/grass-user/attachments/20181206/16ef4c1c/attachment-0001.html>


Message: 4
Date: Thu, 6 Dec 2018 12:11:40 -0700 (MST)
From: Helmut Kudrnovsky <hellik@web.de mailto:[hellik@web.de](mailto:hellik@web.de)>
To: grass-user@lists.osgeo.org mailto:[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
Subject: Re: [GRASS-user] Grass_gis
Message-ID: <1544123500035-0.post@n6.nabble.com
mailto:[1544123500035-0.post@n6.nabble.com](mailto:1544123500035-0.post@n6.nabble.com)>
Content-Type: text/plain; charset=us-ascii

SHIVAM RAI wrote

Hi,
one question is that when i run the module d.title then no tile
appears.
So why the module is not working
Please explain
thanks


grass-user mailing list

grass-user@.osgeo

https://lists.osgeo.org/mailman/listinfo/grass-user

as already mentioned in another mail, you have to tell us about:

  • which operating system (linux, MacOS, windows)
  • which GRASS version
  • exact command you used

best regards
Helmut

Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


Subject: Digest Footer


grass-user mailing list
grass-user@lists.osgeo.org mailto:[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
https://lists.osgeo.org/mailman/listinfo/grass-user


End of grass-user Digest, Vol 152, Issue 4



grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

I just want to ask when i run the module d.title it does shown the title
So why the d.title does not work

relevant part taken from the manual:

-------
Output created by d.title can be redirected into a file, or piped directly
into d.text to display the map TITLE created by d.title.
-------

have you tried d.title + d.text?

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html

I’d like to point out that the combination of d.title and d.text is not working also on my system. I don’t use the d.* modules any more, but after seeing the OP’s post, I decided to try.

I’m using Linux Mint, and here’s what I tried:

GRASS 7.4.0 (WGS84):~ > g.list rast
....
srtm_negev_3arc
....
GRASS 7.4.0 (WGS84):~ > g.region rast=srtm_negev_3arc

GRASS 7.4.0 (WGS84):~ > d.mon wx0 # empty monitor appears
GRASS 7.4.0 (WGS84):~ > d.rast srtm_negev_3arc # map displays OK
100%
# Now I try to add a title:

GRASS 7.4.0 (WGS84):~ > d.title -d map=srtm_negev_3arc color=red # -d flag should display on wx0, but...
GRASS 7.4.0 (WGS84):~ > ERROR: Failed to run command 'd.text
input=/home/micha/GIS/grass/WGS84/PERMANENT/.tmp/TP480/11266.0
at=50,50'. Details:

GRASS_INFO_ERROR(11330,1): Unable to open input file
</home/micha/GIS/grass/WGS84/PERMANENT/.tmp/TP480/11266.0>
GRASS_INFO_END(11330,1)

The tmp file is indeed missing:

GRASS 7.4.0 (WGS84):~ > ll /home/micha/GIS/grass/WGS84/PERMANENT/.tmp/TP480/
total 12
drwxr-xr-x 3 micha micha 4096 Dec 7 13:21 .
drwxr-xr-x 3 micha micha 4096 Dec 7 13:19 ..
-rw-r--r-- 1 micha micha 0 Dec 7 13:40 11143.0.leg
drwxr-xr-x 3 micha micha 4096 Dec 7 13:20 MONITORS

# Another try

GRASS 7.4.0 (WGS84):~ > d.title map=srtm_negev_3arc color=red size=10 | d.text align=cc
GRASS 7.4.0 (WGS84):~ > # No title appears

# How about text without d.title

GRASS 7.4.0 (WGS84):~ > d.text text="My Title" color=red at=5,5 # Now text appears as expected!

GRASS 7.4.0 (WGS84):~ > echo "Second title" >> my_title.txt

GRASS 7.4.0 (WGS84):~ > d.text input=my_title.txt color=red at=25,25 # Again text appears

# And d.title piped into a file also works:

GRASS 7.4.0 (WGS84):~ > d.title map=srtm_negev_3arc > my_title2.txt
GRASS 7.4.0 (WGS84):~ > cat my_title2.txt
.C black
.S 4.000000
LOCATION: WGS84
srtm_negev_3arc in PERMANENT

North: 32.00 South: 29.00
West: 33.00 East: 36.00
Resolution: n-s: 0.00 e-w: 0.00
GRASS 7.4.0 (WGS84):~ > d.text input=my_title2.txt color=red at=75,75 # Text appears as expected

So maybe something is missing/not working in d.title | d.text combination ??

Regards, Micha

···

On 12/7/18 1:33 PM, Helmut Kudrnovsky wrote:

I just want to ask when i run the module d.title it does shown the title
So why the d.title does not work

relevant part taken from the manual:

-------
Output created by d.title can be redirected into a file, or piped directly
into d.text to display the map TITLE created by d.title.
-------

have you tried d.title + d.text?

-----
best regards
Helmut
--
Sent from: [http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html](http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html)
_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[https://lists.osgeo.org/mailman/listinfo/grass-user](https://lists.osgeo.org/mailman/listinfo/grass-user)
-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

I'd like to point out that the combination of d.title and d.text is not working also on my system. I don't use the d.* modules much any more, but after seeing the OP's repeated posts, I decided to try.

I'm using Linux Mint, and here's what I did:

GRASS 7.4.0 (WGS84):~ > g.list rast
....
srtm_negev_3arc
....
GRASS 7.4.0 (WGS84):~ > g.region rast=srtm_negev_3arc

GRASS 7.4.0 (WGS84):~ > d.mon wx0 # empty monitor appears
GRASS 7.4.0 (WGS84):~ > d.rast srtm_negev_3arc # map displays OK
100%
# Now I try to add a title:

GRASS 7.4.0 (WGS84):~ > d.title -d map=srtm_negev_3arc color=red # -d flag should display on wx0, but...
GRASS 7.4.0 (WGS84):~ > ERROR: Failed to run command 'd.text
input=/home/micha/GIS/grass/WGS84/PERMANENT/.tmp/TP480/11266.0
at=50,50'. Details:

    GRASS\_INFO\_ERROR\(11330,1\): Unable to open input file

</home/micha/GIS/grass/WGS84/PERMANENT/.tmp/TP480/11266.0>
GRASS_INFO_END(11330,1)

# The tmp file is indeed missing:

GRASS 7.4.0 (WGS84):~ > ll /home/micha/GIS/grass/WGS84/PERMANENT/.tmp/TP480/
total 12
drwxr-xr-x 3 micha micha 4096 Dec 7 13:21 .
drwxr-xr-x 3 micha micha 4096 Dec 7 13:19 ..
-rw-r--r-- 1 micha micha 0 Dec 7 13:40 11143.0.leg
drwxr-xr-x 3 micha micha 4096 Dec 7 13:20 MONITORS

# Another try

GRASS 7.4.0 (WGS84):~ > d.title map=srtm_negev_3arc color=red size=10 | d.text align=cc
GRASS 7.4.0 (WGS84):~ > # No title appears

# How about text without d.title

GRASS 7.4.0 (WGS84):~ > d.text text="My Title" color=red at=5,5 # Now text appears as expected!

GRASS 7.4.0 (WGS84):~ > echo "Second title" >> my_title.txt

GRASS 7.4.0 (WGS84):~ > d.text input=my_title.txt color=red at=25,25 # Again text appears

# And d.title piped into a file also works:

GRASS 7.4.0 (WGS84):~ > d.title map=srtm_negev_3arc > my_title2.txt
GRASS 7.4.0 (WGS84):~ > cat my_title2.txt
.C black
.S 4.000000
LOCATION: WGS84
srtm_negev_3arc in PERMANENT

North: 32.00 South: 29.00
West: 33.00 East: 36.00
Resolution: n-s: 0.00 e-w: 0.00
GRASS 7.4.0 (WGS84):~ > d.text input=my_title2.txt color=red at=75,75 # Text appears as expected

So maybe something is missing/not working in d.title | d.text combination ??

Regards, Micha

On 12/7/18 1:33 PM, Helmut Kudrnovsky wrote:

I just want to ask when i run the module d.title it does shown the title
So why the d.title does not work

relevant part taken from the manual:

-------
Output created by d.title can be redirected into a file, or piped directly
into d.text to display the map TITLE created by d.title.
-------

have you tried d.title + d.text?

-----
best regards
Helmut
--
Sent from:http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On 12/7/18 9:16 AM, Helmut Kudrnovsky wrote:

Opearting system=eindows 8.1
Grass gis version = 7.4
Command typed in cmd=
d.mon wx0
d.title map=soils color=red size=6 -s
Then no tiles appear
Why the module is not working

have you read the manual?

https://grass.osgeo.org/grass74/manuals/d.title.html

------------
d.title generates to standard output a string which can be used by d.text to
draw a TITLE for the raster map layer name in the active display frame on
the graphics monitor. Output created by d.title can be redirected into a
file, or piped directly into d.text to display the map TITLE created by
d.title. The map TITLE created will include the map layer's name, TITLE,
MAPSET, LOCATION_NAME, geographic region boundary coordinates, and cell
resolution. If the -d draw flag is used, then d.title will call d.text for
you and the title will be automatically rendered to the display.
[...]
For example, a user wishing to create a suitable TITLE for the Spearfish, SD
soils map layer and to display this TITLE in the active display frame on the
graphics monitor might type the following:

     d.title map=soils color=red size=5 > TITLE.file
     d.text < TITLE.file

Alternately, the user might pipe d.title output directly into d.text:

     d.title map=soils color=red size=5 | d.text

A file created by d.title can be displayed with d.text. Information
contained in this file takes precedence over the color and size parameters
for d.text.
------------

you need to use d.title in connection with d.text, e.g. on the OSGeo4W cmd
line

d.mon start=wx1
d.rast map=elevation

d.title -d map=elevation color=red size=5
or
d.title map=elevation color=red size=5 | d.text

d.mon stop=wx1

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918