首页 / 浏览问题 / 组件GIS / 问题详情
组件式开发,点云参数怎么设置
26EXP 初出茅庐 2021年05月31日
使用产品: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();

1个回答

具体报什么错,用同版本的桌面对数据生成缓存能够成功生成吗
4,565EXP 名扬四海 2021年05月31日
没报错,但是生成的点云缓存不对,用其他任何软件或者超图桌面打开的都不匹配
...