使用产品:iObject10.1.1
问题描述一:
C#利用iObject.Net的“OSGBCacheBuilder.OSGBFile2MongoDB”将瓦片保存到数据库中,一台机器好用,而另一台机器则报错。瓦片数据和数据库使用的都是同一套,问题应该是处在超图api了,能否帮看下是什么问题?Bin文件夹下log日志输出内容如下:
2021-04-06 10:15:13 [error] Failed to Create TileStorage Plugins, ThreadID: 4936, Timespan(ms): 0, ResourceID: -100, SourceCode: D:\TeamCity\UGO9DTrunk\01_SourceCode\Src\CacheBuilder\UGOSGBCacheBuilder.cpp(2939)
2021-04-06 10:18:00 [error] Failed to Create TileStorage Plugins, ThreadID: 17136, Timespan(ms): 166593, ResourceID: -100, SourceCode: D:\TeamCity\UGO9DTrunk\01_SourceCode\Src\CacheBuilder\UGOSGBCacheBuilder.cpp(2939)
第二个问题,如下代码在执行到build()方法时报“外部组件发生异常”,请问是什么原因(采用私有部署方式):
var builder = new OSGBCacheBuilder();
builder.Dataset = dataset;
builder.OutputFolder = outputFolder;
builder.CacheName = cacheName;
builder.FileType = CacheFileType.S3MB;
builder.IsInstance = true;
return builder.Build();