g.filename
Xin Zhuang
zhuang at access.digex.net
Tue Dec 14 18:13:48 EST 1993
g.manual says it prints a GRASS database file name.
This is the syntax:
g.filename element=dig_map mapsep=/usr/grass/data/spearfish/workspace \
file=roads
Everyone knows that dig_map doesn't exits. But g.filename generated
dig_map under workspace.
^^^^^^^
BY checking the src, this is what I found:
G__make_mapset_element(element);
G__file_name(path, element, name, mapset);
I don't have any document showing the usage of
these "G__" functions. But I think the 1st one
is to create instead of to check.
BTW, I would appreciate anyone can tell me
where I can find documentation about
functions like these G__.
--Xin
zhuang at access.digex.com
More information about the grass-user
mailing list