修改项目接口
| projectId required | integer <int64> 项目ID |
| name | string 项目名称 |
| description | string 描述 |
| thumbnailId | string 缩略图文件存储ID |
| thumbnailUrl | string 缩略图URL |
object 项目空间坐标信息 | |
| projectId | integer <int64> 项目ID |
{- "name": "我的项目-001",
- "description": "我的第一个项目",
- "thumbnailId": "10000007250418",
- "position": "\"position\": {\"lon\": 116.41667,\"lat\": 39.91667,\"height\": 0}",
- "projectId": 10000007250418
}创建新的项目接口
| name | string 项目名称 |
| description | string 描述 |
| thumbnailId | string 缩略图文件存储ID |
| thumbnailUrl | string 缩略图URL |
object 项目空间坐标信息 | |
| projectId | integer <int64> 项目ID |
{- "name": "我的项目-001",
- "description": "我的第一个项目",
- "thumbnailId": "10000007250418",
- "position": "\"position\": {\"lon\": 116.41667,\"lat\": 39.91667,\"height\": 0}",
- "projectId": 10000007250418
}编辑mvt服务
| projectId required | integer <int64> 项目ID |
| categoryId required | integer <int64> 专题分类ID |
| id required | integer <int64> |
| name required | string non-empty 服务名称 |
| oldDirIds | string 专题id-目录id,英文逗号隔开 |
| dirIds | string 专题id-目录id,英文逗号隔开 |
| serviceTags | Array of strings 标签,json数组格式 |
| description | string 服务描述 |
required | Array of objects (MVTPublishReqSubLayer) non-empty 子服务列表, 如不修改传入原来的数据 |
| minZoom | integer <int32> 最小层级 |
| maxZoom | integer <int32> 最大层级 |
| style | string 样式json字符串 |
| styleExtConfig | string 样式扩展配置, json字符串 |
{- "name": "mvt服务",
- "oldDirIds": "3-1,2-3",
- "dirIds": "3-1,2-3,4-7",
- "serviceTags": [
- "a",
- "b"
], - "description": "abc",
- "subLayers": [
- {
- "id": "string",
- "featureClassId": 0,
- "name": "string"
}
], - "minZoom": 0,
- "maxZoom": 0,
- "style": "string",
- "styleExtConfig": "string"
}发布mvt服务
| projectId required | integer <int64> 项目ID |
| categoryId required | integer <int64> 专题分类ID |
| id | integer <int64> 服务id, 预发布时候的服务id, 如果直接发布可以为空 |
| name required | string non-empty 服务名称 |
| categoryId required | integer <int64> 专题id |
| dirId required | integer <int64> 目录id |
required | Array of objects (MVTPublishReqSubLayer) non-empty 子服务列表 |
| serviceTags | Array of strings 服务标签 |
| description | string 服务描述 |
| style | string 样式json字符串 |
| styleExtConfig | string 样式扩展配置, json字符串 |
| initCache | boolean 是否初始化缓存 |
{- "id": 0,
- "name": "string",
- "categoryId": 0,
- "dirId": 0,
- "subLayers": [
- {
- "id": "string",
- "featureClassId": 0,
- "name": "string"
}
], - "serviceTags": [
- "string"
], - "description": "string",
- "style": "string",
- "styleExtConfig": "string",
- "initCache": true
}预发布mvt服务,获得可以临时使用的mvt服务
| projectId required | integer <int64> 项目ID |
| categoryId required | integer <int64> 专题分类ID |
| name required | string non-empty 服务名称 |
| featureClassIds required | Array of integers <int64> non-empty [ items <int64 > ] 要素类id数组 |
{- "name": "mvt服务",
- "featureClassIds": [
- 1,
- 2,
- 3,
- 4,
- 5
]
}dwg文件发布mvt服务接口,会自动适配dwg中的layer生成合理的也样式
| projectId required | integer <int64> 项目ID |
| categoryId required | integer <int64> 专题分类ID |
| id | integer <int64> 服务id, 预发布时候的服务id, 如果直接发布可以为空 |
| name required | string non-empty 服务名称 |
| categoryId required | integer <int64> 专题id |
| dirId required | integer <int64> 目录id |
| serviceTags | Array of strings 服务标签 |
| description | string 服务描述 |
| fileVersionId required | string non-empty dwg文件versionId |
{- "id": 0,
- "name": "string",
- "categoryId": 0,
- "dirId": 0,
- "serviceTags": [
- "string"
], - "description": "string",
- "fileVersionId": "100001"
}更新场景(场景保存和场景发布调用,通过partSave区分来源,true代表是场景图层面板的局部保存;false代表场景发布接口,默认false)
| projectId required | integer <int64> 项目ID |
| sceneId required | integer <int64> 场景ID |
| partSave | boolean true代表是场景图层面板的局部保存;false代表场景发布接口,默认false |
| name | string 场景名称 |
| description | string 项目名称 |
| sceneSubjectId required | integer <int64> 场景主题ID,不传入不需要更新 |
| supportQuery | boolean true代表是设置、修改或者删除支持查询的服务ID类型的更新;false代表普通场景更新接口,默认false |
| layersSupportQuery | string 场景支持查询的服务ID,用逗号分割;新增和更新均为全量设置,如果传入为空''、或者null,可移执行,代表删除 |
object (SceneConfig) 场景参数 |
{- "partSave": false,
- "name": "场景一",
- "description": "活动场景",
- "sceneSubjectId": 2410285784358944,
- "supportQuery": false,
- "layersSupportQuery": "2415730200543424,2418965879554240",
- "config": {
- "defaultView": {
- "lon": 116.89877,
- "lat": 39.765888,
- "height": 500,
- "heading": 0,
- "pitch": 1,
- "roll": 2,
- "minSightDistance": 1,
- "maxSightDistance": 50000000
}, - "mapLayers": [
- {
- "maximumLevel": 18,
- "serviceSource": "tdt_img",
- "show": true,
- "index": 0,
- "type": "imagery",
- "minimumLevel": 1,
- "imageSource": 0,
- "imageryType": "gaode_image",
- "alpha": 1,
- "name": "高德影像",
- "cacheable": false,
- "id": 2458581095071776,
- "render": {
- "saturation": 1,
- "brightness": 1,
- "contrast": 1,
- "hue": 0,
- "gamma": 1
}
}
], - "globalSettings": {
- "light": {
- "enable": true,
- "intensity": 2
}, - "shadowEffect": {
- "shadows": true,
- "softShadows": false,
- "terrainShadows": {
- "castShadow": true,
- "receiveShadow": true
}
}, - "bloom": {
- "enable": false,
- "brightness": -0.3,
- "contrast": 128,
- "delta": 1,
- "sigma": 5,
- "stepSize": 3.78
}, - "skybox": "Default",
- "moon": false,
- "depthTest": false,
- "hardwareAA": false,
- "logDepthBuffer": false,
- "storage": 16,
- "HDR": false
}, - "toolConfig": {
- "home": true,
- "layerTree": true,
- "attribute": false,
- "measure": false,
- "viewSwitch": false,
- "modelCutting": false,
- "sceneRoaming": false,
- "skyline": false,
- "viewShed": false,
- "visibility": false,
- "heightLimit": false,
- "fullScreen": false
}
}
}跨场景主题移动场景接口
| projectId required | integer <int64> 项目ID |
| sceneId required | integer <int64> 场景ID |
| sceneSubjectId required | integer <int64> 场景主题ID,不传入后台使用项目默认场景主题ID |
{- "sceneSubjectId": 2410285784358944
}通过服务ID获取图层属性接口
| projectId required | integer <int64> 项目ID |
| dataServiceId | integer <int64> 服务ID;group true |
| group | boolean 是否是获取组信息,默认false;group时为true |
| folderName | string group时为true,该字段不能为空 |
[- {
- "dataServiceId": 2419001822200000,
- "group": false,
- "folderName": "文件夹1"
}
]通过服务ID获取图层属性接口
| projectId required | integer <int64> 项目ID |
| dataServiceId | integer <int64> 服务ID;group true |
| group | boolean 是否是获取组信息,默认false;group时为true |
| folderName | string group时为true,该字段不能为空 |
| layerType | integer <int32> 图层类型 |
[- {
- "dataServiceId": 2419001822200000,
- "group": false,
- "folderName": "文件夹1",
- "layerType": 3
}
]新建场景(保存场景数据和场景配置数据)接口
| projectId required | integer <int64> 项目ID |
| sceneSubjectId required | integer <int64> 场景主题ID,不传入后台使用项目默认场景主题ID |
{- "sceneSubjectId": 2410285784358944
}查询项目下的所有场景接口
| projectId required | integer <int64> 项目ID |
| name | string 场景名称(包含) |
| sceneSubjectId | integer <int64> 场景主题ID |
| createTimeFrom | integer <int64> 创建时间(开始) |
| createTimeTo | integer <int64> 创建时间(结束) |
| isCreate | string Default: null 是否按创建时间排序,false就按更新时间 |
| isDesc | string Default: null 是否按降序排序 |
| x-tenant-id required | integer <int64> |
| x-user-id required | string |
查询场景详情(场景信息和配置详情)接口
| projectId required | integer <int64> 项目ID |
| sceneId required | integer <int64> 场景ID |
| viewToken | string 分享获取场景要加viewToken:场景查看校验用的token |
| from | string Default: null 获取详情接口调用来源:枚举值: edit-编辑 get-预览 share-共享 simple-只是获取基础信息(不包含config),edit时需要对整个场景做一个缓存,用于取消时还原场景配置;share时需要传入viewToken |
查询项目下的所有场景接口
| projectId required | integer <int64> 项目ID |
| name | string 场景名称(包含) |
| sceneSubjectId | integer <int64> 场景主题ID |
| createTimeFrom | integer <int64> 创建时间(开始) |
| createTimeTo | integer <int64> 创建时间(结束) |
| pageIndex | integer <int32> Default: 1 当前页 |
| pageSize | integer <int32> Default: 10 每页数量 |
| isCreate | string Default: null 是否按创建时间排序,false就按更新时间 |
| isDesc | string Default: null 是否按降序排序 |
| x-tenant-id required | integer <int64> |
| x-user-id required | string |
请求体参见模型 OpenApiTranslateReq(含 sources、config、callback 等字段)
| projectId required | integer <int64> 项目ID |
required | Array of objects (TranslateSourceReq) non-empty 源文件信息 |
object 完整的配置信息 | |
object 文本框输入的配置信息 | |
| autoPublished | boolean 是否自动发布 |
| serviceType | integer <int32> 服务类型 |
| callback | string 回调地址 |
{- "sources": [
- {
- "fileId": "2197945560260640",
- "fileVersionId": "2",
- "compressed": false,
- "rootName": "root",
- "folder": false
}
], - "config": {
- "property1": "string",
- "property2": "string"
}, - "originTranslateConfig": {
- "property1": "string",
- "property2": "string"
}, - "autoPublished": true,
- "serviceType": 1,
}更新样式接口
| projectId required | integer <int64> 项目Id |
| styleId required | integer <int64> 样式Id |
| projectId | integer <int64> 所属项目id |
| name required | string non-empty 样式名称 |
| description | string 样式描述 |
| content required | string non-empty 样式具体内容[json字符串] |
| exConfig | string 样式额外配置[json字符串] |
object (SpriteReq) 是否需要生成雪碧图 |
{- "projectId": 123,
- "name": "特殊点",
- "description": "专题图样式",
- "content": "string",
- "exConfig": "string",
- "generateSprite": true
}样式列表查询接口
| projectId required | integer <int64> 项目Id |
| name | string 样式名称 |
| styleType | integer <int32> 样式类型 |
| styleSource | integer <int32> 样式来源 |
| pageIndex | integer <int32> Default: 1 页码 |
| pageSize | integer <int32> Default: 10 每页数量 |
| isCreate | string Default: null 是否按创建时间排序,false就按更新时间 |
| isDesc | string Default: null 是否按降序排序 |
| x-tenant-id required | integer <int64> |
| x-user-id required | string |
添加样式接口
| projectId required | integer <int64> 项目Id |
| projectId | integer <int64> 所属项目id |
| name required | string non-empty 样式名称 |
| description | string 样式描述 |
| content required | string non-empty 样式具体内容[json字符串] |
| exConfig | string 样式额外配置[json字符串] |
object (SpriteReq) 是否需要生成雪碧图 |
{- "projectId": 123,
- "name": "特殊点",
- "description": "专题图样式",
- "content": "string",
- "exConfig": "string",
- "generateSprite": true
}上传样式
| projectId required | integer <int64> 项目Id |
| styleSource required | integer <int32> Example: styleSource=1 样式来源 |
| styleType | integer <int32> Example: styleType=1 样式类型,如果来源是idesktop, 那必须有 |
| file required | string <binary> |
{- "file": "string"
}更新场景(场景保存和场景发布调用,通过partSave区分来源,true代表是场景图层面板的局部保存;false代表场景发布接口,默认false)
| projectId required | integer <int64> 项目ID |
| sceneId required | integer <int64> 场景ID |
| partSave | boolean true代表是场景图层面板的局部保存;false代表场景发布接口,默认false |
| name | string 场景名称 |
| description | string 项目名称 |
| sceneSubjectId required | integer <int64> 场景主题ID,不传入不需要更新 |
| supportQuery | boolean true代表是设置、修改或者删除支持查询的服务ID类型的更新;false代表普通场景更新接口,默认false |
| layersSupportQuery | string 场景支持查询的服务ID,用逗号分割;新增和更新均为全量设置,如果传入为空''、或者null,可移执行,代表删除 |
object (SceneConfig) 场景参数 |
{- "partSave": false,
- "name": "场景一",
- "description": "活动场景",
- "sceneSubjectId": 2410285784358944,
- "supportQuery": false,
- "layersSupportQuery": "2415730200543424,2418965879554240",
- "config": {
- "defaultView": {
- "lon": 116.89877,
- "lat": 39.765888,
- "height": 500,
- "heading": 0,
- "pitch": 1,
- "roll": 2,
- "minSightDistance": 1,
- "maxSightDistance": 50000000
}, - "mapLayers": [
- {
- "maximumLevel": 18,
- "serviceSource": "tdt_img",
- "show": true,
- "index": 0,
- "type": "imagery",
- "minimumLevel": 1,
- "imageSource": 0,
- "imageryType": "gaode_image",
- "alpha": 1,
- "name": "高德影像",
- "cacheable": false,
- "id": 2458581095071776,
- "render": {
- "saturation": 1,
- "brightness": 1,
- "contrast": 1,
- "hue": 0,
- "gamma": 1
}
}
], - "globalSettings": {
- "light": {
- "enable": true,
- "intensity": 2
}, - "shadowEffect": {
- "shadows": true,
- "softShadows": false,
- "terrainShadows": {
- "castShadow": true,
- "receiveShadow": true
}
}, - "bloom": {
- "enable": false,
- "brightness": -0.3,
- "contrast": 128,
- "delta": 1,
- "sigma": 5,
- "stepSize": 3.78
}, - "skybox": "Default",
- "moon": false,
- "depthTest": false,
- "hardwareAA": false,
- "logDepthBuffer": false,
- "storage": 16,
- "HDR": false
}, - "toolConfig": {
- "home": true,
- "layerTree": true,
- "attribute": false,
- "measure": false,
- "viewSwitch": false,
- "modelCutting": false,
- "sceneRoaming": false,
- "skyline": false,
- "viewShed": false,
- "visibility": false,
- "heightLimit": false,
- "fullScreen": false
}
}
}跨场景主题移动场景接口
| projectId required | integer <int64> 项目ID |
| sceneId required | integer <int64> 场景ID |
| sceneSubjectId required | integer <int64> 场景主题ID,不传入后台使用项目默认场景主题ID |
{- "sceneSubjectId": 2410285784358944
}通过服务ID获取图层属性接口
| projectId required | integer <int64> 项目ID |
| dataServiceId | integer <int64> 服务ID;group true |
| group | boolean 是否是获取组信息,默认false;group时为true |
| folderName | string group时为true,该字段不能为空 |
[- {
- "dataServiceId": 2419001822200000,
- "group": false,
- "folderName": "文件夹1"
}
]新建场景(保存场景数据和场景配置数据)接口
| projectId required | integer <int64> 项目ID |
| sceneSubjectId required | integer <int64> 场景主题ID,不传入后台使用项目默认场景主题ID |
{- "sceneSubjectId": 2410285784358944
}通过服务ID获取图层属性接口
| projectId required | integer <int64> 项目ID |
| dataServiceId | integer <int64> 服务ID;group true |
| group | boolean 是否是获取组信息,默认false;group时为true |
| folderName | string group时为true,该字段不能为空 |
| layerType | integer <int32> 图层类型 |
[- {
- "dataServiceId": 2419001822200000,
- "group": false,
- "folderName": "文件夹1",
- "layerType": 3
}
]查询项目下的所有场景接口
| projectId required | integer <int64> 项目ID |
| name | string 场景名称(包含) |
| sceneSubjectId | integer <int64> 场景主题ID |
| createTimeFrom | integer <int64> 创建时间(开始) |
| createTimeTo | integer <int64> 创建时间(结束) |
| isCreate | string Default: null 是否按创建时间排序,false就按更新时间 |
| isDesc | string Default: null 是否按降序排序 |
| x-tenant-id required | integer <int64> |
| x-user-id required | string |
查询场景详情(场景信息和配置详情)接口
| projectId required | integer <int64> 项目ID |
| sceneId required | integer <int64> 场景ID |
| viewToken | string 分享获取场景要加viewToken:场景查看校验用的token |
| from | string Default: null 获取详情接口调用来源:枚举值: edit-编辑 get-预览 share-共享 simple-只是获取基础信息(不包含config),edit时需要对整个场景做一个缓存,用于取消时还原场景配置;share时需要传入viewToken |
查询项目下的所有场景接口
| projectId required | integer <int64> 项目ID |
| name | string 场景名称(包含) |
| sceneSubjectId | integer <int64> 场景主题ID |
| createTimeFrom | integer <int64> 创建时间(开始) |
| createTimeTo | integer <int64> 创建时间(结束) |
| pageIndex | integer <int32> Default: 1 当前页 |
| pageSize | integer <int32> Default: 10 每页数量 |
| isCreate | string Default: null 是否按创建时间排序,false就按更新时间 |
| isDesc | string Default: null 是否按降序排序 |
| x-tenant-id required | integer <int64> |
| x-user-id required | string |
更新要素类接口
| projectId required | integer <int64> 项目ID |
| featureId required | integer <int64> 要素ID |
| id | integer <int64> 要素类ID |
| name | string 要素类名称 |
| alias | string 要素类别名 |
object 要素类配置 |
{- "id": 15565656,
- "name": "BHXCZTGH_KFBJ",
- "alias": "BHXCZTGH_KFBJ",
- "config": {
- "geomType": "MultiLineString",
- "attributes": [
- "OBJECTID",
- "LEFT_FID",
- "RIGHT_FID",
- "TYPE",
- "Shape_Leng"
]
}
}要素类原始数据列表-数据批量更新
| projectId required | integer <int64> 项目ID |
| featureId required | integer <int64> 要素类ID |
| property name* additional property | object |
[- {
- "property1": { },
- "property2": { }
}
]要素类原始数据列表-数据批量删除
| projectId required | integer <int64> 项目ID |
| featureClassId required | any 要素类id |
| featureId required | integer <int64> 要素类id |
[- 0
]shp文件入库接口-目前只支持新增入库和增量入库
| projectId required | integer <int64> 项目ID |
| 123123123123 required | string non-empty 文件id |
| datasetId required | integer <int64> >= 1 数据集ID, 应该是项目上指定的集合id |
| featureName required | string non-empty 要素类名称, 不可为空 |
| featureAlias | string 要素类别名 |
| type required | string 新建入库: new、增量入库: incremental |
| callBackUrl | string 入库成功后的回调地址, 会将数据post到指定地址 |
| featureId | integer <int64> 要素类ID, 增量入库时传入 ,传入该字段,要素类名称和alias都不能传入 |
{- "123123123123": "string",
- "datasetId": 14,
- "featureName": "控规-面0426",
- "featureAlias": "控规",
- "type": "new、incremental",
- "featureId": 150
}要素类基本信息分页列表查询接口
| projectId required | integer <int64> 项目ID |
| featureSetId | integer <int64> 要素集ID |
| featureType | integer <int32> 要素类型 |
| containsAlias | boolean Default: false 查询类型是否包含名称和别名,如果为true名称和别名任意一个匹配就会有结果,默认为false |
| name | string 要素类名称或者别名(包含) |
| publishStatus | integer <int32> 发布状态 |
| pageIndex | integer <int32> Default: 1 页码 |
| pageSize | integer <int32> Default: 10 每页数量 |
| maxSize | integer <int64> 最大要素个数过滤 |
| x-tenant-id required | integer <int64> |
| x-user-id required | string |
注册类服务(第三方服务)编辑接口
| projectId required | integer <int64> |
| categoryId required | integer <int64> |
| id required | integer <int64> |
| projectId | integer <int64> 所属项目id |
| name | string 服务名称 |
| tpServiceSource | integer <int32> 第三方服务来源 |
| serviceType | integer <int32> 第三方服务类型 |
| serviceUrl | string 服务URL |
| tpServiceToken | string 服务token |
| tpServiceTokenPosition | string 服务鉴权方式 |
| oldDirIds | string 专题id-目录id,英文逗号隔开 |
| dirIds | string 所属目录id,英文逗号隔开 |
| serviceTags | Array of strings 标签,json数组格式 |
| description | string 服务描述 |
| layer | string 第三方服务注册-图层名称(WMTS请求的图层名,注意区分:和服务名没关系,服务名是具有实际业务含义) |
| style | string 第三方服务注册-图层样式 默认:default |
| tilingScheme | string 第三方服务注册-切片方案(默认为地理切片方案 Geographic ) |
| format | string 第三方服务注册-WMTS/WMS:切片格式(切片的格式,如:image/png、tiles);当imageryType=WMS,默认:image/png |
object (Rectangle) 第三方服务注册-四至范围请求实体 | |
| minimumLevel | integer <int32> 第三方服务注册/本地服务-最小缩放层级 |
| maximumLevel | integer <int32> 第三方服务注册/本地服务-最大缩放层级 |
| tkName | string 第三方服务注册-token名称 |
| tileMatrixLabels | string 第三方服务注册-WMTS请求的切片层级(["1","2","3"]) |
| subdomains | string 第三方服务注册-子域名(负载均衡时使用,示例:["t1","t2","t3"]) |
| layers | string 第三方服务注册-WMS请求的图层组 |
| transparent | boolean 第三方服务注册-WMS:是否透明、默认true、布尔;默认:true |
| origin | Array of numbers <double> [ items <double > ] 第三方服务3dtiles-中心坐标:模型当前中心坐标,经度、维度、高度 [lat,lon,height],经纬度数值保留6位小数,高度保留2位小数 |
| offset | Array of numbers <double> [ items <double > ] 第三方服务3dtiles-偏移值:[X,Y,Z],保留3位小数 |
| rotation | Array of numbers <double> [ items <double > ] 第三方服务3dtiles-旋转值:[X,Y,Z],保留3位小数 |
| scale | number <float> 第三方服务3dtiles-缩放比例:默认:1 |
object (TileInfo) 切片信息 | |
| coordSystem | string 本地服务-坐标系:默认值:CGCS2000 |
| tileMatrixSetID | string 第三方服务注册-切片矩阵集标识符 |
{- "projectId": 123,
- "name": "wms服务",
- "tpServiceSource": 1,
- "serviceType": 1,
- "tpServiceToken": "960400064",
- "tpServiceTokenPosition": "header",
- "oldDirIds": "3-1,2-3",
- "dirIds": "1-1,2-5,3-6",
- "serviceTags": [
- "a",
- "b"
], - "description": "Archgis服务",
- "layer": "道路红线",
- "style": "default",
- "tilingScheme": "Geographic",
- "format": "image/png",
- "rectangle": {
- "west": "98.3639",
- "south": "105.2525",
- "east": "98.3999",
- "north": "109.6658"
}, - "minimumLevel": 1,
- "maximumLevel": 18,
- "tkName": "token",
- "tileMatrixLabels": "[\"1\",\"2\",\"3\"]",
- "subdomains": "[\"t1\",\"t2\",\"t3\"]",
- "layers": "cva,cvb",
- "transparent": true,
- "origin": 18,
- "offset": 18,
- "rotation": 18,
- "scale": 18,
- "tileInfo": {
- "layer": "WMTS测试",
- "style": "default",
- "styles": "default",
- "format": "image/png",
- "tileMatrixSetID": "22,33",
- "tilingScheme": "Geographic",
- "tileMatrixLabels": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18",
- "19"
], - "layers": "WMTS测试",
- "transparent": true,
- "crs": "EPSG:4326",
- "srs": "EPSG:4326",
- "tiled": true
}, - "coordSystem": "18",
- "tileMatrixSetID": "切片矩阵集标识符"
}发布类服务(本地服务)编辑接口
| projectId required | integer <int64> |
| categoryId required | integer <int64> |
| id required | integer <int64> |
| id | integer <int64> 服务ID |
| databagId | string minio:dir path and translate record databagId |
| projectId required | integer <int64> 所属项目id |
| name | string 服务名称 |
| serviceType required | integer <int32> 服务类型 |
| fileId | integer <int64> 模型文件id:发布转换类型的服务时,该字段必填, 注意使用file.fileVersionId |
| featureId | integer <int64> 要素类ID:如果是矢量数据,该字段为必填字段 |
| epsg | string 空间参考值 |
| pgTableName | string 矢量表名:如果是发布shp数据服务此字段必须传 |
| shpTableAlias | string 矢量表别名 |
| lcStyleId | integer <int64> 样式id:矢量类型的服务支持设置样式,矢量转换的白模类型也支持设置样式(新增需求)、点云也支持样式设置 |
| oldDirIds | string 专题id-目录id,英文逗号隔开 |
| dirIds | string 专题id-目录id,英文逗号隔开 |
| serviceTags | Array of strings 标签,json数组格式 |
| description | string 服务描述 |
| serviceUrl | string 服务地址 |
| dataType | integer <int32> 数据类型:1 正射影像图; 2 数字高程模型;3 倾斜摄影数据;4 矢量数据;5 精细模型数据;6 BIM模型数据;7 点云数据;8 其他数据; |
object (Rectangle) 第三方服务注册-四至范围请求实体 | |
| minimumLevel | integer <int32> 第三方服务注册/本地服务-最小缩放层级 |
| maximumLevel | integer <int32> 第三方服务注册/本地服务-最大缩放层级 |
| coordSystem | string 本地服务-坐标系:默认值:CGCS2000 |
| format | string 本地服务-格式:数据源为倾斜、BIM、精细模型为:b3dm 当数据源为点云:pnts |
| origin | Array of numbers <double> [ items <double > ] 本地服务-中心坐标:模型当前中心坐标,经度、维度、高度 [lat,lon,height],经纬度数值保留6位小数,高度保留2位小数 |
| offset | Array of numbers <double> [ items <double > ] 本地服务-偏移值:[X,Y,Z],保留3位小数 |
| rotation | Array of numbers <double> [ items <double > ] 本地服务-旋转值:[X,Y,Z],保留3位小数 |
| scale | number <float> 本地服务-缩放比例:默认:1 |
| transform | Array of numbers <double> [ items <double > ] 新的旋转矩阵, 如果有修改中心坐标|偏移|旋转|缩放, 则传入新的transform值, 16位数组 |
object (Label) 注记(注记默认字体风格font family:宋体) | |
object (VisualEffect) 可视化特效(只针对本地服务发布的矢量白模数据) | |
object (TileInfo) 切片信息 | |
object (DistanceDisplay) 按视距显示图层 | |
| whiteModel | boolean 是否是白模 |
| subServiceIds | Array of integers <int64> [ items <int64 > ] 3dtiles服务数据集合[数组] |
| transId | integer <int64> |
| modelIntegrateResultFileVersionId | string 模型集成服务替换的数据源 |
| initCache | boolean 是否初始化缓存-mvt专属 |
| hasElevation | boolean 是否支持三维地形表达 |
| tileCached | boolean 是否开启wms切片缓存 |
| tileFormats | Array of strings 是否开启wms切片缓存 |
| tileSchemeId | integer <int64> 切片方案id |
object (UVMap) uv纹理贴图效果(只针对矢量白模数据,该参数和dynamic、Style互斥) |
{- "id": 0,
- "databagId": "string",
- "projectId": 123,
- "name": "wms服务",
- "serviceType": 1,
- "fileId": 123,
- "featureId": 12,
- "epsg": "EPSG:3857",
- "pgTableName": "pg_gyd",
- "shpTableAlias": "河流",
- "lcStyleId": 123,
- "oldDirIds": "3-1,2-3",
- "dirIds": "3-1,2-3,4-7",
- "serviceTags": [
- "a",
- "b"
], - "description": "abc",
- "dataType": 1,
- "rectangle": {
- "west": "98.3639",
- "south": "105.2525",
- "east": "98.3999",
- "north": "109.6658"
}, - "minimumLevel": 1,
- "maximumLevel": 18,
- "coordSystem": "18",
- "format": "18",
- "origin": 18,
- "offset": 18,
- "rotation": 18,
- "scale": 18,
- "transform": [
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1
], - "label": {
- "enable": false,
- "field": "type",
- "color": "rgba(0,0,0,1)",
- "size": 12,
- "family": "微软雅黑",
- "bold": false,
- "outlineColor": "red",
- "outlineWidth": 0,
- "showBackground": false,
- "backgroundColor": "yellow",
- "anchor": "center",
- "avoidance": {
- "enable": false,
- "threshold": 20
}, - "distanceDisplay": {
- "enable": false,
- "minDistance": 0,
- "maxDistance": 10000
}, - "style": 0,
- "xOffset": 0,
- "yOffset": 0
}, - "visualEffect": {
- "gradient": {
- "enable": false,
- "startHeight": 0,
- "endHeight": 60,
- "startColor": "rgba(26,75,123,1)",
- "endColor": "rgba(66,200,255,1)"
}, - "halo": {
- "enable": false,
- "color": "#299CFF",
- "thickness": 1,
- "startHeight": 0,
- "endHeight": 100,
- "mode": "up",
- "duration": 2,
- "topGlow": true
}, - "breath": {
- "enable": false,
- "startHeight": 0,
- "endHeight": 100,
- "color": "#000080",
- "duration": 1.5
}
}, - "tileInfo": {
- "layer": "WMTS测试",
- "style": "default",
- "styles": "default",
- "format": "image/png",
- "tileMatrixSetID": "22,33",
- "tilingScheme": "Geographic",
- "tileMatrixLabels": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18",
- "19"
], - "layers": "WMTS测试",
- "transparent": true,
- "crs": "EPSG:4326",
- "srs": "EPSG:4326",
- "tiled": true
}, - "distanceDisplay": {
- "enable": false,
- "minDistance": 0,
- "maxDistance": 10000
}, - "whiteModel": true,
- "subServiceIds": [
- 123,
- 345,
- 567
], - "transId": 0,
- "modelIntegrateResultFileVersionId": "123123",
- "initCache": true,
- "hasElevation": true,
- "tileCached": true,
- "tileFormats": [
- "string"
], - "tileSchemeId": 0,
- "UVMap": {
- "enable": false,
- "facade": "string",
- "top": "string"
}
}更新本地服务的要素类(必须是同一文件不同的版本文件入库的要素类)
| projectId required | integer <int64> 项目ID |
| categoryId required | integer <int64> 专题分类ID |
| id required | integer <int64> 服务ID |
| featureClassId required | integer <int64> 要素类id |
{- "featureClassId": 2197945560260649
}发布类服务(本地服务)编辑接口
| projectId required | integer <int64> |
| categoryId required | integer <int64> |
| id required | integer <int64> |
| id | integer <int64> 服务ID |
| databagId | string minio:dir path and translate record databagId |
| projectId required | integer <int64> 所属项目id |
| name | string 服务名称 |
| serviceType required | integer <int32> 服务类型 |
| fileId | integer <int64> 模型文件id:发布转换类型的服务时,该字段必填, 注意使用file.fileVersionId |
| featureId | integer <int64> 要素类ID:如果是矢量数据,该字段为必填字段 |
| epsg | string 空间参考值 |
| pgTableName | string 矢量表名:如果是发布shp数据服务此字段必须传 |
| shpTableAlias | string 矢量表别名 |
| lcStyleId | integer <int64> 样式id:矢量类型的服务支持设置样式,矢量转换的白模类型也支持设置样式(新增需求)、点云也支持样式设置 |
| oldDirIds | string 专题id-目录id,英文逗号隔开 |
| dirIds | string 专题id-目录id,英文逗号隔开 |
| serviceTags | Array of strings 标签,json数组格式 |
| description | string 服务描述 |
| serviceUrl | string 服务地址 |
| dataType | integer <int32> 数据类型:1 正射影像图; 2 数字高程模型;3 倾斜摄影数据;4 矢量数据;5 精细模型数据;6 BIM模型数据;7 点云数据;8 其他数据; |
object (Rectangle) 第三方服务注册-四至范围请求实体 | |
| minimumLevel | integer <int32> 第三方服务注册/本地服务-最小缩放层级 |
| maximumLevel | integer <int32> 第三方服务注册/本地服务-最大缩放层级 |
| coordSystem | string 本地服务-坐标系:默认值:CGCS2000 |
| format | string 本地服务-格式:数据源为倾斜、BIM、精细模型为:b3dm 当数据源为点云:pnts |
| origin | Array of numbers <double> [ items <double > ] 本地服务-中心坐标:模型当前中心坐标,经度、维度、高度 [lat,lon,height],经纬度数值保留6位小数,高度保留2位小数 |
| offset | Array of numbers <double> [ items <double > ] 本地服务-偏移值:[X,Y,Z],保留3位小数 |
| rotation | Array of numbers <double> [ items <double > ] 本地服务-旋转值:[X,Y,Z],保留3位小数 |
| scale | number <float> 本地服务-缩放比例:默认:1 |
| transform | Array of numbers <double> [ items <double > ] 新的旋转矩阵, 如果有修改中心坐标|偏移|旋转|缩放, 则传入新的transform值, 16位数组 |
object (Label) 注记(注记默认字体风格font family:宋体) | |
object (VisualEffect) 可视化特效(只针对本地服务发布的矢量白模数据) | |
object (TileInfo) 切片信息 | |
object (DistanceDisplay) 按视距显示图层 | |
| whiteModel | boolean 是否是白模 |
| subServiceIds | Array of integers <int64> [ items <int64 > ] 3dtiles服务数据集合[数组] |
| transId | integer <int64> |
| modelIntegrateResultFileVersionId | string 模型集成服务替换的数据源 |
| initCache | boolean 是否初始化缓存-mvt专属 |
| hasElevation | boolean 是否支持三维地形表达 |
| tileCached | boolean 是否开启wms切片缓存 |
| tileFormats | Array of strings 是否开启wms切片缓存 |
| tileSchemeId | integer <int64> 切片方案id |
object (UVMap) uv纹理贴图效果(只针对矢量白模数据,该参数和dynamic、Style互斥) |
{- "id": 0,
- "databagId": "string",
- "projectId": 123,
- "name": "wms服务",
- "serviceType": 1,
- "fileId": 123,
- "featureId": 12,
- "epsg": "EPSG:3857",
- "pgTableName": "pg_gyd",
- "shpTableAlias": "河流",
- "lcStyleId": 123,
- "oldDirIds": "3-1,2-3",
- "dirIds": "3-1,2-3,4-7",
- "serviceTags": [
- "a",
- "b"
], - "description": "abc",
- "dataType": 1,
- "rectangle": {
- "west": "98.3639",
- "south": "105.2525",
- "east": "98.3999",
- "north": "109.6658"
}, - "minimumLevel": 1,
- "maximumLevel": 18,
- "coordSystem": "18",
- "format": "18",
- "origin": 18,
- "offset": 18,
- "rotation": 18,
- "scale": 18,
- "transform": [
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1
], - "label": {
- "enable": false,
- "field": "type",
- "color": "rgba(0,0,0,1)",
- "size": 12,
- "family": "微软雅黑",
- "bold": false,
- "outlineColor": "red",
- "outlineWidth": 0,
- "showBackground": false,
- "backgroundColor": "yellow",
- "anchor": "center",
- "avoidance": {
- "enable": false,
- "threshold": 20
}, - "distanceDisplay": {
- "enable": false,
- "minDistance": 0,
- "maxDistance": 10000
}, - "style": 0,
- "xOffset": 0,
- "yOffset": 0
}, - "visualEffect": {
- "gradient": {
- "enable": false,
- "startHeight": 0,
- "endHeight": 60,
- "startColor": "rgba(26,75,123,1)",
- "endColor": "rgba(66,200,255,1)"
}, - "halo": {
- "enable": false,
- "color": "#299CFF",
- "thickness": 1,
- "startHeight": 0,
- "endHeight": 100,
- "mode": "up",
- "duration": 2,
- "topGlow": true
}, - "breath": {
- "enable": false,
- "startHeight": 0,
- "endHeight": 100,
- "color": "#000080",
- "duration": 1.5
}
}, - "tileInfo": {
- "layer": "WMTS测试",
- "style": "default",
- "styles": "default",
- "format": "image/png",
- "tileMatrixSetID": "22,33",
- "tilingScheme": "Geographic",
- "tileMatrixLabels": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18",
- "19"
], - "layers": "WMTS测试",
- "transparent": true,
- "crs": "EPSG:4326",
- "srs": "EPSG:4326",
- "tiled": true
}, - "distanceDisplay": {
- "enable": false,
- "minDistance": 0,
- "maxDistance": 10000
}, - "whiteModel": true,
- "subServiceIds": [
- 123,
- 345,
- 567
], - "transId": 0,
- "modelIntegrateResultFileVersionId": "123123",
- "initCache": true,
- "hasElevation": true,
- "tileCached": true,
- "tileFormats": [
- "string"
], - "tileSchemeId": 0,
- "UVMap": {
- "enable": false,
- "facade": "string",
- "top": "string"
}
}搜索数据服务接口
| projectId required | integer <int64> |
| categoryId required | integer <int64> |
| pageIndex | integer <int32> 分页页码,默认1 |
| pageSize | integer <int32> 每页数据数,默认10 |
| name | string 服务名称或者ID |
| tpServiceSource | integer <int32> 服务来源 |
| serviceType | integer <int32> 服务类型 |
| serviceStatus | integer <int32> 服务状态 |
| dateStart | string 发布日期-开始 |
| dateEnd | string 发布日期-结束 |
| projectId | integer <int64> 所属项目id |
| dirId | integer <int64> 当前目录id |
| onOffStatus | integer <int32> 上下架状态, 1上架 2下架 |
| authorized | boolean 公开:false,私有:true |
| includeSub | boolean 是否包含下级服务 |
| isCreate | boolean 是否创建时间降序 |
| isDesc | boolean 是否降序 |
| crs | string 坐标系 |
{- "pageIndex": 1,
- "pageSize": 10,
- "name": "abc",
- "tpServiceSource": 1,
- "serviceType": 1,
- "serviceStatus": 1,
- "dateStart": "2021-01-14",
- "dateEnd": "2021-01-14",
- "projectId": 123,
- "dirId": 123,
- "onOffStatus": 1,
- "authorized": false,
- "includeSub": true,
- "isCreate": true,
- "isDesc": true,
- "crs": "EPSG:4326"
}注册新的第三方数据服务接口
| projectId required | integer <int64> |
| categoryId required | integer <int64> |
| projectId | integer <int64> 所属项目id |
| name | string 服务名称 |
| tpServiceSource | integer <int32> 第三方服务来源 |
| serviceType | integer <int32> 第三方服务类型 |
| serviceUrl | string 服务URL |
| tpServiceToken | string 服务token |
| tpServiceTokenPosition | string 服务鉴权方式 |
| oldDirIds | string 专题id-目录id,英文逗号隔开 |
| dirIds | string 所属目录id,英文逗号隔开 |
| serviceTags | Array of strings 标签,json数组格式 |
| description | string 服务描述 |
| layer | string 第三方服务注册-图层名称(WMTS请求的图层名,注意区分:和服务名没关系,服务名是具有实际业务含义) |
| style | string 第三方服务注册-图层样式 默认:default |
| tilingScheme | string 第三方服务注册-切片方案(默认为地理切片方案 Geographic ) |
| format | string 第三方服务注册-WMTS/WMS:切片格式(切片的格式,如:image/png、tiles);当imageryType=WMS,默认:image/png |
object (Rectangle) 第三方服务注册-四至范围请求实体 | |
| minimumLevel | integer <int32> 第三方服务注册/本地服务-最小缩放层级 |
| maximumLevel | integer <int32> 第三方服务注册/本地服务-最大缩放层级 |
| tkName | string 第三方服务注册-token名称 |
| tileMatrixLabels | string 第三方服务注册-WMTS请求的切片层级(["1","2","3"]) |
| subdomains | string 第三方服务注册-子域名(负载均衡时使用,示例:["t1","t2","t3"]) |
| layers | string 第三方服务注册-WMS请求的图层组 |
| transparent | boolean 第三方服务注册-WMS:是否透明、默认true、布尔;默认:true |
| origin | Array of numbers <double> [ items <double > ] 第三方服务3dtiles-中心坐标:模型当前中心坐标,经度、维度、高度 [lat,lon,height],经纬度数值保留6位小数,高度保留2位小数 |
| offset | Array of numbers <double> [ items <double > ] 第三方服务3dtiles-偏移值:[X,Y,Z],保留3位小数 |
| rotation | Array of numbers <double> [ items <double > ] 第三方服务3dtiles-旋转值:[X,Y,Z],保留3位小数 |
| scale | number <float> 第三方服务3dtiles-缩放比例:默认:1 |
object (TileInfo) 切片信息 | |
| coordSystem | string 本地服务-坐标系:默认值:CGCS2000 |
| tileMatrixSetID | string 第三方服务注册-切片矩阵集标识符 |
{- "projectId": 123,
- "name": "wms服务",
- "tpServiceSource": 1,
- "serviceType": 1,
- "tpServiceToken": "960400064",
- "tpServiceTokenPosition": "header",
- "oldDirIds": "3-1,2-3",
- "dirIds": "1-1,2-5,3-6",
- "serviceTags": [
- "a",
- "b"
], - "description": "Archgis服务",
- "layer": "道路红线",
- "style": "default",
- "tilingScheme": "Geographic",
- "format": "image/png",
- "rectangle": {
- "west": "98.3639",
- "south": "105.2525",
- "east": "98.3999",
- "north": "109.6658"
}, - "minimumLevel": 1,
- "maximumLevel": 18,
- "tkName": "token",
- "tileMatrixLabels": "[\"1\",\"2\",\"3\"]",
- "subdomains": "[\"t1\",\"t2\",\"t3\"]",
- "layers": "cva,cvb",
- "transparent": true,
- "origin": 18,
- "offset": 18,
- "rotation": 18,
- "scale": 18,
- "tileInfo": {
- "layer": "WMTS测试",
- "style": "default",
- "styles": "default",
- "format": "image/png",
- "tileMatrixSetID": "22,33",
- "tilingScheme": "Geographic",
- "tileMatrixLabels": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18",
- "19"
], - "layers": "WMTS测试",
- "transparent": true,
- "crs": "EPSG:4326",
- "srs": "EPSG:4326",
- "tiled": true
}, - "coordSystem": "18",
- "tileMatrixSetID": "切片矩阵集标识符"
}发布新的模型集成服务
| projectId required | integer <int64> |
| categoryId required | integer <int64> |
| projectId required | integer <int64> 所属项目id |
| name required | string 服务名称 |
| longitude | number Deprecated 经度 |
| latitude | number Deprecated 纬度 |
| height | number Deprecated 高度 |
| fileIds required | Array of integers <int64> [ items <int64 > ] BIM模型文件id集合[数组], 注意是fileVersionId |
| dirIds required | string 专题id-目录id,英文逗号隔开 |
| serviceTags | Array of strings 标签,json数组格式 |
| description | string 服务描述 |
object 完整的配置信息 | |
object 文本框输入的配置信息 | |
| topRebuild | boolean 是否性能优化 |
{- "projectId": 123,
- "name": "模型集成服务",
- "longitude": 118.111211,
- "latitude": 35.111211,
- "height": 10001.111211,
- "fileIds": [
- 123,
- 345,
- 567
], - "dirIds": "3-1,2-3,4-7",
- "serviceTags": [
- "a",
- "b"
], - "description": "abc",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "originTranslateConfig": {
- "property1": "string",
- "property2": "string"
}, - "topRebuild": true
}发布新的本地服务接口
| projectId required | integer <int64> 项目ID |
| categoryId required | integer <int64> 分类ID |
| id | integer <int64> 服务ID |
| databagId | string minio:dir path and translate record databagId |
| projectId required | integer <int64> 所属项目id |
| name | string 服务名称 |
| serviceType required | integer <int32> 服务类型 |
| fileId | integer <int64> 模型文件id:发布转换类型的服务时,该字段必填, 注意使用file.fileVersionId |
| featureId | integer <int64> 要素类ID:如果是矢量数据,该字段为必填字段 |
| epsg | string 空间参考值 |
| pgTableName | string 矢量表名:如果是发布shp数据服务此字段必须传 |
| shpTableAlias | string 矢量表别名 |
| lcStyleId | integer <int64> 样式id:矢量类型的服务支持设置样式,矢量转换的白模类型也支持设置样式(新增需求)、点云也支持样式设置 |
| oldDirIds | string 专题id-目录id,英文逗号隔开 |
| dirIds | string 专题id-目录id,英文逗号隔开 |
| serviceTags | Array of strings 标签,json数组格式 |
| description | string 服务描述 |
| serviceUrl | string 服务地址 |
| dataType | integer <int32> 数据类型:1 正射影像图; 2 数字高程模型;3 倾斜摄影数据;4 矢量数据;5 精细模型数据;6 BIM模型数据;7 点云数据;8 其他数据; |
object (Rectangle) 第三方服务注册-四至范围请求实体 | |
| minimumLevel | integer <int32> 第三方服务注册/本地服务-最小缩放层级 |
| maximumLevel | integer <int32> 第三方服务注册/本地服务-最大缩放层级 |
| coordSystem | string 本地服务-坐标系:默认值:CGCS2000 |
| format | string 本地服务-格式:数据源为倾斜、BIM、精细模型为:b3dm 当数据源为点云:pnts |
| origin | Array of numbers <double> [ items <double > ] 本地服务-中心坐标:模型当前中心坐标,经度、维度、高度 [lat,lon,height],经纬度数值保留6位小数,高度保留2位小数 |
| offset | Array of numbers <double> [ items <double > ] 本地服务-偏移值:[X,Y,Z],保留3位小数 |
| rotation | Array of numbers <double> [ items <double > ] 本地服务-旋转值:[X,Y,Z],保留3位小数 |
| scale | number <float> 本地服务-缩放比例:默认:1 |
| transform | Array of numbers <double> [ items <double > ] 新的旋转矩阵, 如果有修改中心坐标|偏移|旋转|缩放, 则传入新的transform值, 16位数组 |
object (Label) 注记(注记默认字体风格font family:宋体) | |
object (VisualEffect) 可视化特效(只针对本地服务发布的矢量白模数据) | |
object (TileInfo) 切片信息 | |
object (DistanceDisplay) 按视距显示图层 | |
| whiteModel | boolean 是否是白模 |
| subServiceIds | Array of integers <int64> [ items <int64 > ] 3dtiles服务数据集合[数组] |
| transId | integer <int64> |
| modelIntegrateResultFileVersionId | string 模型集成服务替换的数据源 |
| initCache | boolean 是否初始化缓存-mvt专属 |
| hasElevation | boolean 是否支持三维地形表达 |
| tileCached | boolean 是否开启wms切片缓存 |
| tileFormats | Array of strings 是否开启wms切片缓存 |
| tileSchemeId | integer <int64> 切片方案id |
object (UVMap) uv纹理贴图效果(只针对矢量白模数据,该参数和dynamic、Style互斥) |
{- "id": 0,
- "databagId": "string",
- "projectId": 123,
- "name": "wms服务",
- "serviceType": 1,
- "fileId": 123,
- "featureId": 12,
- "epsg": "EPSG:3857",
- "pgTableName": "pg_gyd",
- "shpTableAlias": "河流",
- "lcStyleId": 123,
- "oldDirIds": "3-1,2-3",
- "dirIds": "3-1,2-3,4-7",
- "serviceTags": [
- "a",
- "b"
], - "description": "abc",
- "dataType": 1,
- "rectangle": {
- "west": "98.3639",
- "south": "105.2525",
- "east": "98.3999",
- "north": "109.6658"
}, - "minimumLevel": 1,
- "maximumLevel": 18,
- "coordSystem": "18",
- "format": "18",
- "origin": 18,
- "offset": 18,
- "rotation": 18,
- "scale": 18,
- "transform": [
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1
], - "label": {
- "enable": false,
- "field": "type",
- "color": "rgba(0,0,0,1)",
- "size": 12,
- "family": "微软雅黑",
- "bold": false,
- "outlineColor": "red",
- "outlineWidth": 0,
- "showBackground": false,
- "backgroundColor": "yellow",
- "anchor": "center",
- "avoidance": {
- "enable": false,
- "threshold": 20
}, - "distanceDisplay": {
- "enable": false,
- "minDistance": 0,
- "maxDistance": 10000
}, - "style": 0,
- "xOffset": 0,
- "yOffset": 0
}, - "visualEffect": {
- "gradient": {
- "enable": false,
- "startHeight": 0,
- "endHeight": 60,
- "startColor": "rgba(26,75,123,1)",
- "endColor": "rgba(66,200,255,1)"
}, - "halo": {
- "enable": false,
- "color": "#299CFF",
- "thickness": 1,
- "startHeight": 0,
- "endHeight": 100,
- "mode": "up",
- "duration": 2,
- "topGlow": true
}, - "breath": {
- "enable": false,
- "startHeight": 0,
- "endHeight": 100,
- "color": "#000080",
- "duration": 1.5
}
}, - "tileInfo": {
- "layer": "WMTS测试",
- "style": "default",
- "styles": "default",
- "format": "image/png",
- "tileMatrixSetID": "22,33",
- "tilingScheme": "Geographic",
- "tileMatrixLabels": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10",
- "11",
- "12",
- "13",
- "14",
- "15",
- "16",
- "17",
- "18",
- "19"
], - "layers": "WMTS测试",
- "transparent": true,
- "crs": "EPSG:4326",
- "srs": "EPSG:4326",
- "tiled": true
}, - "distanceDisplay": {
- "enable": false,
- "minDistance": 0,
- "maxDistance": 10000
}, - "whiteModel": true,
- "subServiceIds": [
- 123,
- 345,
- 567
], - "transId": 0,
- "modelIntegrateResultFileVersionId": "123123",
- "initCache": true,
- "hasElevation": true,
- "tileCached": true,
- "tileFormats": [
- "string"
], - "tileSchemeId": 0,
- "UVMap": {
- "enable": false,
- "facade": "string",
- "top": "string"
}
}批量启动/停止数据服务接口
| projectId required | integer <int64> |
| categoryId required | integer <int64> |
| start | boolean 是否启动 |
| serviceIds | Array of integers <int64> [ items <int64 > ] 服务id列表 |
{- "start": true,
- "serviceIds": [
- 1,
- 2,
- 3
]
}获取构件信息集合接口
| projectId required | integer <int64> |
| serviceId required | integer <int64> 服务id |
| viewToken | any Example: viewToken=5cc338d9ad5e459e85129d816224f898 token |
| key required | string non-empty |
| values required | Array of strings non-empty |
{- "key": "string",
- "values": [
- "string"
]
}获取构件id集合接口
| projectId required | integer <int64> |
| serviceId required | integer <int64> 服务id |
| viewToken | any Example: viewToken=5cc338d9ad5e459e85129d816224f898 token |
| key required | string non-empty |
| values required | Array of strings non-empty |
{- "key": "string",
- "values": [
- "string"
]
}tree的末级几点关联的构件列表获取接口, 不同的树类型要传入不同的id:
| projectId required | integer <int64> Example: 11111 项目id |
| serviceId required | integer <int64> 服务id |
| treeType required | string Default: null Enum: "1-按楼层" "2-按专业" "3-按类型" "4-按系统" Example: treeType=1 构件树类型 |
| floorId | string 楼层id |
| specialtyId | string 专业id |
| systemId | string 系统id |
| categoryId | string 类型id |
| familyId | string 构件类型(族类型)id |
| familyTypeId | string 构建类别(族类别)id |
用于查询任何节点所包含的所有构件id集合, 主要适用于构件集合的显隐:
| projectId required | integer <int64> Example: 11111 项目id |
| serviceId required | integer <int64> 服务id |
| treeType required | string Default: null Enum: "1-按楼层" "2-按专业" "3-按类型" "4-按系统" Example: treeType=1 构件树类型 |
| floorId | string 楼层id |
| specialtyId | string 专业id |
| systemId | string 系统id |
| categoryId | string 类型id |
| familyId | string 构件类型(族类型)id |
| familyTypeId | string 构建类别(族类别)id |
| projectId required | integer <int64> 项目ID |
| index required | integer <int32> 数据所在下标 |
required | object (ClashDetectiveSourceReq) 碰撞源请求体 |
required | object (ClashDetectiveSourceReq) 碰撞源请求体 |
required | object (ClashDetectiveConfigReq) 碰撞检测配置请求体 |
[- {
- "index": 0,
- "selectionA": {
- "fileId": 10001,
- "fileName": "rvt01.rvt",
- "integrateId": 10001
}, - "selectionB": {
- "fileId": 10001,
- "fileName": "rvt01.rvt",
- "integrateId": 10001
}, - "config": {
- "id": 123,
- "type": 1,
- "typeName": "硬碰撞",
- "majorA": 1,
- "majorAName": "1",
- "majorB": 1,
- "majorBName": "1",
- "clearanceTolerance": 0,
- "unit": "mm",
- "deviation": -10
}
}
]全量数据服务查询接口
| pageIndex | integer <int32> 分页页码,默认1 |
| pageSize | integer <int32> 每页数据数,默认10 |
| name | string 服务名称或者ID |
| tpServiceSource | integer <int32> 服务来源 |
| serviceType | integer <int32> 服务类型 |
| serviceStatus | integer <int32> 服务状态 |
| dateStart | string 发布日期-开始 |
| dateEnd | string 发布日期-结束 |
| projectId | integer <int64> 所属项目id |
| dirId | integer <int64> 当前目录id |
| onOffStatus | integer <int32> 上下架状态, 1上架 2下架 |
| authorized | boolean 公开:false,私有:true |
| includeSub | boolean 是否包含下级服务 |
| isCreate | boolean 是否创建时间降序 |
| isDesc | boolean 是否降序 |
| crs | string 坐标系 |
{- "pageIndex": 1,
- "pageSize": 10,
- "name": "abc",
- "tpServiceSource": 1,
- "serviceType": 1,
- "serviceStatus": 1,
- "dateStart": "2021-01-14",
- "dateEnd": "2021-01-14",
- "projectId": 123,
- "dirId": 123,
- "onOffStatus": 1,
- "authorized": false,
- "includeSub": true,
- "isCreate": true,
- "isDesc": true,
- "crs": "EPSG:4326"
}坐标转换接口
| sourceCRS required | string non-empty 源坐标系 |
| targetCRS required | string non-empty 目标坐标系 |
| coordinates required | Array of numbers non-empty [ items ] 坐标点集合 |
{- "sourceCRS": "string",
- "targetCRS": "string",
- "coordinates": [
- [
- 0
]
]
}创建新的工程项目接口
| projectId required | integer <int64> 项目Id |
| id | integer <int64> id |
| projectId | integer <int64> 所属数管cim项目id |
| parentId | integer <int64> bim数据目录在bdfs中的fileId |
| projectCode | string 工程项目统一代码 |
| name | string 工程项目名称 |
| projectTypeCode | string 工程项目类型编码 |
| projectAddr | string 工程项目地址 |
Array of objects (SrcBimLabelDataReq) 标签值列表 |
{- "id": 123,
- "projectId": 123,
- "parentId": 123,
- "projectCode": "a1",
- "name": "某项目",
- "projectTypeCode": "a1",
- "projectAddr": "a",
- "labelDataList": [
- {
- "labelId": 123,
- "entityType": 1,
- "entityId": 123,
- "value": "a1",
- "enumTableId": "a"
}
]
}创建新的工程单元接口
| projectId required | integer <int64> cim项目Id |
| bpId required | string 工程项目fileId |
| id | integer <int64> id |
| projectId | integer <int64> 所属数管cim项目id |
| bimProjectId | integer <int64> 所属bim类源数据工程项目id |
| name | string 工程单元名称 |
| unitCode | string 工程单元编码 |
| unitStructTypeCode | string 工程单元结构类型编码 |
Array of objects (SrcBimLabelDataReq) 标签值列表 |
{- "id": 123,
- "projectId": 123,
- "bimProjectId": 123,
- "name": "某单元",
- "unitCode": "a1",
- "unitStructTypeCode": "a1",
- "labelDataList": [
- {
- "labelId": 123,
- "entityType": 1,
- "entityId": 123,
- "value": "a1",
- "enumTableId": "a"
}
]
}文件所有版本
| projectId required | integer <int64> 项目ID |
| fileId required | string Example: 2229541555036320 主文件ID |
| translateStatus | string Default: null Enum: "success" "prepare" "processing" "failed" Example: translateStatus=success 文件转换状态 |
| serviceType | integer <int32> Example: serviceType=1 服务类型 |
上传版本文件
| projectId required | integer <int64> 项目ID |
| fileId required | string Example: 2229541555036320 主文件ID |
| name required | string Example: name=1212.fbx 文件名称 |
| crs | string Default: "EPSG:4490" |
| autoPublished | boolean |
| resultData | boolean Default: false 是否成果数据,默认false |
| file | string <binary> 文件 |
文件
"string"上传文件接口
| projectId required | integer <int64> 项目ID |
| parentId required | string Example: parentId=2229541555036320 父文件夹ID |
| name | string Example: name=2197945560260640 文件名称 |
| crs | string Default: "EPSG:4490" Example: crs=EPSG:4490 坐标系 |
| autoPublished | boolean 是否自动发布 |
| resultData | boolean Default: false 是否成果数据 |
| hasMetaFile | boolean Default: false 是否有元数据文件, 针对影像成果数据 |
| serviceType | integer <int32> Example: serviceType=12 切片类型, 针对影像成果数据(7-XYZ, 13-TMS) |
| bbox | string Example: minX=1&minY=1&maxX=2&maxY=2 切片范围, json字符串, 针对影像成果数据 |
| bbox | string <string> Example: minX=1&minY=1&maxX=2&maxY=2 切片范围, json字符串, 针对影像成果数据 |
| file | string <binary> 文件 |
文件
"string"上传文件接口
| projectId required | integer <int64> 项目ID |
| parentId required | string Example: parentId=2229541555036320 父文件夹ID |
| name | string Example: name=2197945560260640 文件名称 |
| crs | string Default: "EPSG:4490" Example: crs=EPSG:4490 坐标系 |
| autoPublished | boolean 是否自动发布 |
| resultData | boolean Default: false 是否成果数据 |
| hasMetaFile | boolean Default: false 是否有元数据文件, 针对影像成果数据 |
| serviceType | integer <int32> Example: serviceType=12 切片类型, 针对影像成果数据(7-XYZ, 13-TMS) |
| bbox | string Example: minX=1&minY=1&maxX=2&maxY=2 切片范围, json字符串, 针对影像成果数据 |
| bbox | string <string> Example: minX=1&minY=1&maxX=2&maxY=2 切片范围, json字符串, 针对影像成果数据 |
| file | string <binary> 文件 |
文件
"string"模糊搜索指定目录下的资源(包含子目录,只返回叶子结点)
| projectId required | integer <int64> 项目ID |
| pageIndex | integer <int32> 分页页码,默认1 |
| pageSize | integer <int32> 每页数据数,默认10 |
| projectId required | integer <int64> 所属项目id |
| folderFileId | string 所属文件夹Id, 可为空, 为空则搜索所有当前项目的数据 |
| translateStatus | string 文件转换状态 |
| dbStatus | string 矢量数据入库状态 |
| name | string 文件名称 |
| uploadTimeFrom | string <date-time> 上传时间时间戳(始, 13位, 带毫秒) |
| uploadTimeTo | string <date-time> 上传时间时间戳(终, 13位, 带毫秒) |
| publishStatus | integer <int32> 发布状态 |
| checkVersionStatus | boolean checkVersionStatus |
| serviceType | integer <int32> 服务类型 |
{- "pageIndex": 1,
- "pageSize": 10,
- "projectId": 123,
- "folderFileId": "123",
- "translateStatus": "success",
- "dbStatus": "success",
- "name": "影像",
- "uploadTimeFrom": "2019-08-24T14:15:22Z",
- "uploadTimeTo": "2019-08-24T14:15:22Z",
- "publishStatus": 1,
- "checkVersionStatus": true,
- "serviceType": 1
}获取分片上传的指定片的put请求url
| projectId required | integer <int64> 项目ID |
| id | string |
| partNum | integer <int32> |
| expiredTime | integer <int32> |
| type | string Enum: "PRIVATE" "PUBLIC" "INTERNAL" |
{- "id": "string",
- "partNum": 0,
- "expiredTime": 0,
- "type": "PRIVATE"
}创建分片上传文件口,fileMerge模式
| projectId required | integer <int64> 项目ID |
| parentId | string |
| parentPath | string |
| fileItemId | string |
| path | string |
| name | string |
| length | integer <int64> |
| sourceId | string |
{- "parentId": "string",
- "parentPath": "string",
- "fileItemId": "string",
- "path": "string",
- "name": "string",
- "length": 0,
- "sourceId": "string"
}分片上传成功请求
| projectId required | integer <int64> 项目ID |
| resultData | string Default: null 是否是成果数据 |
| crs | string Default: "EPSG:4490" |
| autoPublished | boolean |
| resultDataAutoTranslate | boolean Default: true |
| id | string |
| parentId | string |
| parentPath | string |
| autoPublished | boolean |
| crs | string |
| hasMetaFile | boolean |
| resultData | boolean |
| serviceType | integer <int32> |
| bbox | string |
| resultDataAutoTranslate | boolean |
{- "id": "string",
- "parentId": "string",
- "parentPath": "string",
- "autoPublished": true,
- "crs": "string",
- "hasMetaFile": true,
- "resultData": true,
- "serviceType": 0,
- "bbox": "string",
- "resultDataAutoTranslate": true
}查询文件夹下文件列表接口, 基本信息不包含文件夹路径, bim分析项, 空间编码等信息
| projectId required | integer <int64> 项目ID |
| fileId required | string 文件夹ID |
required | object (FileContentListReq) |
| translateStatus | string Default: null Enum: "success" "prepare" "processing" "failed" Example: translateStatus=success 文件转换状态 |
| serviceType | any Example: serviceType=1 服务类型 |
| name | any 文件名称(包含) |
| uploadTimeFrom | any 上传时间(开始) |
| uploadTimeTo | any 上传时间(结束) |
| checkVersionStatus | any 是否检测历史版本文件的转换状态.默认不检测,[只支持translateStatus=success并且指定服务类型的时候]如果检测的话, 如果历史版本有符合转换状态的信息,也会将当前最新版本文件返回 |
查询文件夹下文件列表接口, 基本信息不包含文件夹路径, bim分析项, 空间编码等信息
| projectId required | integer <int64> 项目ID |
| fileId required | string 文件ID |
required | object (FileContentListReq) |
| translateStatus | string Default: null Enum: "success" "prepare" "processing" "failed" Example: translateStatus=success 文件转换状态 |
| serviceType | any Example: serviceType=1 服务类型 |
| name | any 文件名称(包含) |
| uploadTimeFrom | any 上传时间(开始) |
| uploadTimeTo | any 上传时间(结束) |
| checkVersionStatus | any 是否检测历史版本文件的转换状态.默认不检测,如果检测的话, 如果历史版本有符合转换状态的信息,也会将当前最新版本文件返回 |
| pageIndex | string Default: null 页码 |
| pageSize | string Default: null 每页数量 |
查询文件夹下文件列表接口
| projectId required | integer <int64> 项目ID |
| fileId required | string 文件夹ID |
required | object (FileContentListReq) |
| translateStatus | string Default: null Enum: "success" "prepare" "processing" "failed" Example: translateStatus=success 文件转换状态 |
| serviceType | any Example: serviceType=1 服务类型 |
| name | any 文件名称(包含) |
| uploadTimeFrom | any 上传时间(开始) |
| uploadTimeTo | any 上传时间(结束) |
| checkVersionStatus | any 是否检测历史版本文件的转换状态.默认不检测,[只支持translateStatus=success并且指定服务类型的时候]如果检测的话, 如果历史版本有符合转换状态的信息,也会将当前最新版本文件返回 |
查询文件夹下文件列表接口
| projectId required | integer <int64> 项目ID |
| fileId required | string 文件ID |
required | object (FileContentListReq) |
| translateStatus | string Default: null Enum: "success" "prepare" "processing" "failed" Example: translateStatus=success 文件转换状态 |
| serviceType | any Example: serviceType=1 服务类型 |
| name | any 文件名称(包含) |
| uploadTimeFrom | any 上传时间(开始) |
| uploadTimeTo | any 上传时间(结束) |
| checkVersionStatus | any 是否检测历史版本文件的转换状态.默认不检测,如果检测的话, 如果历史版本有符合转换状态的信息,也会将当前最新版本文件返回 |
| pageIndex | string Default: null 页码 |
| pageSize | string Default: null 每页数量 |
要素查询接口
| projectId required | integer <int64> 项目ID |
| featureClassId required | integer <int64> 要素类id |
| where | string 属性查询,条件语句 |
| geometry | string 查询的几何,即:输入的空间查询范围(jsonString类型) |
| bufferDistance | number 缓冲区距离(点就是半径,线、面就是距离),默认为0,单位:米 |
| bufferRule | string 缓冲区规则,指定缓冲区构造的形式,可参见:http://postgis.net/docs/ST_Buffer.html |
| spatialRelationShip | string 枚举,空间关系 |
| outFields | Array of strings 要查询的字段, 为空则查询所有字段, 如果指定字段 |
| orderBy | string 排序字段和方式, 例如 fid ASC |
| offset | integer <int32> offset, 下标从0开始, 如果是0可不填 |
| limit | integer <int32> limit, 如果不填写(可为空)则是所有(慎用) |
{- "featureClassId": 0,
- "where": "属性查询,条件语句[postgres语法],如:\"name\" = 'luo' and \"AGE\" >30 '",
- "geometry": "string",
- "bufferDistance": 1.2,
- "bufferRule": "join=bevel",
- "spatialRelationShip": "string",
- "outFields": [
- "string"
], - "orderBy": "id ASC",
- "offset": 0,
- "limit": 10
}分页要素查询接口
| projectId required | integer <int64> 项目ID |
| pageIndex | integer <int32> 分页页码,默认1 |
| pageSize | integer <int32> 每页数据数,默认10 |
| featureClassId required | integer <int64> 要素类id |
| where | string 属性查询,条件语句 |
| geometry | string 查询的几何,即:输入的空间查询范围(jsonString类型) |
| bufferDistance | number 缓冲区距离(点就是半径,线、面就是距离),默认为0,单位:米 |
| bufferRule | string 缓冲区规则,指定缓冲区构造的形式,可参见:http://postgis.net/docs/ST_Buffer.html |
| spatialRelationShip | string 枚举,空间关系 |
| outFields | Array of strings 要查询的字段, 为空则查询所有字段 |
| orderBy | string 排序字段和方式, 例如 fid ASC |
{- "pageIndex": 1,
- "pageSize": 10,
- "featureClassId": 0,
- "where": "属性查询,条件语句[postgres语法],如:\"name\" = 'luo' and \"AGE\" >30 '",
- "geometry": "string",
- "bufferDistance": 1.2,
- "bufferRule": "join=bevel",
- "spatialRelationShip": "string",
- "outFields": [
- "string"
], - "orderBy": "id ASC"
}支持通过指定范围区域,查询相应的图纸元素(点、线、面)
| projectId required | integer <int64> 项目ID |
| serviceId required | integer <int64> 服务ID |
required | object non-empty 空间范围(geojson) |
| featureType | integer <int32> 要素类型(点、线、面) |
{- "serviceId": 0,
- "geometry": {
- "property1": { },
- "property2": { }
}, - "featureType": 0
}| projectId required | integer <int64> 项目ID |
| clashType | string Enum: "Hard" "Clearance" "Duplicates" |
| tolerance | number <double> |
object (ClashDetectiveSource) | |
object (ClashDetectiveSource) | |
| callback | string |
| projectId | integer <int64> |
object |
{- "clashType": "Hard",
- "tolerance": 0.1,
- "selectionA": {
- "fileId": 0,
- "integrateId": 0,
- "databagId": "string",
- "objectData": [
- {
- "property1": "string",
- "property2": "string"
}
], - "objectIds": [
- "string"
], - "transformation": [
- 0.1
]
}, - "selectionB": {
- "fileId": 0,
- "integrateId": 0,
- "databagId": "string",
- "objectData": [
- {
- "property1": "string",
- "property2": "string"
}
], - "objectIds": [
- "string"
], - "transformation": [
- 0.1
]
}, - "callback": "string",
- "projectId": 0,
- "config": {
- "property1": { },
- "property2": { }
}
}批量发起净高分析
| projectId required | integer <int64> 项目ID |
| fileVersionId required | string 文件ID |
| analysisConfigId required | integer <int64> 分析配置ID |
[- {
- "fileVersionId": "string",
- "analysisConfigId": 0
}
]目前只可以更新非0的偏移值
| projectId required | integer <int64> 项目ID |
| id required | integer <int64> 爆炸分析记录id |
| resultId required | integer <int64> 楼层偏移结果id |
| offset | Array of numbers = 3 items |
{- "offset": [
- 0,
- 0,
- 0
]
}关键字查询数据集列表
| projectId required | integer <int64> 项目ID |
| datasetId | integer <int64> 数据集ID |
| keyword required | string 搜索关键字 |
| type | string Default: null 查询类型,1.默认name (关键字会在name字段中查询);2.alias(关键字会在alias别名字段中查询); 3.either关键字会在name和alias中查询,有一个命中就会返回; 4.fullMatch 名称全匹配查询 |
| publishStatues | integer <int32> 发布状态 |
| serviceType | integer <int32> |
| pageIndex | integer <int32> Default: 1 分页页码 |
| pageSize | integer <int32> Default: 10 每页数量 |