<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hallo Moritz. <br>
v.layer.analysis.sh is a script created by me, it works on Linux-GRASS.<br>
<br>
Also using v.db.update I get the same error!<br>
<br>
<small>mirko.baruffini@ISTPC29 /<br>
$ /c/grass63RC4/bin/grass63<br>
Cleaning up temporary files.....<br>
Starting GRASS ...<br>
GISDBASE='W:/grassdb';<br>
LOCATION_NAME='Ticino';<br>
MAPSET='Mirko';<br>
WARNING: Attention!<br>
WARNING: Locking is not supported on Windows!<br>
GRASS GUI should be tcltk<br>
__________ ___ __________ _______________<br>
/ ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/<br>
/ / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ <br>
/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / <br>
\____/_/ |_/_/ |_/____/____/ \____/___//____/ <br>
<br>
Welcome to GRASS 6.3.0RC4 (2008) <br>
GRASS homepage: <a class="moz-txt-link-freetext" href="http://grass.osgeo.org/">http://grass.osgeo.org/</a><br>
This version running thru: Bourne Shell (/bin/sh)<br>
Help is available with the command: g.manual -i<br>
See the licence terms with: g.version -c<br>
If required, restart the graphical user interface with: gis.m<br>
When ready to quit enter: exit<br>
<br>
GRASS 6.3.0RC4 (Ticino):C:/msys/1.0 > cd ../../<br>
GRASS 6.3.0RC4 (Ticino):C: > pwd<br>
C:<br>
GRASS 6.3.0RC4 (Ticino):C: > v.db.update<br>
<br>
ERROR: Required parameter <map> not set:<br>
(Vector map to edit the attribute table for).<br>
<br>
ERROR: Required parameter <column> not set:<br>
(Column to update).<br>
<br>
Description:<br>
Allows to update a column in the attribute table connected to a vector
map.<br>
<br>
Keywords:<br>
vector, database, attribute table<br>
<br>
Usage:<br>
v.db.update map=string [layer=value] column=string [value=string]<br>
[qcolumn=string] [where=string] [--verbose] [--quiet]<br>
<br>
Flags:<br>
--v Verbose module output<br>
--q Quiet module output<br>
<br>
Parameters:<br>
map Vector map to edit the attribute table for<br>
layer Layer to which the table to be changed is connected<br>
default: 1<br>
column Column to update<br>
value Value to update the column with (varchar values have to be
in single quotes, e.g. 'grass')<br>
qcolumn Column to query<br>
where WHERE conditions for update, without 'where' keyword (e.g.
cat=1 or col1/col2>1)<br>
GRASS 6.3.0RC4 (Ticino):C: > </small><br>
<br>
Can you help me?<br>
<br>
Mirko<br>
<br>
Moritz Lennert ha scritto:
<blockquote cite="mid:47BE8FF8.5080005@club.worldonline.be" type="cite">On
12/02/08 09:18, Mirko Baruffini wrote:
<br>
<blockquote type="cite">Yes, I get the warning messages reported
below. It seems that tcltk doesn't work correctly....(but I can see the
grass GIS manager, map display and output windows...). As you can see
the scipts run only in text mode...
<br>
</blockquote>
<br>
I don't know what is in v.layer.analysis.sh. Maybe you could first try
with one of the scripts integrated into grass, such as v.db.update.
What happens if you run that without arguments ?
<br>
<br>
Moritz
<br>
<br>
<br>
<blockquote type="cite">Mirko
<br>
<br>
mirko.baruffini@ISTPC29 /
<br>
$ /c/grass63RC4/bin/grass63
<br>
Cleaning up temporary files.....
<br>
Starting GRASS ...
<br>
GISDBASE='W:/grassdb';
<br>
LOCATION_NAME='Ticino';
<br>
MAPSET='Mirko';
<br>
WARNING: Attention!
<br>
WARNING: Locking is not supported on Windows!
<br>
GRASS GUI should be tcltk
<br>
__________ ___ __________ _______________
<br>
/ ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
<br>
/ / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
<br>
/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
<br>
\____/_/ |_/_/ |_/____/____/ \____/___//____/ <br>
Welcome to GRASS 6.3.0RC4 (2008)
<br>
GRASS homepage: <a class="moz-txt-link-freetext" href="http://grass.osgeo.org/">http://grass.osgeo.org/</a>
<br>
This version running thru: Bourne Shell (/bin/sh)
<br>
Help is available with the command: g.manual -i
<br>
See the licence terms with: g.version -c
<br>
If required, restart the graphical user interface with: gis.m
<br>
When ready to quit enter: exit
<br>
<br>
GRASS 6.3.0RC4 (Ticino):C:/msys/1.0 > cd ../
<br>
GRASS 6.3.0RC4 (Ticino):C:/msys > cd ../
<br>
GRASS 6.3.0RC4 (Ticino):C: > v.la
<br>
v.label.exe v.layer.analysis.py~ v.layer.analysis.py
v.layer.analysis.sh GRASS 6.3.0RC4 (Ticino):C: >
v.layer.analysis.sh
<br>
<br>
ERROR: Required parameter <map> not set:
<br>
(Vector map).
<br>
<br>
ERROR: Required parameter <column_tab> not set:
<br>
(Name of the column tab).
<br>
<br>
ERROR: Required parameter <column> not set:
<br>
(Name of the column).
<br>
<br>
Description:
<br>
Select a column to be analyzed
<br>
<br>
Keywords:
<br>
vector, database, attribute table
<br>
<br>
Usage:
<br>
v.layer.analysis.sh map=name [layer=value] column_tab=string
<br>
column=string [--verbose] [--quiet]
<br>
<br>
Flags:
<br>
--v Verbose module output
<br>
--q Quiet module output
<br>
<br>
Parameters:
<br>
map Vector map
<br>
layer Layer
<br>
default: 1
<br>
column_tab Name of the column tab
<br>
column Name of the column
<br>
GRASS 6.3.0RC4 (Ticino):C: >
<br>
<br>
<br>
<br>
Moritz Lennert ha scritto:
<br>
<blockquote type="cite">On 11/02/08 16:39, Mirko Baruffini wrote:
<br>
<blockquote type="cite"><br>
Thank you Moritz!
<br>
Now it works! I have modified the file bin/grass63 as you told me. But
the scipts run only in text mode....
<br>
Can I also run them with a GUI?
<br>
Can you help me?
<br>
</blockquote>
<br>
What does not work in the GUI ? Do you get error messages ?
<br>
<br>
Moritz
<br>
<br>
<blockquote type="cite"><br>
Mirko
<br>
<br>
<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br>
</body>
</html>