Hello everybody,
I'm very knew in programming and I'm just trying to add some easy to use tools for the vector datas in GRASS. My aim ( a command from my employer) is to make the building of a query (to use after with v.extract) very easy for people who don't know SQL syntax. For this, I've first made a simple bash script (that can probably be enhanced) that works fine. The next point is to provide it trough a GUI, inside GRASS... I've made a Tcl/Tk script that I've integrated in my GRASS installation (in /Applications/grass61cvs.app/Contents/Resources/grass-6.1.cvs/scripts), and add the line "exec $GRASS_WISH "$0" "$@", but it failed : the answer is "GRASS_WISH : no such variable". If I don't use the "$0" "$@", a new wish start, but wait for me to start manually (via file/source) a script...
Can anyone help me ??
Here's my code, it will be easier to talk with it !!
Thierry Gonon
2 place de l'Eglise
01150 LAGNIEU
France
(attachments)
db_q.tcl (7.34 KB)