I finally managed to get GRASS started and running. My next task is to
import a few Arc/Info coverages to form the basemap for a project.
However, whenever I try anything like
m.in.e00 help
I get the message
ERROR: LOCATION_NAME not set
with no explanation of what is causing that error. I have GISDBASE,
LOCATION_NANE, and MAPSET environment variables set before starting and
I've set them in the setup menu, those were needed to even start. Yet
no GRASS programs can find there variables.
I have since tried creating the outline of Location from the startup,
but it complained about some part of the Location creation, again about
LOCATION_NAME not being set. I have not been able to get any
information out of g.gisenv and have looked through several manuals and
not found any useful information about this problem.
I am running precompiled grass4.3 on a Linux system.
Scott Smith
Scott Smith wrote:
I finally managed to get GRASS started and running. My next task is to
import a few Arc/Info coverages to form the basemap for a project.
However, whenever I try anything like
m.in.e00 help
I get the message
ERROR: LOCATION_NAME not set
Hmm, this is a message displayed by the grass library when a program
test the environment variables (including $LOCATION).
After starting the Grass shell, look at what the command "/bin/echo $LOCATION"
"/bin/echo $LOCATION_NAME", etc. give. Use "/bin/echo" because the problem
may also be that variable are set but not exported (thus not available for
the programs you run)
Here is an exemple of the environment variables when you run Grass :
GISBASE=/home/local/grass-5.0
GISDBASE=/home/grass-data
GISRC=/home/mw/.grassrc5
GIS_LOCK=6829
LOCATION=/home/grass-data/drain-bv/PERMANENT
LOCATION_NAME=drain-bv
MAPSET=PERMANENT
You should have the same error with many other programs, not only m.in.e00.
I am running precompiled grass4.3 on a Linux system.
What kind of unix system ? what shell (sh, csh, bash, tcsh,...) are you using ?
--
Michel Wurtz ENGEES - CEREG
1, quai Koch - BP 1039, F-67070 STRASBOURG cedex
Tel: +33 03.88.24.82.45 Fax: +33 03.88.37.04.97