[GRASS5] g51: v.surf.rst

Radim Blazek blazek at itc.it
Fri Oct 4 10:27:09 EDT 2002


On Friday 04 October 2002 03:32 pm, Helena Mitasova wrote:
> Radim,
>
> Jaro got the v.surf.rst running and results look good, but for more
> complete testing we need a little bit more info.
> On the grass51 web site you have a list of modules that need to be updated,
> do you also have a list
> of modules that are already done and that you are currently working on (so
> that we are not asking you too many questions?)

It is the same site:
http://freegis.org/cgi-bin/viewcvs.cgi/~checkout~/grass51/doc/vector/v.modules.html
Y = yes = updated, "Working on" = working on. May be is not clear from that 
page, let me know what is confusing?

> So far I have found the following
>
>       v.ascii  v.category  v.convert  v.surf.rst   v.build  v.clean
> v.mapcalc

Just a note: I have here some other modules not yet commited:
v.distance, v.salesman, v.net, v.steiner

> and I am writing draft man pages for them (you may expect more questions
> from me).

Thank you a lot.

> Now, what command should I use to find  the names of zcol and scol? With
> v.category report I get only field 1
> which is category, how do I get the info about elevation?

'zcol' and 'scol' are names of columns in the database table, so you need 
first some table with at least 2 columns like:
  cat(int) - some identifier used as link beteen vector and DB table
  zcol(double) - z values
then the connection must be defined in 'DB' file, see:
http://freegis.org/cgi-bin/viewcvs.cgi/~checkout~/grass51/doc/vector/vector.html#attr

> Do you plan to
> write something like v.info that would
> give a comprehensive information about what is in the vector file?
> (something like s.info?)

v.info must be updated, but it is not on the top of my list.

> Any chance for v.surf.rst to read directly shape files (not really
> important, but if it is easy to do it would be great,
> most of the data that we get are either nasty mixed-up CAD data or shape
> files).

Of course, you need just to define the vector as shapefile, see 
g51test/test/vector/lake.shp/frmt in thr demo package. 3D shapefiles are not 
yet supported, but it will be trivial as such files are supported by shapelib.
(BTW: may be, that there is some bug in shapefile support (v.build), but 
currently I don't have time to fix it.)

> It is still kind of adventure to use grass51 because there is so little
> info about it
> and we still haven't figured out how to call grass5 commands from grass51,
> but we will get there eventually.

I don't know what is the correct way if any exists, you can run grass51 and 
grass50 at the same time (carefully) or I use the script g50 which just sets 
some variables and runs the command:
export PATH=/amd/ssi0/ssi/blazek/grass/dist.i686-pc-linux-gnu/bin:$PATH;
export GISBASE=/amd/ssi0/ssi/blazek/grass/dist.i686-pc-linux-gnu;
$*

so that I can run in g51 shell g50 commands, for example:
g50 d.sites

Radim






More information about the grass-dev mailing list