
该接口用于获取衡水市安平县、版本和细节层级的3D Tiles数据,返回JSON格式的瓦片集描述文件。
| 参数名 | 类型 | 规则说明 | 是否必填 | 缺省值 |
| version | string | 当前版本,默认需要给用户最新版本,最新版本为:3,也就是V3 | 必填 | 无 |
返回值为:tileset.json ,一个 JSON 格式的文件,通常用于定义三维瓦片集(Tileset)的结构和属性。
属性详情:
asset:规范版本和工具信息。
properties:瓦片集的全局属性(如坐标系、单位、扩展字段)
boundingVolume:瓦片的物理/地理范围,用于空间查询和裁剪。
geometricError:控制瓦片渲染细节的误差值(值越大,加载的瓦片越粗糙)。
refine:瓦片细化策略,参数:ADD:叠加子瓦片到父瓦片(渐进增强),REPLACE:用子瓦片替换父瓦片。
content.uri:指向瓦片数据文件(如 .b3dm(瓦片压缩模型)、.glb(瓦片压缩模型))。
children:子瓦片集合(递归结构)
请求示例
https://api.open.geovisearth.com/pj/getfile/46/brainsim-3dtiles-anpingxian/V3/lod/bm/tileset.json?token=您的token返回示例
{
"asset": {
"version": "1.0"
},
"geometricError": 2733.8775417557918,
"root": {
"boundingVolume": {
"box": [
-2158493.5261055776,
4529196.539203617,
3928237.553958009,
-10720.296926923047,
-13123.064041392461,
9184.979773189258,
936.7003613675911,
-1963.809734268713,
-1712.5236299828953,
10485.992017325296,
-2525.056038335031,
8631.099671150372
]
},
"refine": "ADD",
"geometricError": 2733.8775417557918,
"children": [
{
"boundingVolume": {
"box": [
-2145595.871668603,
4535333.6894207485,
3928247.450710499,
-552.7604696458181,
-261.502386133167,
0,
161.880133629769,
-342.18019963286986,
480.2449042640879,
-924.1812516272441,
1953.5227584011056,
1703.4296141510647
]
},
"geometricError": 1222.99245256282,
"content": {
"uri": "14-26880-4710/tileset.json"
}
},
{
"boundingVolume": {
"box": [
-2151277.2164905393,
4538284.461610602,
3921770.5623320863,
-552.5586074620611,
-261.9286545530926,
0,
161.87735152327167,
-341.4927018579207,
480.7349502563692,
-926.6323157439739,
1954.802016184333,
1700.6281876876658
]
},
"geometricError": 1222.99245256282,
"content": {
"uri": "14-26884-4717/tileset.json"
}
},
{
"boundingVolume": {
"box": [
-2153425.839342731,
4540554.343015517,
3917987.6368054207,
-552.5080781487195,
-262.03522346588056,
0,
161.78740211704948,
-341.1329417092827,
481.0205685346447,
-927.5600901148451,
1955.7845543751346,
1698.9919540454
]
},
"geometricError": 1222.99245256282,
"content": {
"uri": "14-26885-4721/tileset.json"
}
},
{
"boundingVolume": {
"box": [
-2154742.254553671,
4543288.976766607,
3914117.896875399,
-552.5071612100171,
-262.03715684622597,
0,
161.62920679508417,
-340.796302668573,
481.312283610784,
-928.129457213067,
1956.9673927622273,
1697.3181605509317
]
},
"geometricError": 1222.99245256282,
"content": {
"uri": "14-26885-4725/tileset.json"
}
},
{
"boundingVolume": {
"box": [
-2154558.8094079415,
4540891.2900984185,
3916980.926962001,
-552.4622280701731,
-262.1318777107153,
0,
161.80559891918577,
-341.0172103973299,
481.09650292600566,
-928.0487092704872,
1955.930969399466,
1698.556516570072
]
},
"geometricError": 1222.99245256282,
"content": {
"uri": "14-26886-4722/tileset.json"
}
},
{
"boundingVolume": {
"box": [
-2149595.980141902,
4528240.129643909,
3934199.351954958,
-552.4130875084331,
-262.2354200061569,
0,
162.57923877352866,
-342.4819547776845,
479.79343110122016,
-925.9006340687513,
1950.4597356830213,
1706.0039387784573
]
},
"geometricError": 1222.99245256282,
"content": {
"uri": "14-26887-4704/tileset.json"
}
},
{
"boundingVolume": {
"box": [
-2151517.420625942,
4532216.503147169,
3928603.9585248046,
-552.4114905162435,
-262.2387841300896,
0,
162.35068715016155,
-341.9951223937458,
480.2178936661592,
-926.7316462973174,
1952.1796203330284,
1703.5838076022756
]
},
"geometricError": 1222.99245256282,
"content": {
"uri": "14-26887-4710/tileset.json"
}
}
]
}
}