User Tools

Site Tools


help:genloader

GenLoader module

Author

François de Coligny (INRA), UMR AMAP, botAnique et bioinforMatique de l'Architecture des Plantes, TA 40 / PS2 - Boulevard de la Lironde, 34398 Montpellier Cedex 5

Objectives

GenLoader is a module without evolution. It is just provided to load some spatially explicit inventories into a Capsis project to use some tools on them.

It was first developped to allow 3D viewing with the Viewer3D tool. It can be reused for other purposes.

Description

GenLoader is a special loader device without evolution inside.

Inputs

GenLoader uses inventory files with the characteristics of each tree : id, x, y, z, dbh (cm.), height (m.), crownBaseHeight (m.), crownRadius (m.), stateCode, shapeCode, transparency

Notes :

id is an integer

stateCode is an integer (generally a color)

stateCode :
0 - target, red
1 - yellow
2 - gray
i - green

shapeCode is 'e' (ellipsoid) or 'c' (cone)

other values are decimal

transparency: 0.0 (opaque) to 1.0 (transparent)

Inventory example with four trees :

21 0 40 0 10 10 5 2.5 3 e 0

22 0 50 0 10 10 5 2.5 3 c 0

23 50 50 0 10 10 5 2.5 3 e 0

24 50 40 0 10 10 5 2.5 3 c 0

Outputs

Some viewers can be used to examine stand characteristics (Viewer3D, Simple and Text viewers, data structure Inspector…).

help/genloader.txt · Last modified: 2021/12/13 09:28 by 127.0.0.1