G
George
Dear friends,
I have a database in Access 2003 about Forest Inventory. I have data
collected from sample plots in a table (T_RawData1991-2001 – linked from
T_SamplePlotsDetails one to many). For each tree I have its SerialNo
recorded manually, so in a sample plot I may have 5 trees (up to 100),
serially 1-5. I have also recorded the distance and the azimuth of each tree
from the center of the sample plot.
Now, I want to have (using a query perhaps) the following results:
The distance combination between all Trees e.g. 1-2, 1-3, 1-4, 1-5, 2-1,
2-3, 2-4, 2-5, 3-1, 3-2, 3-4, 3-5, 4-1, 4-2, 4-3, 4-5, 5-1, 5-2, 5-3, 5-4.
Taking into consideration the first distance (between tree 1 and 2):
Distance Between tree 1 and 2: length1 + length2
Length1: sin1 * L1
sin1 is the sin of the azimuth of the first tree and L1 is the distance of
the first tree
Length2: sin2 * L2
Sin2 is the sin of the azimuth of the second tree and L2 is the distance of
the second tree
Is it possible?
Thanking you so much in advance,
GeorgeC
I have a database in Access 2003 about Forest Inventory. I have data
collected from sample plots in a table (T_RawData1991-2001 – linked from
T_SamplePlotsDetails one to many). For each tree I have its SerialNo
recorded manually, so in a sample plot I may have 5 trees (up to 100),
serially 1-5. I have also recorded the distance and the azimuth of each tree
from the center of the sample plot.
Now, I want to have (using a query perhaps) the following results:
The distance combination between all Trees e.g. 1-2, 1-3, 1-4, 1-5, 2-1,
2-3, 2-4, 2-5, 3-1, 3-2, 3-4, 3-5, 4-1, 4-2, 4-3, 4-5, 5-1, 5-2, 5-3, 5-4.
Taking into consideration the first distance (between tree 1 and 2):
Distance Between tree 1 and 2: length1 + length2
Length1: sin1 * L1
sin1 is the sin of the azimuth of the first tree and L1 is the distance of
the first tree
Length2: sin2 * L2
Sin2 is the sin of the azimuth of the second tree and L2 is the distance of
the second tree
Is it possible?
Thanking you so much in advance,
GeorgeC