组件式开发,点云参数怎么设置

0 投票
使用产品:SuperMap iObject .NET 9D 操作系统:win10 x64
数据类型: .las

问题详细描述:代码如下,为什么点云生成的缓存总是有错误,还要设置哪些参数?

PointCloudCacheBuilder myPointCloudCacheBuilder = new PointCloudCacheBuilder();
            PointCloudFileInfo myPointCloudFileInfo = new PointCloudFileInfo();
            myPointCloudFileInfo.CoordSystemTransMethod = CoordSysTransMethod.Extension;
            
            myPointCloudFileInfo.PointCloudFileNamesArray = filenames;
            myPointCloudFileInfo.PointDataUnit = DataUnit.Meter;
            myPointCloudFileInfo.PointInfoType = PointCloudInfoType.XYZ;
            m_Point3DX = Convert.ToDouble(txtPoint3DX.Text.ToString());
            m_Point3DY = Convert.ToDouble(txtPoint3DY.Text.ToString());
            m_Point3DZ = Convert.ToDouble(txtPoint3DZ.Text.ToString());
            myPointCloudFileInfo.Position = new Point3D(m_Point3DX, m_Point3DY, m_Point3DZ);
            myPointCloudFileInfo.SrcPrjCoordSys = prjCoordSys;

            myPointCloudCacheBuilder.PointCloudInfos = myPointCloudFileInfo;
            myPointCloudCacheBuilder.OutputFolder = textBox2.Text;
            myPointCloudCacheBuilder.PointCloudListName = "Config";
            myPointCloudCacheBuilder.CacheName = "DianYun";
            myPointCloudCacheBuilder.ProcessType = ProcessFileType.Add;
            myPointCloudCacheBuilder.FileType = SuperMap.Realspace.CacheFileType.OSGB;
            myPointCloudCacheBuilder.TilePyramidSplitType = PyramidSplitType.QuadTree;
            myPointCloudCacheBuilder.CategoryField = PointCloudCategoryField.Intensity;
            bool mySucess = myPointCloudCacheBuilder.Build();
5月 31 分类:  48次浏览 | 用户: 七闲 初出茅庐 (23 分)

1个回答

0 投票
具体报什么错,用同版本的桌面对数据生成缓存能够成功生成吗
5月 31 用户: 程逸诗 名扬四海 (4,283 分)
没报错,但是生成的点云缓存不对,用其他任何软件或者超图桌面打开的都不匹配
...