[GRASS-dev] Where is the GRASS legend file?
Michael Barton
Michael.Barton at asu.edu
Thu Jul 20 15:14:10 PDT 2023
According to the d.legend.vect manual, I should have a legend file somewhere for all vectors. Here is what it says in notes:
"Module d.legend.vect draws vector legend based on legend file defined in shell environment variable GRASS_LEGEND_FILE. This file is automatically created and updated whenever d.vect command is used. User can create custom legend file and then use export GRASS_LEGEND_FILE=path/to/file in shell. GRASS GUI and MONITORS create the legend file automatically. By default the legend file is stored in grassdata/location/mapset/.tmp/user directory (in case of d.mon deeper in /monitor_name directory)."
As a test, I made a vector areas file out of the landclass96_28 raster in the North Carolina demo dataset. I set the vector color table to match the original raster. That works fine. Now I'd like to make a legend out of this. But I can't find the file that is supposed to be generated automatically to use or examine.
It is not in grassdata/location/mapset/.tmp/user directory
/Users/cmbarton/Dropbox\ \(ASU\)/GRASS_dropbox/grassdata_dropbox/nc_spm_08_grass7/spatialtech2023/.tmp
This directory contains no files and only one empty folder ("OKED3863").
The environmental variable GRASS_LEGEND_FILE appears to be empty
So can anyone help me find this missing file?
Michael
_____________________________
C. Michael Barton
Associate Director, School of Complex Adaptive Systems (https://scas.asu.edu<https://scas.asu.edu/>)
Professor, School of Human Evolution & Social Change (https://shesc.asu.edu)
Director, Center for Social Dynamics & Complexity (https://complexity.asu.edu)
Arizona State University
Tempe, AZ 85287-2701
USA
Executive Director, Open Modeling Foundation (https://openmodelingfoundation.github.io<https://openmodelingfoundation.github.io/>)
Director, Network for Computational Modeling in Social & Ecological Sciences (https://comses.net)
personal website: http://www.public.asu.edu/~cmbarton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20230720/9132e3cf/attachment.htm>
More information about the grass-dev
mailing list