2 from opals
import Import
7 logLevel=opals.Types.LogLevel.none
11 imp = Import.Import(inFile=[
"strip11.laz"], tileSize=5, screenLogLevel=logLevel)
16 inf = Info.Info(inFile=[imp.outFile], screenLogLevel=logLevel)
18 att_stat = inf.statistic[0].getAttributes()
19 idx_stat = inf.statistic[0].getIndices()
23 print(
"Attribute statistics of file {}".format(imp.outFile) )
24 print(
"Name: Count/Min/Mean/Max")
26 print(
"Name {}: {:0d}/{:0.3f}/{:0.3f}/{:0.3f}".format( a.getName(), a.getCount(), \
27 a.getMin(), a.getMean(), a.getMax()))
28 print(
"-----------------------------------------------------------")
32 print(
"Spatial index statistics of file {}".format(imp.outFile) )
34 print(
"{:0d} leaves".format( i.getCountLeaf()))
35 print(
"Tile size: {:0.1f}".format(i.getTileSize()))
36 print(
"Min #pts per leaf: {:0.1f}".format(i.getObjectsInLeafMin()))
37 print(
"Mean #pts per leaf: {:0.1f}".format(i.getObjectsInLeafMean()))
38 print(
"Max #pts per leaf: {:0.1f}".format(i.getObjectsInLeafMax()))