[GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

Veronica Andreo veroandreo at gmail.com
Thu Feb 7 02:50:09 PST 2019


Hi Joe

El jue., 7 feb. 2019 07:35, Joe <joe.on.list at gmail.com> escribió:

> On Wed, Feb 6, 2019 at 4:53 PM Rich Shepard <rshepard at appl-ecosys.com>
> wrote:
> >
> > First, open a display monitor:
> >
> > d.mon start=wx0
> >
> > When you're finished, close the monitor:
> >
> > d.mon stop=wx0
> >
> > Of course, you can open multiple monitors (I don't know the maximum as
> I've
> > used only 2 at most) by incrementing the wxN integer.
>
> Thanks for yuor answer Rich, but in that way we would work on a new
> "stand alone" window (monitor), "basins" map is not added to the
> wxPython "Layer Manager". Look at this screenshot:
> https://cdn.pbrd.co/images/I028MO5.jpg
>
> We have wxpython GUI on the left with "Layer Manager" at top and "Map
> Display" at the bottom. On the right the new monitor window "wx0" and
> the terminal with grass prompt. As you can see the layer manager is
> empty.
>
> If I type the same command "d.rast basins at PERMANENT" at the layer
> manager console (top-left), the map is displayed in Map Display window
> and a new "layer" is added to the "Layers" tab of the layer manager:
> https://cdn.pbrd.co/images/I02qjCR.jpg
> https://cdn.pbrd.co/images/I02rk6A.jpg
>
> The question was: can I add the raster map "basins at PERMANENT" to the
> layer manager layers list by type a command at the terminal console
> (not using the wxpyton gui console)?


No, you can't. The terminal does not control the layer manager nor the main
map display. From the terminal you need to open a wx monitor and then
display maps there.

The main gui map display is controlled with the icons or the console tab in
the layer manager.

HTH,
Vero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190207/e4e6aa6c/attachment-0001.html>


More information about the grass-user mailing list