Constructor
new zzApi()
Classes
Methods
cancelCompileTask(param) → {Promise}
取消任务
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
checkSchemasSystemTable(param) → {Promise}
检测方案系统表
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
cpeInLibrary(param) → {Promise}
Cpe入库
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
返回任务ID
- Type
- Promise
createRunTimeMap(param) → {Promise}
获取地图信息
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
createSession(param) → {Promise}
创建Session
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object | 参数 Properties
|
Returns:
- Type
- Promise
createSpatialContext(param) → {Promise}
创建LL84坐标系
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
createTable(param) → {Promise}
创建表
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
不返回数据
- Type
- Promise
custom(param) → {Promise}
完全自定义
Parameters:
Name | Type | Description |
---|---|---|
param |
Object | 参数为axios的标准参数 |
Returns:
- Type
- Promise
customByFormData(param) → {Promise}
自定义Post FormData接口
Parameters:
Name | Type | Description |
---|---|---|
param |
FormData |
Returns:
- Type
- Promise
customByGet(param) → {Promise}
自定义Get接口
Parameters:
Name | Type | Description |
---|---|---|
param |
Object |
Returns:
- Type
- Promise
customByPost(param) → {Promise}
自定义Post接口
Parameters:
Name | Type | Description |
---|---|---|
param |
Object | 参数 |
Returns:
- Type
- Promise
deleteData(param) → {Promise}
删除表数据
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
返回1 成功 0失败/不存在
- Type
- Promise
deleteProjectOrScheme(param) → {Promise}
删除项目或方案(异步)
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
任务ID
- Type
- Promise
deleteSchemeAttach(param) → {Promise}
删除方案附件
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
downloadFile(params) → {String}
get文件下载 自动执行windeow.open
Parameters:
Name | Type | Description |
---|---|---|
params |
Object |
Returns:
- Type
- String
enumeratereSources(param) → {Promise}
枚举资源资源列表
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object | 参数 Properties
|
Returns:
- Type
- Promise
exportData(param) → {Promise}
导出shp
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
geoMetryInfo(param) → {Promise}
获取一个Geometry的基本信息
基本信息包括面积、长度、是否闭合、是否为空、是否有效、包围盒、中心点
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
返回1 成功 0失败/不存在
- Type
- Promise
geoMinimumrect(param) → {Promise}
获取geojson/wkt的矩阵
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getAbsPath(param) → {Promise}
获取服务端上传路径
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
D:\WiseMapServer\TEMPDATA
- Type
- Promise
getAllEntityIdOfScheme(param) → {Promise}
获取方案实体id
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getAllPipeEgName(param) → {Promise}
获取模型库列表
Parameters:
Name | Type | Description |
---|---|---|
param |
Object |
Returns:
- Type
- Promise
getBatchSchemeInLibrary(param) → {Promise}
方案入库
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
返回任务ID
- Type
- Promise
getClasses(param) → {Promise}
获取所有要素类表
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getCompileRootZprjInfo(param) → {Promise}
通过mapDefinition获取地图的zprj信息
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getCompileTaskProgress(param) → {Promise}
获取任务进度
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
进度百分比
- Type
- Promise
getCompileTaskResult(param) → {Promise}
获取编译任务结果
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getCompileTaskStatus(param) → {Promise}
获取任务状态
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
最大为 0 任务不存在 1 任务未开始 2 正在运行 3 任务完成 4 任务取消 5 任务报错
- Type
- Promise
getDescribeFeatureSchema(param) → {Promise}
Schema描述信息
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getFeaturesContentCount(param) → {Promise}
获取要素类数据个数
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getFolderDirectoryTree(param) → {Promise}
获取目标文件夹下所有文件和文件夹
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getLayersCompileInfo(param) → {Promise}
获取三维地图编译信息
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object | 参数 Properties
|
Returns:
- Type
- Promise
getLayersTimeAxisInfo(param) → {Promise}
获取地图所有图层的时间轴信息
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getLegendImageList(param) → {Promise}
获取图层的图例列表
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getMapVectorStyle(param) → {Promise}
获取地图矢量符号化
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getModelPositionAlinfo(param) → {Promise}
获取gltf模型信息
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getPickInfo(param) → {Promise}
获取地图要素属性列表 pick 二维
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getPickInfoByQxsy(param) → {Promise}
获取倾斜摄影数据
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getPickPart(param) → {Promise}
pick BIM构建属性
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
json
- Type
- Promise
getPointLayerStyleImage(param) → {Promise}
获取点图层符号化图片
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
base64
- Type
- Promise
getPonitLayerStyleImage(param) → {Promise}
获取标注图层图标
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getProjectTableName(param) → {Promise}
获取项目表名称
Parameters:
Name | Type | Description |
---|---|---|
param |
Object |
Returns:
Default:PROJECT_INF
- Type
- Promise
getResourceContent(param) → {Promise}
获取资源内容信息
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getSchemeAttach(param) → {Promise}
下载方案附件
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
返回为文件流
- Type
- Promise
getSchemeAttachTableName(param) → {Promise}
获取方案附件表名称
Parameters:
Name | Type | Description |
---|---|---|
param |
Object |
Returns:
SCHEME_ATTACH
- Type
- Promise
getschemeTableName(param) → {Promise}
获取方案表名称
Parameters:
Name | Type | Description |
---|---|---|
param |
Object |
Returns:
Default:SCHEME_INF
- Type
- Promise
getSchemeThumbnailTableName(param) → {Promise}
获取缩略图表名称
Parameters:
Name | Type | Description |
---|---|---|
param |
Object |
Returns:
Default:SCHEME_THUMBNAIL
- Type
- Promise
getSelectFeatureByWkt(param) → {Promise}
通过wkt空间查询要素查询
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getSelectFeatures(param) → {Promise}
要素查询不分页
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getSelectFeaturesByPage(param) → {Promise}
要素分页查询
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getSessionTimeOut(param) → {Promise}
获取sionsion超时时间
Parameters:
Name | Type | Description |
---|---|---|
param |
Object | 参数 默认无需传参 |
Returns:
- Type
- Promise
getSiteVersion(param) → {Promise}
获取网站版本 主要用于刷新Sesion 防止过期
Parameters:
Name | Type | Description |
---|---|---|
param |
Object | 参数 默认无需传参 |
Returns:
- Type
- Promise
getSpatialContextsByName(param) → {Promise}
获取坐标系信息
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
getSyscurrentTimestamp(param) → {Promise}
获取当前时间戳
Parameters:
Name | Type | Description |
---|---|---|
param |
Object | 参数 默认无需传参 |
Returns:
- Type
- Promise
getZprjInfo(param) → {Promise}
获取模型库列表
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
insertGeoJson(param) → {Promise}
GeoJson批量入库 UPDATEFEATURESBYGEOJSON单个入库
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
不返回数据
- Type
- Promise
insertSchemeAttach(param) → {Promise}
添加方案附件
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
layerAssociationModelInfoRmation(param) → {Promise}
关联图层模型信息
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
{
"LayerAssociationModelInformation": {
"EntityLibrary": [
"Library://示例数据/数据/示例数据_三维实体库/建筑.EntityLibrary3D"
],
"ModelName": [
"AA9E6910-D324-4441-AC0B-DEF358B48985",
"D3556A5E-53BF-4f0c-980F-7CF22EFECE96",
"30F731C8-0D9F-45a1-B34E-EA03F3E70EF1",
"0F860C1A-4B73-4568-AB61-96DCF16F80D8",
"AA5F5E47-9CE5-4c1e-8FB6-D536D921845B",
"B97FF1E5-FB58-4b91-BFD6-30D654186634",
"CCC0D2AD-196A-4ec2-AF55-BD64620C75D1"
]
}
}
- Type
- Promise
(async) queryHeader(layerDefinition) → {Promise}
通过layerDefinition查询对应表头信息
Parameters:
Name | Type | Description |
---|---|---|
layerDefinition |
String |
Returns:
- Type
- Promise
removeUnmanagedDataFile(param) → {Promise}
删除上传文件
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
saveVector3dEditResult(param) → {Promise}
保存管线管点结果
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
||||||||
EDITRESULT[].layerId |
String | layerDefinition |
||||||||
EDITRESULT[].location |
String | 管点时为[x,y,z] 管线是为[[x1,y1,z1],[x2,y2,z2]] |
||||||||
EDITRESULT[].entityId |
String | 实体id |
||||||||
EDITRESULT[].additionalinfo |
String | 矩阵 管点时使用 |
||||||||
EDITRESULT[].sectionsize |
String | 管径 "100*200" 管线时使用 |
Returns:
- Type
- Promise
searchMetareSources(param) → {Promise}
搜索元数据资源
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
selectAggregates(param) → {Promise}
要素类空间函数统计
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
selectRandomPoints(param) → {Promise}
获取点图层坐标和属性数据(按需渲染)
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise
setMapLayerDeviation(param)
保存图层配置到mapguide
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
singleInsertProject(param) → {Promise}
单个入项目-项目红线入库
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
返回任务ID
- Type
- Promise
singleInsertScheme(param) → {Promise}
单个入方案-方案入库
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
返回任务ID
- Type
- Promise
uploadUnmanagedDataFile(param) → {Promise}
上传文件
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
Properties
|
Returns:
- Type
- Promise