Hei Nikos, Frank,

I opened an enhancement ticket, and asked to activate the "Add created map(s) 
into layer tree" also for addons:
https://trac.osgeo.org/grass/ticket/3686. No idea what changes this would 
require...

Would that cover your needs, Frank, or do you have a more interactive use in a 
python script in mind?
You can start a wx monitor (d.mon wx0) and add a map there, but I have not 
found a way to address the currently active Map Display ...

This would probably require additional function(s) in the Python libraries...?

Maybe this question is better asked at the developer list (thus I put grass-dev 
in CC).

Cheers
Stefan


From: Frank David <frank.da...@geophom.fr>
Sent: onsdag 24. oktober 2018 08:26
To: Nikos Alexandris <n...@nikosalexandris.net>
Cc: Stefan Blumentrath <stefan.blumentr...@nina.no>; Laurent C. 
<lrn...@gmail.com>; GRASS user list <grass-user@lists.osgeo.org>
Subject: Re: [GRASS-user] d.rast in python script




Le 23/10/2018 à 23:26, Nikos Alexandris a écrit :
* Frank David <frank.da...@geophom.fr><mailto:frank.da...@geophom.fr> 
[2018-10-23 22:06:01 +0200]:


Thank you everybody for your help. Do you know why a run_command("d.rast"... in 
a python script is not enough to display a raster ? I don't understand why this 
command is so different.

Display a raster map where?

Nikos
In the active map display (and respective Layer manager) as d.rast do it with 
gui...

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

Reply via email to