使用iServer 10.1 进行如下测试:
- 发布iServer本地目录中的工作空间 (.sxwu文件)
- 发布iServer本地目录中的地图缓存 (UGCV5瓦片)
- 发布iServer本地目录中的切片缓存 (SMtiles文件)
- 发布iServer本地目录中的3维切片缓存 (scp文件)
1、2、3、4测试通过,服务可以正常预览。
将上面的数据拷贝到iServer部署服务器能访问的共享目录中,进行如下测试:
- 发布共享目录中的工作空间 (.sxwu文件)
- 发布共享目录中的地图缓存 (UGCV5瓦片)
- 发布共享目录中的切片缓存 (SMtiles文件)
- 发布共享目录中的3维切片缓存 (scp文件)
1、2、3测试通过,服务可以正常预览;
4 测试不通过,服务发布失败。
iServer 运行错误提示:
2021-7-2 09:20:52 - WARN - 服务提供者local3DCache-Config1CeShi创建失败,失败原因:连接切片源时,发生异常,异常信息是:String index out of range: -1
2021-7-2 09:20:53 - WARN - 业务组件3D-local3DCache-Config1CeShi创建失败,失败原因:业务组件中没有任何可用的服务提供者
scp配置如下:
坐标点均以 * 号代替
{
"asset": "SuperMap",
"crs": "epsg:4326",
"dataType": "BIM",
"extensions": {
"attachFiles": [],
"hasSpatialIndex": "TRUE",
"levels": [],
"pointCloudLayers": [],
"processType": "Normal",
"renderMode": "Batch",
"s3m:FileType": "OSGBCacheFile",
"s3m:TextureCompressionType": "DXT",
"s3m:TextureSharing": "FALSE",
"s3m:TileSplitType": "GLOBAL",
"s3m:TransparencyOptimization": "TRUE",
"s3m:VertexWeightMode": "DatasetField",
"scales": [
{
"caption": "4513",
"tilewidth": "305.75",
"value": "0.0002215331196571032"
}
],
"vol": []
},
"geoBounds": {
"bottom": *,
"left": *,
"right": *,
"top": *
},
"heightRange": {
"max": 147.9443979403233,
"min": 2.755749361384353
},
"lodType": "Replace",
"position": {
"units": "Degree",
"x": *,
"y": *,
"z": 0.0
},
"pyramidSplitType": "QuadTree",
: [
{
"boundingbox": {
"max": {
"x": *,
"y": *,
"z": *
},
"min": {
"x": *,
"y": *,
"z": *
}
},
"url": "./Tile_-10571_40663_0000/Tile_-10571_40663_0000.s3mb"
},
{
"boundingbox": {
"max": {
"x": *,
"y": *,
"z": *
},
"min": {
"x": *,
"y": *,
"z": *
}
},
"url": "./Tile_-10570_40663_0000/Tile_-10570_40663_0000.s3mb"
},
{
"boundingbox": {
"max": {
"x": *,
"y": *,
"z": *
},
"min": {
"x": *,
"y": *,
"z": *
}
},
"url": "./Tile_-10570_40664_0000/Tile_-10570_40664_0000.s3mb"
},
{
"boundingbox": {
"max": {
"x": *,
"y": *,
"z": *
},
"min": {
"x": *,
"y": *,
"z": *
}
},
"url": "./Tile_-10571_40665_0000/Tile_-10571_40665_0000.s3mb"
},
{
"boundingbox": {
"max": {
"x": *,
"y": *,
"z": *
},
"min": {
"x": *,
"y": *,
"z": *
}
},
"url": "./Tile_-10570_40665_0000/Tile_-10570_40665_0000.s3mb"
},
{
"boundingbox": {
"max": {
"x": *,
"y": *,
"z": *
},
"min": {
"x": *,
"y": *,
"z": *
}
},
"url": "./Tile_-10572_40663_0000/Tile_-10572_40663_0000.s3mb"
},
{
"boundingbox": {
"max": {
"x": *,
"y": *,
"z": *
},
"min": {
"x": *,
"y": *,
"z": *
}
},
"url": "./Tile_-10571_40664_0000/Tile_-10571_40664_0000.s3mb"
}
],
"version": 1.0,
"wDescript": {
"category": "",
"range": {
"max": 147.9443979403233,
"min": 2.755749361384353
}
}
}
文件存储位置:
应该怎么样才能正常发布呢?