[GRASS-user] Print message before hitting "Run" in the g.parser UI

Luigi Ponti lponti at infinito.it
Mon Sep 1 17:20:22 EDT 2008


Hi there,

I have a bash script that processes a text file consisting of longitude 
and latitude columns plus other columns with point data -- the script 
imports the data and maps it. The script includes a parser-friendly 
section so that the g.parser UI shows up if called with no arguments.

I would like to print info on the file such us the name of columns with 
data (e.g. via g.message) so that the user can choose which one to 
import. However, nothing can apparently be printed to the "Output - 
GIS.m" window before the "Run" button of the g.parser UI is pressed (too 
late for choosing a column...).

Does anybody see a way around this? Running native WinGRASS 6.3.0 on a 
XP machine.

Regards,

Luigi


More information about the grass-user mailing list