TransWikia.com

GRASS GIS: Showing displaying a raster map

Geographic Information Systems Asked by NilsG on March 22, 2021

I am trying to understand GRASS GIS to model the transport of solute.

I followed the example of the GrassGIS manual and set up a region within a XY projection. I also used r.mapcalc to generate a raster map. Now I want to display the raster map. But when I execute

"d.rast map=phead@PERMANENT bgcolo=red"

the console shows

"GRASS_INFO_ERROR(18956,1): Field <zone> missing                                 
GRASS_INFO_END(18956,1)".

Well, how do I display the raster map?

One Answer

The reason is that the GRASS GIS display monitor remembers the list of maps which you have displayed. In your case, one map may no longer exist while the monitor doesn't "know" that.

Solution:

Run d.erase to clean the list of maps in the monitor.

Then run again d.rast map=phead@PERMANENT bgcolor=red.

Correct answer by markusN on March 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP