[GRASS5] v.trees3d

Hallo,
after some time, I tryed to rewrite my old trees.pl script to C with
database support for attributes height, diameter and species for each
tree.

The code is not very nice, but I'm not able to make it nicer now - my C
skills are very poor. But it works. If anybody could
rewrite/show me the way, how to write it better, I will be thankfull.

For some screenshots you can have a look at
v.trees in=points out=forest elev=dem beech=50 oak=50 hvar=20 vvar=5
height=25
    http://les-ejk.cz/tmp/trees01.png

v.trees in=points out=forest elev=dem beech=50 oak=50 hcolumn=height
hvar=2
http://les-ejk.cz/tmp/trees02.png
http://les-ejk.cz/tmp/trees03.png

Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/
-----------------------------------------
OFFICE:
Department of Geoinformation Technologies
LDF MZLU v Brnì
Zemìdìlská 3
613 00 Brno
e-mail: xcepicky@node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514

(attachments)

v.trees3d.tar.gz (7.76 KB)