首页 / 浏览问题 / Web / 问题详情
iclient3d中如何同时叠加3dtile三维服务、和S3M服务
7月30日, 2021

我们的项目上,是用idesktop建模、iserver发布服务。但是我们的甲方给了一个3dtiles的服务过来。需要我们叠加上去。

我尝试了很多办法都不行。在csdn上面,有种方式可以通过

let obj = [6378137.0, 6378137.0, 6356752.3142451793];
Cesium.Ellipsoid.WGS84 = new Cesium.Ellipsoid(obj[0], obj[1], obj[2]);

修改椭球体,这个时候可以叠加3dtiles服务,但是对应的S3M服务就无法叠加。

然后我看到了这个文章,https://blog.csdn.net/supermapsupport/article/details/112007802

我拿了一个S3M图层的服务用IEarth工具测试,结果报错了。。。

请问有什么方式可以同时叠加3dtile三维服务、和S3M服务。

如果需要提供转换文件,请发邮箱给我

1个回答

您好,可以看下日志里面具体报的什么错,留个邮箱,我发个版本给您
卷饼先生  (6,037分)  登峰造极
7月30日, 2021
我的邮箱是:527723544@qq.com

window 10里面,log目录是空的。

您好,收到您的邮件了,但是还是报错。

2021-08-02 08:55:45 [error] Failed to load the dynamic library C:\Users\Administrator\Desktop\新建文件夹 (3)\新建文件夹\iEarth(s3m与3dtiles互转)\SuFileParserGDAL.fps, ThreadID: 26368, Timespan(ms): 0, ResourceID: IMd011, SourceCode: ..\..\..\Src\FileParser\UGFileParseManager.cpp(344)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 41029, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 15, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 16, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
1-08-02 08:55:45 [error] Failed to load the dynamic library C:\Users\Administrator\Desktop\新建文件夹 (3)\新建文件夹\iEarth(s3m与3dtiles互转)\SuFileParserGDAL.fps, ThreadID: 26368, Timespan(ms): 0, ResourceID: IMd011, SourceCode: ..\..\..\Src\FileParser\UGFileParseManager.cpp(344)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 41029, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 15, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 16, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 08:56:26 [error] Failed to open s3mb file, ThreadID: 26368, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:01:10 [error] Failed to load the dynamic library C:\Users\Administrator\Desktop\新建文件夹 (3)\新建文件夹\iEarth(s3m与3dtiles互转)\SuFileParserGDAL.fps, ThreadID: 924, Timespan(ms): 0, ResourceID: IMd011, SourceCode: ..\..\..\Src\FileParser\UGFileParseManager.cpp(344)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 59624, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 15, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)
2021-08-02 09:02:09 [error] Failed to open s3mb file, ThreadID: 924, Timespan(ms): 0, ResourceID: -100, SourceCode: ..\..\..\Src\FileParserS3MB\UGFileParserS3MBTile.cpp(32)

这是在win7上面的错误日志。转了3次。

想问一个。这一个工具支持S3MB吗,我们同事是用idesktop生成缓存S3MB的,不知道报错是否与这个有关系。

s3mb是支持的,把数据和转换工具放到非系统盘试试,如果还是不行的话是否方便提供部分测试数据
试了一下,还是不行,数据已发您 邮箱
您好,您这个是点线数据吗?暂时不支持转,建议直接使用把scp发布服务用scene.open方式加载
嗯 ,数据是点线的。那就是暂时转不了了。我们一直在使用iclient3d是可以加载服务的。但是现在一个客户提供了一份3dTiles的服务(不是现成数据)过来,让我们叠加到同一个地图上。现在实在很为难啊,两个椭球体不一样,不能直接使用。。。无法叠加
可以不修改球体,直接修改模型的矩阵集来改变他的位置,只改表高度即可;

或者说将圆球改成椭球,3dtiles能正常加载,s3m服务应该是会比之前高,layer下面有style3D属性,修改一下下面的bottomAltitude(底部高层)属性即可
好的,我尝试一下。谢谢您!
...