iclientpy.rest.api.model 源代码

from enum import Enum
from typing import List
from ._modeljsonutil import AbstractTypeParserSwitcherBuilder


[文档]class DatasetType(Enum): UNDEFINED = 'UNDEFINED' POINT = 'POINT' LINE = 'LINE' REGION = 'REGION' TEXT = 'TEXT' NETWORK = 'NETWORK' GRID = 'GRID' IMAGE = 'IMAGE' CAD = 'CAD' LINEM = 'LINEM' TABULAR = 'TABULAR' NETWORKPOINT = 'NETWORKPOINT' LINKTABLE = 'LINKTABLE' WCS = 'WCS' WMS = 'WMS' POINT3D = 'POINT3D' LINE3D = 'LINE3D' REGION3D = 'REGION3D' NETWORK3D = 'NETWORK3D' MODEL = 'MODEL' POINTEPS = 'POINTEPS' LINEEPS = 'LINEEPS' REGIONEPS = 'REGIONEPS' TEXTEPS = 'TEXTEPS' VECTORCOLLECTION = 'VECTORCOLLECTION'
[文档]def default_init(cls: type): def _get_all_annotations(clz): result = {} annos = clz.__dict__.get('__annotations__', None) # type:dict if annos is not None: result.update(annos) for base_clz in clz.__bases__: result.update(_get_all_annotations(base_clz)) return result fileds = _get_all_annotations(cls) def init_method(self, *args, **kwargs): for field_name, field_type in fileds.items(): setattr(self, field_name, None) cls.__init__ = init_method return cls
[文档]class GeometryType(Enum): ARC = 'ARC' BSPLINE = 'BSPLINE' CARDINAL = 'CARDINAL' CHORD = 'CHORD' CIRCLE = 'CIRCLE' CURVE = 'CURVE' ELLIPSE = 'ELLIPSE' ELLIPTICARC = 'ELLIPTICARC' GEOCOMPOUND = 'GEOCOMPOUND' GEOMODEL = 'GEOMODEL' GEOMODEL3D = 'GEOMODEL3D' GRAPHICOBJECT = 'GRAPHICOBJECT' LINE = 'LINE' LINE3D = 'LINE3D' LINEEPS = 'LINEEPS' LINEM = 'LINEM' PIE = 'PIE' POINT = 'POINT' POINT3D = 'POINT3D' POINTEPS = 'POINTEPS' RECTANGLE = 'RECTANGLE' REGION = 'REGION' REGION3D = 'REGION3D' REGIONEPS = 'REGIONEPS' ROUNDRECTANGLE = 'ROUNDRECTANGLE' TEXT = 'TEXT' TEXTEPS = 'TEXTEPS' UNKNOWN = 'UNKNOWN'
[文档]@default_init class Point2D: x: float y: float
[文档]@default_init class Rectangle2D: leftBottom: Point2D rightTop: Point2D
[文档]@default_init class Projection: name: str type: str
[文档]@default_init class CoordSys: # TODO unit: str # datum:Datum name: str
[文档]@default_init class PrjCoordSys: # TODO epsgCode: int # enum distanceUnit: str type: str projection: Projection coordUnit: str name: str coordSystem: CoordSys
[文档]@default_init class Geometry: id: int parts: List[int] partTopo: List[int] points: List[Point2D] type: GeometryType prjCoordSys: PrjCoordSys
[文档]@default_init class Feature: fieldNames: List[str] fieldValues: List[str] geometry: Geometry
[文档]@default_init class HttpError: code: int errorMsg: str
[文档]class PostResultType(Enum): AddContent = 'AddContent' createAsynchronizedResource = 'createAsynchronizedResource' CreateChild = 'CreateChild' CreateChildAndReturnContent = 'CreateChildAndReturnContent'
[文档]@default_init class MethodResult: customResult: dict error: HttpError newResourceID: str newResourceLocation: str postResultType: PostResultType succeed: bool
@default_init class Named: name: str
[文档]@default_init class NamedSetting: alias: str
[文档]@default_init class AbstractServiceSetting(NamedSetting): config: object type: str
[文档]@default_init class ProviderSetting(AbstractServiceSetting): enabled: bool innerProviders: List[str]
[文档]@default_init class MapProviderSetting: cacheMode: str cacheVersion: str name: str outputPath: str outputSite: str
# TODO watermarker
[文档]@default_init class MngProvider: isSPSet: bool spSetting: ProviderSetting spsetSetting: List[ProviderSetting]
[文档]@default_init class CommaJoinedStr(List[str]): # iServer管理里面有很多那种把字符串数组通过逗号分隔变成一个字符串的表达形式,反复split很烦。 pass
[文档]@default_init class ComponentSetting(AbstractServiceSetting): providers: CommaJoinedStr enabled: bool interfaceNames: CommaJoinedStr disabledInterfaceNames: CommaJoinedStr instanceCount: int
[文档]@default_init class SCAndSCSetSetting: isScSet: bool scSetting: ComponentSetting
# todo scSetSetting
[文档]@default_init class MngServiceInfo: alias: str clusterInterfaceNames: str component: SCAndSCSetSetting # todo instances interfaceNames: str interfaceTypes: str isClusterService: bool isDataflowService: bool isSet: bool isStreamingService: bool name: str providerNames: str providers: List[MngProvider] type: str
[文档]@default_init class SMTilesMapProviderSetting(MapProviderSetting): filePath: str
[文档]@default_init class FastDFSTileProviderSetting(MapProviderSetting): # TODO pass
[文档]@default_init class MongoDBTileProviderSetting(MapProviderSetting): # TODO pass
[文档]@default_init class OTSTileProviderSetting(MapProviderSetting): # TODO pass
[文档]@default_init class UGCV5TileProviderSetting(MapProviderSetting): # todo pass
[文档]@default_init class GeoPackageMapProviderSetting(MapProviderSetting): # todo pass
[文档]@default_init class PostFileUploadTaskResult: fileNames: str filePath: str fileSize: int isDirectory: bool
[文档]class FileUploadState(Enum): NEW = 'NEW' UPLOADING = 'UPLOADING' COMPLETED = 'COMPLETED' UPLOADING_ERROR = 'UPLOADING_ERROR' ERROR = 'ERROR'
[文档]@default_init class GetFileUploadTaskResult: path: str progress: float md5: str uploadedDataMD5: str state: FileUploadState uploadedByteCount: int
[文档]@default_init class PostFileUploadTasksParam: md5: str fileSize: int path: str
[文档]@default_init class PostUploadTasksResult: newResourceID: str newResourceLocation: str postResultType: str succeed: bool
[文档]@default_init class GetFileUploadResult: path: str progress: float taskID: str
[文档]class ClientType(Enum): IP = 'IP' Referer = 'Referer' RequestIP = 'RequestIP' NONE = 'NONE'
[文档]@default_init class PostTokenParameter: userName: str password: str clientType: ClientType ip: str referer: str expiration: int
[文档]class ServiceType(Enum): AGSRESTDATA = 'AGSRESTDATA' AGSRESTMAP = 'AGSRESTMAP' AGSRESTNETWORKANALYST = 'AGSRESTNETWORKANALYST' BAIDUREST = 'BAIDUREST' DATAFLOW = 'DATAFLOW' GOOGLEREST = 'GOOGLEREST' REST_NETWORKANALYST3D = 'REST_NETWORKANALYST3D' RESTADDRESSMATCH = 'RESTADDRESSMATCH' RESTDATA = 'RESTDATA' RESTMAP = 'RESTMAP' RESTREALSPACE = 'RESTREALSPACE' RESTSPATIALANALYST = 'RESTSPATIALANALYST' RESTTRAFFICTRANSFERANALYST = 'RESTTRAFFICTRANSFERANALYST' RESTTRANSPORTATIONANALYST = 'RESTTRANSPORTATIONANALYST' STREAMING = 'STREAMING' WCS111 = 'WCS111' WCS112 = 'WCS112' WFS100 = 'WFS100' WFS200 = 'WFS200' WMS111 = 'WMS111' WMS130 = 'WMS130' WMTS100 = 'WMTS100' WMTSCHINA = 'WMTSCHINA' WPS100 = 'WPS100'
[文档]@default_init class PostWorkspaceParameter: workspaceConnectionInfo: str servicesTypes: List[ServiceType] = [] isDataEditable: bool = False
[文档]@default_init class PostWorkspaceResultItem: serviceAddress: str serviceType: ServiceType
[文档]@default_init class GetWorkspaceResultItem: address: str enabled: bool message: str name: str serviceName: str serviceType: str
[文档]class TileSize(Enum): SIZE_1024 = 'SIZE_1024' SIZE_256 = 'SIZE_256' SIZE_512 = 'SIZE_512'
[文档]class OutputFormat(Enum): BIL = 'BIL' BINARY = 'BINARY' BMP = 'BMP' DEFAULT = 'DEFAULT' DXTZ = 'DXTZ' EMF = 'EMF' EPS = 'EPS' GEOTIFF = 'GEOTIFF' GIF = 'GIF' JPG = 'JPG' JPG_PNG = 'JPG_PNG' PBF = 'PBF' PDF = 'PDF' PNG = 'PNG' PNG8 = 'PNG8' TIFF = 'TIFF'
[文档]class DataStoreType(Enum): RELATIONSHIP = 'RELATIONSHIP' SPATIOTEMPORAL = 'SPATIOTEMPORAL' TILES = 'TILES' BIGDATAFILESHARE = 'BIGDATAFILESHARE' BINARY = 'BINARY' SPATIAL = 'SPATIAL'
[文档]class DataStoreInfo: datastoreType: DataStoreType def __init__(self, datastoreType): self.datastoreType = datastoreType
class TileSourceType(Enum): SMTiles = 'SMTiles' FastDFS = 'FastDFS' Hazelcast = 'Hazelcast' UTFGrid = 'UTFGrid' SVTiles = 'SVTiles' Remote = 'Remote' UGCV5 = 'UGCV5' MongoDB = 'MongoDB' UserDefined = 'UserDefined' GeoPackage = 'GeoPackage' GDP = 'GDP' OTS = 'OTS' ZXY = 'ZXY'
[文档]class TileSourceType(Enum): SMTiles = 'SMTiles' FastDFS = 'FastDFS' Hazelcast = 'Hazelcast' UTFGrid = 'UTFGrid' SVTiles = 'SVTiles' Remote = 'Remote' UGCV5 = 'UGCV5' MongoDB = 'MongoDB' UserDefined = 'UserDefined' GeoPackage = 'GeoPackage' MBTiles = 'MBTiles' GDP = 'GDP' OTS = 'OTS' ZXY = 'ZXY'
[文档]class TileSourceInfo(DataStoreInfo): type: str def __init__(self, type: TileSourceType = None): super().__init__(DataStoreType.TILES) self.type = type
[文档]class SMTilesTileSourceInfo(TileSourceInfo): outputPath: str def __init__(self): super().__init__(TileSourceType.SMTiles) self.outputPath = None
[文档]class MongoDBTilesourceInfo(TileSourceInfo): serverAdresses: List[str] database: str username: str password: str def __init__(self): super().__init__(TileSourceType.MongoDB) self.serverAdresses = None self.database = None self.username = None self.password = None
[文档]class FastDFSTileSourceInfo(TileSourceInfo): fdfsTrackers: List[str] fdhtGroups: List[List[str]] def __init__(self): super().__init__(TileSourceType.FastDFS) self.fdhtGroups = None self.fdfsTrackers = None
[文档]@default_init class OTSTileSourceInfo(TileSourceInfo): instanceName: str nodeName: str fromPublic: bool accessKeyId: str accessKeySecret: str
[文档]class TileType(Enum): Image = 'Image' OSGB = 'OSGB' RealspaceImage = 'RealspaceImage' Terrain = 'Terrain' UTFGrid = 'UTFGrid' Vector = 'Vector'
@default_init class UTFGridJobParameter: layerName: str pixCell: int
[文档]class FieldType(Enum): BOOLEAN = 'BOOLEAN' BYTE = 'BYTE' CHAR = 'CHAR' DATETIME = 'DATETIME' DOUBLE = 'DOUBLE' INT16 = 'INT16' INT32 = 'INT32' INT64 = 'INT64' LONGBINARY = 'LONGBINARY' SINGLE = 'SINGLE' TEXT = 'TEXT' WTEXT = 'WTEXT'
[文档]@default_init class VectorTileLayer: expandPixels: int fields: List[str] fieldTypes: List[FieldType] maxScale: float minScale: float name: str searchFields: List[str]
[文档]@default_init class VectorJobParameter: compressTolerance: int containAttributes: bool expands: str layers = List[VectorTileLayer]
[文档]class Type(Enum): NOTSET = 'NOTSET' KMLFILE = 'KMLFILE'
[文档]@default_init class CacheRegionsInfo: type: Type
[文档]@default_init class KMLFile(CacheRegionsInfo): filePath: str
[文档]@default_init class PostTileJobsItem: dataConnectionString: str mapName: str scaleDenominators: List[float] resolutions: List[float] originalPoint: Point2D cacheBounds: Rectangle2D tileSize: TileSize format: OutputFormat compressionQuality: float transparent: bool epsgCode: int storeConfig: TileSourceInfo createNewTileVersion: bool tileVersionDescription: str parentTileVersion: str actualTileVersion: str refMapRestAdress: str # taskAssignmentType: TaskAssignmentType # cacheVersion: CacheVersion # storageType: StorageType vectorBounds: str tileType: TileType utfGridParameter: UTFGridJobParameter vectorParameter: VectorJobParameter # realspaceParameter: RealspaceJobParameter createStandardMBTiles: bool # dataPreProcessInfo: DataPreProcessInfo convertToPng8: bool # fileVerificationMode: FileVerificationMode autoAvoidEffectEnabled: bool cacheRegions: CacheRegionsInfo useLocal: bool
[文档]class CacheVersion(Enum): DEFAULT = 'DEFAULT' VERSION_31 = 'VERSION_31' VERSION_40 = 'VERSION_40' VERSION_50 = 'VERSION_50'
[文档]@default_init class DataPreProcessInfo: columnCount: int rowCount: int
[文档]class FileVerificationMode(Enum): FILESIZE = 'FILESIZE' MD5 = 'MD5'
[文档]@default_init class RealspaceJobParameter: isDataFloat: bool layerName: str sceneName: str
[文档]class StorageType(Enum): Compact = 'Compact' Original = 'Original'
[文档]class TaskAssignmentType(Enum): CLOUD = 'CLOUD' DEFAULT = 'DEFAULT' GDP = 'GDP'
[文档]@default_init class UTFGridJobParameter: layerName: str pixCell: int
[文档]@default_init class JobInfo: actualTileVersion: str autoAvoidEffectEnabled: bool cacheBounds: Rectangle2D # cacheRegions: cacheVersion: CacheVersion compressionQuality: float convertToPng8: bool createNewTileVersion: bool createStandardMBTiles: bool dataConnectionString: str dataPreProcessInfo: DataPreProcessInfo epsgCode: int fileVerificationMode: FileVerificationMode format: OutputFormat mapName: str originalPoint: Point2D parentTileVersion: str realspaceParameter: RealspaceJobParameter refMapRestAdress: str resolutions: List[float] scaleDenominators: List[float] storageType: StorageType # storeConfig: taskAssignmentType: TaskAssignmentType tileSize: TileSize tileType: TileType tileVersionDescription: str transparent: bool useLocal: bool utfGridParameter: UTFGridJobParameter vectorBounds: str vectorParameter: VectorJobParameter
[文档]@default_init class TileIndex: columnIndex: int rowIndex: int
[文档]@default_init class BuildingScaleInfo: nextIndex: TileIndex
[文档]@default_init class TileMatrix: columnCount: int novalueFlags: List[List[bool]] rowCount: int startingIndex: TileIndex
[文档]@default_init class WorkerBuildingInfo: completed: int lastTileRegion: Geometry
[文档]@default_init class TileScaleInfo: completed: int completedBytes: int completedRegion: Geometry failedRegion: Geometry matrixes: List[TileMatrix] scaleDenominator: float total: int totalMatrix: TileMatrix workerBuildingInfos: List[WorkerBuildingInfo]
[文档]@default_init class ScaleBuildConfig: cacheRegions: List[Geometry] excludeRegions: List[Geometry] resolution: float scaleDenominator: float tileBoundsHeight: float tileBoundsWidth: float
[文档]@default_init class TileWorkerInfo: address: str controllable: bool hostName: str id: str ip: str local: bool masterAddress: str name: str port: int token: str
[文档]class DeployingStatus(Enum): DEPLOYING_DATA = 'DEPLOYING_DATA', DEPLOYING_JOB_CONFIG = 'DEPLOYING_JOB_CONFIG' NONE = 'NONE' PREPARE = 'PREPARE', RETRYING = 'RETRYING' WAITING_DEPLOYING_DATA = 'WAITING_DEPLOYING_DATA'
[文档]class ErrorStatus(Enum): DEPLOYING_DATA = 'DEPLOYING_DATA' DEPLOYING_JOB_CONFIG = 'DEPLOYING_JOB_CONFIG' NONE = 'NONE' PREPARE = 'PREPARE' UNKNOWN = 'UNKNOWN' WAITING_DEPLOYING_DATA = 'WAITING_DEPLOYING_DATA'
[文档]@default_init class JobDeployingInfo: deployingStatus: DeployingStatus errorStatus: ErrorStatus fileVerificationMode: FileVerificationMode retryDelay: int retryTime: int total: int uploaded: int
[文档]class BuildState(Enum): ANALYSTBLANK = 'ANALYSTBLANK' BUILDING = 'BUILDING' COMPLETED = 'COMPLETED' DATAPREPROCESS = 'DATAPREPROCESS' STOPPED = 'STOPPED' WAITTING = 'WAITTING'
[文档]class RunState(Enum): PRE_RUN = 'PRE_RUN' RUNNING = 'RUNNING' STOPED = 'STOPED'
[文档]@default_init class TileTaskState: completed: int lastIndex: TileIndex runState: RunState workerId: str
[文档]class TaskType(Enum): DATAPREPROCESSTASK = 'DATAPREPROCESSTASK' TILETASK = 'TILETASK'
[文档]@default_init class TileTask: dataPreProcessInfo: DataPreProcessInfo deployTime: int id: str isRetile: bool jobId: str masterAddress: str originalPoint: Point2D scaleConfigs: List[ScaleBuildConfig] state: TileTaskState taskType: TaskType tileMatrixToBuilds: List[TileMatrix] totalTileCount: int
[文档]@default_init class JobState: analystBlankPercentage: int buildingScale: BuildingScaleInfo completed: int completedBytes: int completedScale: List[TileScaleInfo] dataPreProcessBuildConfig: ScaleBuildConfig dataPreProcessState: BuildingScaleInfo deployedCompleted: int deployedTotal: int deployedWorkerInfo: List[TileWorkerInfo] eployingDataWorkerInfo: List[JobDeployingInfo] elapsedTime: int masterAddress: str noFeaturesTileCount: int pureColorTileCount: int remainTime: int runState: BuildState scaleConfigs: List[ScaleBuildConfig] scaleInfos: List[TileScaleInfo] speedPerSecond: int startTime: int tasks: List[TileTask] tasksToRetry: List[TileTask] tileMatrixEdgeCount: int total: int
[文档]@default_init class TilesetDesc: name: str filePath: str
[文档]@default_init class TileJob: id: str info: JobInfo state: JobState targetTilesetInfo: TilesetDesc
[文档]@default_init class PostTileJobsResultItem: succeed: str newResourceID: str customResult: TileJob newResourceLocation: str postResultType: str
[文档]@default_init class CompletedTilesetInfo: name: str filePath: str
[文档]@default_init class GetTileJobResultItem: id: str info: JobInfo state: JobState targetTilesetInfo: CompletedTilesetInfo
[文档]@default_init class PostTilesetUpdateJobs: sourceTileSourceInfo: TileSourceInfo sourceTilesetIdentifier: str targetTileSourceInfo: TileSourceInfo targetTilesetIdentifier: str scaleDenominators: List[float] bounds: Rectangle2D tileVersions: List[str] targetInfo: str relatedObject: str
[文档]@default_init class PostTilesetUpdateJobsResultItem: succeed: bool newResourceID: str newResourceLocation: str postResultType: str
[文档]@default_init class MetaData: mapName: str tileWidth: int tileHeight: int resolutions: List[float] scaleDenominators: List[float] originalPoint: Point2D prjCoordSys: PrjCoordSys bounds: Rectangle2D tileRuleVersion: str tileType: TileType tileFormat: OutputFormat
[文档]@default_init class VersionUpdate: bounds: Rectangle2D scaleDenominators: List[float] resolutions: List[float]
[文档]@default_init class TileVersion: name: str desc: str parent: str update: VersionUpdate timestamp: int
[文档]@default_init class TilesetInfo: name: str metaData: MetaData tileVersions: List[TileVersion]
[文档]@default_init class TilesetExportJobInfo: sourceTilesetInfo: TilesetInfo targetTilesetInfo: TilesetInfo sourceTilesetDesc: TilesetDesc targetTilesetDesc: TilesetDesc sourceTileSourceInfo: TileSourceInfo sourceTilesetIdentifier: str targetTileSourceInfo: TileSourceInfo targetTilesetIdentifier: str scaleDenominators: List[float] bounds: Rectangle2D tileVersions: List[str] targetInfo: str relatedObject: str
[文档]class TilesetExportJobRunState(Enum): RUNNING = 'RUNNING' STOPPED = 'STOPPED' COMPLETED = 'COMPLETED'
[文档]@default_init class TilesetExportScaleState: total: int completed: int resolution: float scaleDenominator: float tileMatrix: TileMatrix
[文档]@default_init class ExporttingScaleState(TilesetExportScaleState): nextIndex: TileIndex
[文档]@default_init class TilesetExportJobState: runState: TilesetExportJobRunState total: int completed: int actualCompleted: int startTime: int elapsedTime: int remainTime: int speedPerSecond: int toExportScaleState: List[TilesetExportScaleState] exporttingScale: ExporttingScaleState completedScales: List[TilesetExportScaleState]
[文档]@default_init class GetTilesetExportJobResultItem: id: str info: TilesetExportJobInfo state: TilesetExportJobState
[文档]@default_init class DataStoreSetting: id: str dataStoreInfo: DataStoreInfo
[文档]@default_init class RestMngTileStorageInfo: id: str tileSourceInfo: TileSourceInfo tilesetInfos: List[TilesetInfo] totalCount: int currentCount: int connct: bool
[文档]@default_init class RestMngFileListItem: fileName: str filePath: str fileSize: int isDirectory: bool
[文档]@default_init class ContextSetting: driver_memory: str executor_memory: str executor_cores: int
[文档]class TargetSericeType(Enum): RESTDATA = 'RESTDATA' RESTMAP = 'RESTMAP' RESTSPATIALANALYST = 'RESTSPATIALANALYST'
[文档]@default_init class TargetServiceInfo: serviceAddress: str serviceType: TargetSericeType
[文档]@default_init class PublishServiceResult: targetServiceInfos: List[TargetServiceInfo] targetDataPath: str
[文档]class OutputType(Enum): INDEXEDHDFS = 'INDEXEDHDFS' UDB = 'UDB' MONGODB = 'MONGODB' PG = 'PG' RDD = 'RDD'
[文档]@default_init class OutputSetting: outputPath: str datasetName: str type: OutputType
[文档]class EngineType(Enum): IMAGEPLUGINS = 'IMAGEPLUGINS' OGC = 'OGC' ORACLEPLUS = 'ORACLEPLUS' SDBPLUS = 'SDBPLUS' SQLPLUS = 'SQLPLUS' UDB = 'UDB' ES = 'ES' GOOGLEMAPS = 'GOOGLEMAPS' SUPERMAPCLOUD = 'SUPERMAPCLOUD' POSTGRESQL = 'POSTGRESQL' KINGBASE = 'KINGBASE' DB2 = 'DB2' NetCDF = 'NetCDF' ISERVERREST = 'ISERVERREST' MAPWORLD = 'MAPWORLD' ORACLESPATIAL = 'ORACLESPATIAL' MYSQL = 'MYSQL' MONGDB = 'MONGDB'
[文档]@default_init class DatasourceConnectionInfo: alias: str dataBase: str driver: str engienType: EngineType password: str server: str user: str connect: bool exclusive: bool openLinkTable: bool readOnly: bool
[文档]@default_init class FileSystemOutputSetting(OutputSetting): datasourcePath: str
[文档]@default_init class DatabaseOutputSetting(OutputSetting): datasourceInfo: DatasourceConnectionInfo
[文档]@default_init class SparkJobSetting: contextSetting: ContextSetting appName: str mainClass: str args: List[str] serviceInfo: PublishServiceResult
[文档]@default_init class InputDataSetting: pass
[文档]@default_init class CSVInputDataSetting(InputDataSetting): xIndex: int yIndex: int separator: str
[文档]@default_init class FileCSVInputDataSetting(CSVInputDataSetting): filePath: str
[文档]@default_init class Named: name: str
[文档]class BigDataFileShareDatasetInfoType(Enum): CSV = 'CSV' UDB = 'UDB' INDEXEDHDFS = 'INDEXEDHDFS'
[文档]@default_init class BigDataFileShareDataSetInfo(Named): avilable: bool url: str type: BigDataFileShareDatasetInfoType
[文档]class CSVFieldType(Enum): INT32 = 'INT32' DOUBLE = 'DOUBLE' DATETIME = 'DATETIME' WTEXT = 'WTEXT'
[文档]@default_init class CSVFieldInfo: name: str typ: CSVFieldType
[文档]@default_init class CSVDatasetInfo(BigDataFileShareDataSetInfo): xIndex: int yIndex: int separator: str firstRowIsHead: bool prjCoordsys: int filedInfo: List[CSVFieldInfo]
[文档]@default_init class IndexedHdfsDatasetInfo(BigDataFileShareDataSetInfo): datasetType: str
[文档]@default_init class FieldInfo: name: str caption: str type: FieldType defaultValue: str maxLength: int isRequired: bool isZeroLengthAllowed: bool isSystemField: bool
[文档]@default_init class UDBDatasetInfo(BigDataFileShareDataSetInfo): datasetType: DatasetType datasetName: str bounds: str epsgCode: int readOnly: bool fieldInfos = List[FieldInfo]
[文档]class EncodeType(Enum): BYTE = 'BYTE' DCT = 'DCT' INT16 = 'INT16' INT24 = 'INT24' INT32 = 'INT32' LZW = 'LZW' NONE = 'NONE' PNG = 'PNG' SGL = 'SGL'
[文档]@default_init class DatasetInfo(Named): description: str prjCoordSys: PrjCoordSys isReadOnly: bool tableName: str encodeType: EncodeType type: DatasetType dataSourceName: str bounds: Rectangle2D datasourceConnectionInfo: DatasourceConnectionInfo
_datset_info_parser_builder = AbstractTypeParserSwitcherBuilder(DatasetInfo, 'type')
[文档]class PixelFormat(Enum): BIT8 = 'BIT8' BIT16 = 'BIT16' BIT32 = 'BIT32' BIT64 = 'BIT64' DOUBLE = 'DOUBLE' SINGLE = 'SINGLE' UBIT1 = 'UBIT1' UBIT4 = 'UBIT4' UBIT8 = 'UBIT8' UBIT16 = 'UBIT16' RGB = 'RGB' RGBA = 'RGBA' UBIT32 = 'UBIT32' UNKNOWN = 'UNKNOWN'
[文档]@default_init @_datset_info_parser_builder(DatasetType.GRID.name) class DatasetGridInfo(DatasetInfo): blockSize: int height: int weight: int minValue: float maxValue: float noValue: float pixelFormat: PixelFormat
[文档]@default_init class Color: red: int green: int blue: int alpha: int
[文档]class ColorSpaceType(Enum): CMYK = 'CMYK' RGB = 'RGB'
[文档]@default_init @_datset_info_parser_builder(DatasetType.IMAGE.name) class DatasetImageInfo(DatasetInfo): blockSize: int height: int width: int palettes: List[Color] pixelFormat: PixelFormat bandCount: int bandNames: List[str] colorSpace: ColorSpaceType
[文档]class Charset(Enum): ANSI = 'ANSI' ARABIC = 'ARABIC' BALTIC = 'BALTIC' CHINESEBIG5 = 'CHINESEBIG5' CYRILLIC = 'CYRILLIC' DEFAULT = 'DEFAULT' EASTEUPOPE = 'EASTEUPOPE' GB18030 = 'GB18030' GREEK = 'GREEK' HEBREW = 'HEBREW' JOHAB = 'JOHAB' KOREAN = 'KPREAN' MAC = 'MAC' OEM = 'OEM' RUSSIAN = 'RUSSIAN' SHIFTJIS = 'SHIFTJIS' SYMBOL = 'SYMBOL' THAI = 'THAI' TURKISH = 'TURKISH' UNICODE = 'UNICODE' UTF32 = 'UTF32' UTF7 = 'UTF7' UTF8 = 'UTF8' VIETNAMESE = 'VIETNAMESE' WINDOWS1252 = 'WINDOWS1252' XIA5 = 'XIA5' XIA5GREMAN = 'XIA5GERMAN' XIA5nORWEGIAN = 'XIA5NORWEGIAN' XIA5SWEDISH = 'XIA5SWEDISH'
[文档]@default_init @_datset_info_parser_builder(DatasetType.POINT.name, DatasetType.LINE.name, DatasetType.REGION.name) class DatasetVectorInfo(DatasetInfo): isFileCache: bool charset: Charset recordCount: int
[文档]@default_init class ArcGISDatasetVectorInfo(DatasetVectorInfo): id: int
[文档]@default_init class WFSDatasetInfo(DatasetVectorInfo): crsCode: str
[文档]@default_init class DatasetInputSetting(InputDataSetting): datasetInfo: Named datasetName: str numSlices: int specField: str
[文档]@default_init class DistributeAnalysisSetting(SparkJobSetting): referServicesAddress: str referToken: str # input: InputDataSetting output: OutputSetting
[文档]class SummaryAnalystType(Enum): SUMMARYMESH = 'SUMMARYMESH' SUMMARYREGION = 'SUMMARYREGION'
[文档]@default_init class AggregatePointsJobSetting(DistributeAnalysisSetting): type: SummaryAnalystType
[文档]class DistanceUnit(Enum): Meter = 'Meter' Kilometer = 'Kilometer' Yard = 'Yard' Foot = 'Foot' Mile = 'Mile'
[文档]@default_init class MappingParameters: numericPrecision: int
[文档]@default_init class SummaryAnalystSetting: pass
[文档]@default_init # TODO: SummaryAnalystSetting为标记类,实际不存在 class SummaryMeshAnalystSetting(SummaryAnalystSetting): query: str resolution: str fields: str meshType: int statisticModes: str resultFieldNames: str meshSizeUnit: DistanceUnit mappingParameters: MappingParameters regionDataset: str
[文档]@default_init class SummaryMeshJobSetting(AggregatePointsJobSetting): analyst: SummaryMeshAnalystSetting
[文档]@default_init class SummaryRegionAnalystSettingBase: regionDatasource: str regionDataset: str fields: str statisticModes: str resultFidleNames: str mappingParameters: MappingParameters
[文档]@default_init # TODO: SummaryAnalystSetting为标记类,实际不存在 class SummaryRegionAnalystSetting(SummaryAnalystSetting, SummaryRegionAnalystSettingBase): attributeFilter: str
[文档]@default_init class SummaryRegionJobSetting(AggregatePointsJobSetting): analyst: SummaryRegionAnalystSetting
[文档]@default_init class BuffersAnalystSetting: distance: str distanceField: str distanceUnit: DistanceUnit bounds: str dissolveField: str
[文档]@default_init class BuffersAnalystJobSetting(DistributeAnalysisSetting): analyst: BuffersAnalystSetting
[文档]class ImageType(Enum): basic = 'basic' heatmap = 'heatmap'
[文档]@default_init class BuildCacheDrawingSetting: bounds: str level: int imageType: ImageType
[文档]@default_init class BuildCacheJobSetting(DistributeAnalysisSetting): drawing: BuildCacheDrawingSetting
[文档]@default_init class BuildGridIndexAnalystSetting: indexFile: str isSer: bool bounds: str rows: str cols: str interval: str
[文档]@default_init class BuidlGridIndexJobSetting(DistributeAnalysisSetting): analyst: BuildGridIndexAnalystSetting
[文档]class JoinOperation(Enum): JOINONETOONE = 'JOINONETOONE' JOINONETOMANY = 'JOINONETOMANY'
[文档]class SpatialRelationShip(Enum): CONTAIN = 'CONTAIN' CROSS = 'CROSS' DISJOINT = 'DISJOINT' IDENTITY = 'IDENTITY' INTERSECT = 'INTERSECT' OVERLAP = 'OVERLAP' TOUCH = 'TOUCH' WITHIN = 'WITHIN' NEAR = 'NEAR'
[文档]class Unit(Enum): METER = 'METER' KILOMETER = 'KILOMETER' MILE = 'MILE' YARD = 'YARD' DEGREE = 'DEGREE' MILIMETER = 'MILIMETER' CENTIMETER = 'CENTIMETER' INCH = 'INCH' DECIMETER = 'DECIMETER' FOOT = 'FOOT' SECOND = 'SECOND' MINUTE = 'MINUTE' RADIAN = 'RADIAN'
[文档]class TemporalRelationShip(Enum): AFTER = 'AFTER' BEFORE = 'BEGPRE' CONTAINS = 'CONTAINS' DURING = 'DURING' FINISHES = 'FINISHES' MEETS = 'MEETS' NEAR = 'NEAR' FINISHEDBY = 'FINISHEDBY' METBY = 'METBY' OVERLAPS = 'OVERLAPS' OVERLAPPEDBY = 'OVERLAPPEDBY' STARTS = 'STARTS' STARTEDBY = 'STARTEDBY' EQUALS = 'EQUALS'
[文档]class TemporalNearDistanceUnit(Enum): MILLISECOND = 'MILLISECOND' SECOND = 'SECOND' MINUTE = 'MINUTE' HOUR = 'HOUR' DAY = 'DAY' WEEK = 'WEEK' MONTH = 'MONTH' YEAR = 'YEAR'
[文档]class AttributeStatisticalMode(Enum): EQUAL = 'EQUAL' NOTEQUAL = 'NOTEQUAL'
[文档]@default_init class FeatureJoinAnalystSetting: inputJoin: str datasetFeatureJoin: str joinOperation: JoinOperation joinFields: str spatialRelationship: SpatialRelationShip spatialNearDistance: float spatialNearDistanceUnit: Unit tolerance: float temporalRelationship: TemporalRelationShip temporalNearDistance: int temporalNearDistanceUnit: TemporalNearDistanceUnit attributeRelationship: str summaryFields: str summaryMode: str attributeMode: AttributeStatisticalMode specFields: str resultFieldNames: str mappingParameters: MappingParameters
[文档]@default_init class FeatureJoinJobSettting(DistributeAnalysisSetting): analyst: FeatureJoinAnalystSetting
[文档]class AreaUnit(Enum): SquareMeter = 'SquareMeter' SquareKiloMeter = 'SquareKiloMeter' Hectare = 'Hectare' Are = 'Are' Acre = 'Acre' SquareFoot = 'SquareFoot' SquareYard = 'SquareYard' SquareMile = 'SquareMile'
[文档]@default_init class KernelDensityAnalystSetting: query: str resolution: str radius: str fields: str method: int meshType: int meshSizeUnit: DistanceUnit radiusUnit: DistanceUnit areaUnit: AreaUnit
[文档]@default_init class KernelDensityJobSetting(DistributeAnalysisSetting): analyst: KernelDensityAnalystSetting
[文档]class OverlayMode(Enum): clip = 'clip' erase = 'erase' update = 'update' union = 'union' identity = 'identity' xor = 'xor' intersect = 'intersect'
[文档]class BufferEndType(Enum): FLAT = 'FLAT' ROUND = 'ROUND'
[文档]@default_init class BufferDistance: value: float exp: str
[文档]class BufferRadiusUnit(Enum): METER = 'METER' KILOMETER = 'KILOMETER' MILE = 'MILE' YARD = 'YARD' MILLIMETER = 'MILLIMETER' CENTIMETER = 'CENTIMETER' INCH = 'INCH' DECIMETER = 'DECIMETER' FOOT = 'FOOT'
[文档]@default_init class BufferAnalystParameter: endType: BufferEndType leftDistance: BufferDistance rightDistance: BufferDistance semicircleLineSegment: int radiusUnit: BufferRadiusUnit
[文档]@default_init class OverlayAnalystGeoSetting: inputVectorClip: str datasetVectorClip: str mode: OverlayMode attributeFilter: str geometryClip: Geometry bufferAnalystParameter: BufferAnalystParameter
[文档]@default_init class OverlayAnalystGeoJobSetting(DistributeAnalysisSetting): analyst: OverlayAnalystGeoSetting
[文档]@default_init class OverlayAanalystSetting: inputOverlay: str datasetOverlay: str srcFields: str overlayFields: str mode: OverlayMode
[文档]@default_init class OverlayAnalystJobSetting(DistributeAnalysisSetting): analyst: OverlayAanalystSetting
[文档]class SpatialQueryMode(Enum): NONE = 'NONE' IDENTITY = 'IDENTITY' DISJOINT = 'DISJOINT' INTERSECT = 'INTERSECT' TOUCH = 'TOUCH' OVERLAP = 'OVERLAP' CROSS = 'CROSS' WITHIN = 'WITHIN' CONTAIN = 'CONTAIN'
[文档]@default_init class SpatialQueryGeoAnalystSetting: inputQuery: str datasetQuery: str mode: SpatialQueryMode attributeFilter: str geometryQuery: Geometry bufferAnalystPatameter: BufferAnalystParameter
[文档]@default_init class SpatialQueryGeoJobSetting(DistributeAnalysisSetting): analyst: SpatialQueryGeoAnalystSetting
[文档]@default_init class SummaryAttributesAnalystSetting: groupField: str attributeField: str statisticModes: str resultField: str
[文档]@default_init class SummaryAttributesJobSetting(DistributeAnalysisSetting): analyst: SummaryAttributesAnalystSetting
[文档]@default_init class SummaryWithInJobSettingBase(DistributeAnalysisSetting): type: SummaryAnalystType
[文档]@default_init # 解决区域汇总分析analyst多个类型 class SummaryWithInRegionAnalystBaseSetting: pass
[文档]@default_init class SummaryWithinMeshAnalystSetting(SummaryWithInRegionAnalystBaseSetting, SummaryMeshAnalystSetting): standardSummaryFields: bool weightedSummaryFields: bool sumShape: bool weightedFields: str standardFields: str standardStatisticModes: str weightedStatisticModes: str
[文档]@default_init class SummaryWithinMeshJobSetting(SummaryWithInJobSettingBase): analyst: SummaryWithinMeshAnalystSetting
[文档]@default_init class SummaryWithinRegionAnalystSettting(SummaryWithInRegionAnalystBaseSetting, SummaryRegionAnalystSettingBase): standardSummaryFields: bool weightedSummaryFields: bool sumShape: bool query: str weightedFields: str standardFields: str standardStatisticModes: str weightedStatisticModes: str
[文档]@default_init class SummaryWithinRegionJobSetting(SummaryWithInJobSettingBase): analyst: SummaryWithinRegionAnalystSettting
[文档]class TopologyValidatorRuleType(Enum): REGIONNOOVERLAP = 'REGIONNOOVERLAP' REGIONNOOVERLAPWITH = 'REGIONNOOVERLAPWITH' REGIONCONTAINEDBYREGION = 'REGIONCONTAINEDBYREGION' REGIONCOVEREDBYREGION = 'REGIONCOVEREDBYREGION' LINENOOVERLAP = 'LINENOOVERLAP' LINENOOVERLAPWITH = 'LINENOOVERLAPWITH' POINTNOIDENTICAL = 'POINTNOIDENTICAL'
[文档]@default_init class TopologyvalidatorAnalystSetting: inputValidating: str datasetTopology: str rule: TopologyValidatorRuleType tolerance: str
[文档]@default_init class TopologyValidatorJobSettting(DistributeAnalysisSetting): analyst: TopologyvalidatorAnalystSetting
[文档]class SparkRunState(Enum): UNKNOWN = 'UNKNOWN' CONNECTED = 'CONNECTED' SUBMITTED = 'SUBMITTED' WAITING = 'WAITING' RUNNING = 'RUNNING' FINISHED = 'FINISHED' FAILED = 'FAILED' KILLED = 'KILLED' LOST = 'LOST'
[文档]@default_init class SparkJobState: runState: SparkRunState endState: bool errorMsg: str startTime: int endTime: int elapsedTime: int publisherelapsedTime: int
[文档]class DistributedAnalystJob: id: str state: SparkJobState
[文档]@default_init class GetAggregatePointsResultItem(DistributedAnalystJob): setting: AggregatePointsJobSetting
[文档]@default_init class PostAgggregatePointsEntity: input: InputDataSetting analyst: SummaryAnalystSetting type: SummaryAnalystType output: OutputSetting
[文档]@default_init class GetFeatureJoinResultItem(DistributedAnalystJob): setting: FeatureJoinJobSettting
[文档]@default_init class PostFeatureJoinEntity: input: InputDataSetting analyst: FeatureJoinAnalystSetting output: OutputSetting
[文档]@default_init class GetBuffersResultItem(DistributedAnalystJob): setting: BuffersAnalystJobSetting
[文档]@default_init class PostBuffersEntity: input: InputDataSetting analyst: BuffersAnalystSetting output: OutputSetting
[文档]@default_init class GetDensityResultItem(DistributedAnalystJob): setting: KernelDensityJobSetting
[文档]@default_init class PostDensityEntity: input: InputDataSetting analyst: KernelDensityAnalystSetting output: OutputSetting
[文档]@default_init class GetOverlayResultItem(DistributedAnalystJob): setting: OverlayAnalystJobSetting
[文档]@default_init class OverlayAnalystSetting: inputOverlay: str datasetOverlay: str srcFields: str overFields: str mode: OverlayMode
[文档]@default_init class PostOverlayEntity: input: InputDataSetting analyst: OverlayAnalystSetting output: OutputSetting
[文档]@default_init class GetQueryResultItem(DistributedAnalystJob): setting: SpatialQueryGeoJobSetting
[文档]@default_init class PostQueryEntity: input: InputDataSetting analyst: SpatialQueryGeoAnalystSetting output: OutputSetting
[文档]@default_init class GetSummaryAttributesResultItem(DistributedAnalystJob): setting: SummaryAttributesJobSetting
[文档]@default_init class PostSummaryAttributesEntity: input: InputDataSetting analyst: SummaryAnalystSetting output: OutputSetting
[文档]@default_init class GetSummaryRegionResultItem(DistributedAnalystJob): setting: SummaryWithInJobSettingBase
[文档]@default_init class PostSummaryRegionEntity: input: InputDataSetting analyst: SummaryWithInRegionAnalystBaseSetting type: SummaryAnalystType output: OutputSetting
[文档]@default_init class GetTopologyValidatorResultItem(DistributedAnalystJob): setting: TopologyValidatorJobSettting
[文档]@default_init class PostTopologyValidatorEntity: input: InputDataSetting analyst: TopologyvalidatorAnalystSetting output: OutputSetting
[文档]@default_init class GetVectorClipResultItem(DistributedAnalystJob): setting: OverlayAnalystGeoJobSetting
[文档]@default_init class PostVectorClipEntity: input: InputDataSetting analyst: OverlayAnalystGeoSetting output: OutputSetting
[文档]@default_init class DatasetsContent: datasetNames: List[str] datasetCount: int childUriList: List[str]
[文档]@default_init class DatasetContent: childUriList: List[str] supportAttachments: bool supportFeatureMetadatas: bool
[文档]@default_init class RelationShipDatasetContent(DatasetContent): datasetInfo: DatasetInfo
[文档]@default_init class BigDataFileShareDatasetContent(DatasetContent): datasetInfo: BigDataFileShareDataSetInfo
[文档]@default_init class FieldsContent: fieldNames: List[str] childUriList: List[str]
[文档]@default_init class FieldContent: fieldInfo: FieldInfo childUriList: List[str]
[文档]@default_init class CacheConfig: mapName: str scales: List[float]
[文档]@default_init class MapConfig: outputPath: str outputSite: str useCache: bool tileCacheConfig: TileSourceInfo utfGridCacheConfig: TileSourceInfo vectorTileCacheConfig: TileSourceInfo useUTFGridCache: bool useVectorTileCache: bool cacheConfigs: List[CacheConfig] expired: int cacheReadOnly: bool
[文档]@default_init class GetDataSourcesResult: childUriList: List[str] datasourceCount: int datasourceNames: List[str]
[文档]@default_init class DatasourceInfo: coordUnit: Unit description: str distanceUnit: Unit engineType: EngineType name: str prjCoordSys: PrjCoordSys
[文档]@default_init class GetDataSourceResult: datasourceInfo: DatasourceInfo childUriList: List[str]
[文档]@default_init class PutDatasourceItem: description: str coordUnit: Unit distanceUnit: Unit
[文档]@default_init class GetDatasetsResult: datasetCount: int datasetNames: List[str] childUriList: List[str]
# @default_init # class PostDatasetsCreateItem: # datasetName: str # datasetType: DatasetType
[文档]@default_init class CopyDatasetItem: srcDatasourceName: str srcDatasetName: str destDatasetName: str
[文档]@default_init class GetDatasetResult: datasetInfo: DatasetInfo childUriList: List[str]
[文档]@default_init class CreateDatasetItem: datasetName: str datasetType: DatasetType isFileCache: bool
[文档]@default_init class PutDatasetItem: description: str prjCoordSys: PrjCoordSys charset: str palette: List[Color] noValue: float
[文档]@default_init class GetFeatureResult: ID: int fieldNames: List[str] fieldValues: List[str] geometry: Geometry
[文档]@default_init class PutFeatureItem: fieldNames: List[str] fieldValues: List[str] geometry: Geometry
[文档]@default_init class GetAttachmentsResult: name: str size: int id: int contentType: str
[文档]@default_init class GetMetadataResult: createTime: int createUser: str lastEditTime: int lastEditUser: str
[文档]@default_init class GetFieldResult: childUriList: List[str] fieldInfo: FieldInfo
[文档]class StatisticMode(Enum): AVERAGE = 'AVERAGE' MAX = 'MAX' MIN = 'MIN' STDDEVIATION = 'STDDEVIATION' SUM = 'SUM' VARIANCE = 'VARIANCE'
[文档]@default_init class GetStatisticResult: mode: StatisticMode result: float
[文档]@default_init class CodeInfo: value: str valueType: FieldType
[文档]class RangeType(Enum): CLOSE_CLOSE = 'CLOSE_CLOSE' CLOSE_OPEN = 'CLOSE_OPEN' OPEN_CLOSE = 'OPEN_CLOSE' OPEN_OPEN = 'OPEN_OPEN'
[文档]class DomainType(Enum): CODE = 'CODE' CODE_NOT = 'CODE_NOT' RANGE = 'RANGE' RANGE_NOT = 'RANGE_NOT'
[文档]@default_init class RangeInfo: max: str min: str type: RangeType valueType: FieldType
[文档]@default_init class GetDomainResult: description: str name: str fieldName: str type: DomainType valueType: FieldType codeCount: int codeInfos: List[CodeInfo] rangeCount: int rangeInfos: List[RangeInfo]
[文档]@default_init class GridValue: column: int row: int value: float centerPoint: Point2D
[文档]@default_init class GetGridValuesResult: cloumnCount: int rowCount: int values: List[List[GridValue]] valuesCount: int
[文档]@default_init class PostGridValuesResult: customResult: List[GetGridValuesResult] error: HttpError newResourceID: str newResourceLocation: str postResultType: PostResultType succeed: bool
[文档]class Circle: centerPoint: Point2D radius: float
[文档]@default_init class DefaultValuesItem: leftBottom: Point2D rightTop: Point2D points: List[Point2D] circle: Circle point: Point2D
[文档]@default_init class GetGridValueResult: column: int row: int value: float
[文档]@default_init class ImageValue: bounds: List[int] centerPoint: Point2D color: Color column: int row: int value: int
[文档]@default_init class GetImageValuesResult: cloumnCount: int rowCount: int values: List[List[ImageValue]] valuesCount: int
[文档]@default_init class PostImageValuesResult: customResult: List[GetImageValuesResult] error: HttpError newResourceID: str newResourceLocation: str postResultType: PostResultType succeed: bool
[文档]@default_init class GetImageValueResult: bounds: List[int] color: Color column: int row: int value: int
[文档]@default_init class GetFeatureResults: name: str path: str resourceConfigID: str resouceType: str supportedMediaTypes: List[str]
[文档]@default_init class PostFeatureResultsResult: featureCount: int totalCount: int featureUriList: List[str] features: List[Feature]
[文档]class GetFeatureMode(Enum): BOUNDS = 'BOUNDS' BOUNDS_ATTRIBUTEFILTER = 'BOUNDS_ATTRIBUTEFILTER' BUFFER = 'BUFFER' BUFFER_ATTRIBUTEFILTER = 'BUGGER_ATTRIBUTEFILTER' ID = 'ID' SPATIAL = 'SPATIAL' SPATIAL_ATTRIBUTEFILTER = 'SPATIAL_ATTRIBUTEFILTER' SQL = 'SQL'
class JoinType(Enum): INNERJOIN = 'INNERJOIN' LEFTJOIN = 'LEFTJOIN'
[文档]@default_init class JoinItem: foreignTableName: str joinFilterName: str joinType: JoinType
[文档]@default_init class LinkItem: datasourceConnectionInfo: DatasourceConnectionInfo foreighKeys: List[str] foreighTable: str linkFields: List[str] linkFilter: str name: str primaryKeys: List[str]
[文档]@default_init class QueryParameter: attributeFilter: str fields: List[str] groupBy: str ids: List[int] joinItems: List[JoinItem] linkItems: List[LinkItem] name: str orderBy: str
[文档]@default_init class PostFeatureResultsItem: getFeatureMode: GetFeatureMode datasetNames: List[str] ids: List[int] bounds: Rectangle2D geometry: Geometry bufferDistance: float attributeFilter: str spatialQueryMode: SpatialQueryMode maxFeatures: int queryParameter: QueryParameter targetPrj: PrjCoordSys targetEpsgCode: int
[文档]@default_init class GetFeatureResultResult: featureCount: int featureUriList: List[str]
[文档]@default_init class PostCoordtransferItem: sourcePoints: List[Point2D] sourceGeometries: List[Geometry] sourceEpsgCode: int sourcePrj: PrjCoordSys targetPrj: PrjCoordSys targetEpsgCode: int
[文档]class DataItemType(Enum): AUDIO = 'AUDIO' COLOR = 'COLOR' COLORSCHEME = 'COLORSCHEME' CSV = 'CSV' EXCEL = 'EXCEL' FILLSYMBOL = 'FILLSYMBOL' IMAGE = 'IMAGE' JSON = 'JSON' LAYERTEMPLATE = 'LAYERTEMPLATE' LAYOUTTEMPALTE = 'LAYOUTTEMPLATE' LINESYMBOL = 'LINESYMBOL' MAPTEMPLATE = 'MAPTEMPLATE' MARKERSYMBOL = 'MARKERSYMBOL' MBTILES = 'MBTILES' PHOTOS = 'PHOTOS' SHP = 'SHP' SMTILES = 'SMTILES' SVTILES = 'SVTILES' THEMETEMPLATE = 'THEMETEMPLATE' TPK = 'TPK' UDB = 'UDB' UGCV5 = 'UGCV5' UNKNOWN = 'UNKNOWN' WORKENVIRONMENT = 'WORKENVIRONMENT' WORKSPACE = 'WORKSPACE'
[文档]class ServiceStatus(Enum): DISENGAGED = 'DISEGAGED' DOES_NOT_INVOLVE = 'DOES_NOT_INVOLVE' PUBLISH_FAILED = 'PUBLISH_FAILED' PUBLISHING = 'PUBLISHING' UNPUBLISHED = 'UNPUBLISHED' UNPUBLISHED_FAILED = 'UNPUBLISHED_FAILED'
[文档]class DataItemOrderBy(Enum): CREATETIME = 'CREATETIME' DOWNLOADCOUNT = 'DOWNLOADCOUNT' FILENAME = 'FILENAME' ID = 'ID' LASTMODIFIEDTIME = 'LASTMODIFIEDTIME' NICKNAME = 'NICKNAME' SERVICESTATUS = 'SERVICESTATUS' SIZE = 'SIZE' STATUS = 'STATUS' TYPE = 'TYPE' UPDATETIME = 'UPDATETIME' USERNAME = 'USERNAME'
[文档]class OrderType(Enum): ASC = 'ASC' DESC = 'DESC'
[文档]class FilterField(Enum): LINKPAGE = 'LINKPAGE' MAPTITLE = 'MAPTITLE' NICKNAME = 'NICKNAME' PROXIEDURL = 'PROXIEDURL' RESTITLE = 'RESTITLE' USERNAME = 'USERNAME'
[文档]class EntityType(Enum): USER = 'USER' ROLE = 'ROLE' GROUP = 'GROUP' IPORTALGROUP = 'IPORTALGROUP' DEPARTMENT = 'DEPARTMENT'
[文档]@default_init class IportalAuthorizeEntityBase: entityType: EntityType entityName: str aliasName: str entityId: int entityRoles: List[str]
[文档]class DataPermissionType(Enum): DOWNLOAD = 'DOWNLOAD' DELETE = 'DELETE'
[文档]@default_init class IportalDataAuthorizeEntity(IportalAuthorizeEntityBase): dataPermissionType: DataPermissionType
[文档]class DataCoordType(Enum): BD09 = 'BD09' BD09_MACTOR = 'BD09_MACTOR' CGCS2000 = 'CGCS2000' GCJ02 = 'GCJ02' GCJ02_MACTOR = 'GCJ02_MACTOR' MACTOR = 'MACTOR' NONE = 'NONE' OTHER = 'OTHER' WGS84 = 'WGS84'
[文档]class DataCheckStatus(Enum): CHECKING = 'CHECKING' FAILED = 'FAILED' FATALERROR = 'FATALERROR' SUCCESS = 'SUCCESS' UNCHECKED = 'UNCHECKED'
[文档]@default_init class DataItemCheckInfo: checkMsg: str checkStatus: DataCheckStatus dataType: DataItemType id: int MD5: str
[文档]class DataServiceType(Enum): REST_NETWORKANALYST3D = 'REST_NETWORKANALYST3D' RESTDATA = 'RESTDATA' RESTMAP = 'RESTMAP' RESTREALSPACE = 'RESTREALSPACE' RESTSPATIALANALYST = 'RESTSPATIALANALYST' RESTTRAFFICTRANSFERANALYST = 'RESTTRAFFICTRANSFERANALYST' RESTTRANSPORTATIONANALYST = 'RESTTRANSPORTATIONANALYST' WCS111 = 'WCS111' WCS112 = 'WCS112' WFS100 = 'WFS100' WFS200 = 'WFS200' WMS111 = 'WMS111' WMS130 = 'WMS130' WMTS100 = 'WMTS100' WMTSCHINA = 'WMTSCHINA' WPS100 = 'WPS100'
[文档]@default_init class DataItemServiceCheckInfo: checkMsg: str checkStatus: DataCheckStatus dataType: DataItemType id: int MD5: str serviceType: DataServiceType
[文档]@default_init class DataServiceInfo: accessCount: int address: str createTime: int dataID: int serviceId: str serviceName: str serviceNode: str serviceStatus: ServiceStatus serviceType: DataServiceType updateTime: int
[文档]class SourceType(Enum): SUPERMAP_REST = 'SUPERMAP_REST' MAPVIEWER = 'MAPVIEWER' SUPERMAP_REST_VECTOR = 'SUPERMAP_REST_VECTOR' WMS = 'WMS' WMTS = 'WMTS' WFS = 'WFS' WCS = 'WCS' WPS = 'WPS' DATA = 'DATA' MAP = 'MAP' LOCATION = 'LOCATION' LOCALSEARCH = 'LOCALSEARCH' NAVIGATION = 'NAVIGATION' ICLOUDTRAFFICTRANSFERANALYST = 'ICLOUDTRAFFICTRANSFERANALYST' COORDINATE = 'COORDINATE' SPATIALANALYST = 'SPATIALANALYST' TRAFFICTRANSFERANALYST = 'TRAFFICTRANSFERANALYST' TRANSPORTATIONANALYST = 'TRANSPORTATIONANALYST' COMPONENTSET = 'COMPONENTSET' CLOUD = 'CLOUD' TIANDITU_VEC = 'TIANDITU_VEC' TIANDITU_IMG = 'TIANDITU_IMG' TIANDITU_TER = 'TIANDITU_TER' BAIDU = 'BAIDU' SIWEI = 'SIWEI' OSM = 'OSM' GOOGLE = 'GOOGLE' TENCENT = 'TENCENT' BING = 'BING' ARGIS_REST = 'ARCGIS_REST' OTHERS = 'OTHERS' NETWORKANALYST3D = 'NETWORKANALYST3D' PLOT = 'PLOT' ADDRESSMATCH = 'ADDRESSMATCH' BIGDATACATALOG = 'BIGDATACATALOG' SPATIALPROCESSING = 'SPATIALPROCESSING' GEOMETRY = 'GEOMETRY'
[文档]class RealspaceType(Enum): MODEL = 'MODEL' IMAGE = 'IMAGE'
[文档]@default_init class DataMetaInfo: releaseTimeMilli: int providers: str epsgCode: int bounds: str proxiedServiceUrl: str proxiedServiceType: SourceType realspaceType: RealspaceType fileEncoding: str xField: str yField: str previewURL: str
[文档]@default_init class DataCheckResult: dataCheckInfo: DataItemCheckInfo serviceCheckInfos: List[DataItemServiceCheckInfo]
[文档]class Status(Enum): CREATED = 'CREATED' DOEST_NOT_COMPLETE = 'DOEST_NOT_COMPLETE' DOEST_NOT_EXIST = 'DOEST_NOT_EXIST' MODIFYING = 'MODIFYING' OK = 'OK'
[文档]@default_init class DataItem: authorizeSetting: List[IportalDataAuthorizeEntity] coordType: DataCoordType createTime: int dataCheckResult: DataCheckResult dataItemService: List[DataServiceInfo] dataMetaInfo: DataMetaInfo description: str downloadCount: int fileName: str id: int lastModfiedTime: int MD5: str nickname: str size: int status: Status storageId: str tags: List[str] thumbnail: str type: DataItemType userName: str
[文档]@default_init class SearchParameter: currentPage: int keywords: List[str] orderType: OrderType pageSize: int
[文档]@default_init class GetMyDatasResult: content: List[DataItem] currentPage: int pageSize: int searchParameter: SearchParameter total: int totalPage: int
[文档]@default_init class PostMyDatasItem: type: DataItemType fileName: str tags: List[str] description: str authorizeSetting: List[IportalDataAuthorizeEntity]
[文档]@default_init class MyDatasMethodResult: childID: str childContent: dict childUrl: str customResult: dict isAsynchronizedReturn: bool
[文档]@default_init class PutMyDataItem: fileName: str type: DataItemType tags: List[str] description: str
[文档]@default_init class MyDataUploadProcess: id: str read: int total: int
[文档]@default_init class PermissionType(Enum): DELETE = 'DELETE' READ = 'READ' READWRITE = 'READWRITE'
[文档]@default_init class IportalAuthorizeEntity(IportalAuthorizeEntityBase): permissionType: PermissionType
[文档]class CheckStatus(Enum): FAILED = 'FAILED' SUCCESSFUL = 'SUCCESSFUL' UNCHECKED = 'UNCHECKED'
[文档]class LayerType(Enum): BASE_LAYER = 'BASE_LAYER' FEATURE_LAYER = 'FEATURE_LAYER' GRAPHIC_LAYER = 'GRAPHIC_LAYER' HEATMAP_LAYER = 'HEATMAP_LAYER' MARKER_LAYER = 'MARKER_LAYER' OVERLAY_LAYER = 'OVERLAY_LAYER'
[文档]@default_init class FeatureAttribute: title: str description: str updated: bool
[文档]@default_init class IportalGeometry: type: str points: List[Point2D]
[文档]@default_init class Marker: id: str attributes: FeatureAttribute geometry: IportalGeometry icon: str width: int height: int
[文档]@default_init class PointStyle: pointRadius: float fillColor: str fillOpacity: float strokeColor: str strokeOpacity: float strokeWidth: float strokeLinecap: str strokeDashstyle: str externalGraphic: str graphicWidth: float graphicHeight: float graphicOpacity: float graphicXOffset: float graphicYOffset: float fill: bool stroke: bool unicode: bool labelSelect: bool fontSize: str fontColor: str labelAlign: str fontOpacity: float fontWeight: str fontFamily: str label: str labelXOffset: float labelYOffset: float isUnicode: bool
[文档]@default_init class LineStyle: fillOpacity: float strokeColor: str strokeOpacity: float strokeWidth: float strokeLinecap: str strokeDashstyle: str
[文档]@default_init class PolygonStyle: fillColor: str fillOpacity: float strokeColor: str strokeOpacity: float strokeWidth: float strokeLinecap: str strokeDashstyle: str
[文档]@default_init class LayerStyle: pointStyle: PointStyle lineStyle: LineStyle polygonStyle: PolygonStyle
[文档]@default_init class WMTSOption: requestEncoding: str
[文档]@default_init class Layer: bounds: Rectangle2D cartoCSS: str datasourceName: str # features: List[Feature] id: int identifier: str isVisible: bool layerType: LayerType mapId: int markers: List[Marker] name: str opacity: float prjCoordSys: PrjCoordSys scales: List[float] style: LayerStyle subLayers: List[str] themeSettings: str title: str type: SourceType url: str wmtsOption: WMTSOption zindex: int
[文档]class MapUnits(Enum): degrees = 'degrees' ft = 'ft' inches = 'inches' km = 'km' m = 'm' mi = 'mi'
[文档]@default_init class ViewerMap: authorizeSetting: List[IportalAuthorizeEntity] center: Point2D checkStatus: CheckStatus checkTime: int checkUser: str checkUserNick: str controls: List[str] createTime: int description: str epsgCode: int extend: Rectangle2D id: int isDefaultBottomMap: bool layers: List[Layer] level: int nickName: str resolution: float searchSetting: str sourceType: SourceType tags: List[str] thumbnail: str title: str units: MapUnits updateTime: int userName: str verifyReasion: str visitCount: int
[文档]@default_init class GetMapsResult: content: List[ViewerMap] currentPage: int pageSize: int searchParameter: SearchParameter total: int totalPage: int
[文档]@default_init class MapOrderBy(Enum): USERNAME = 'USERNAME' TITLE = 'TITLE' VISITCOUNT = 'VISITCOUNT' CREATETIME = 'CREATETIME' UPDATETIME = 'UPDATETIME' SOURCETYPE = 'SOURCETYPE' STATUS = 'STATUS' NICKNAME = 'NICKNAME'
[文档]@default_init class OrderBy: orderField: MapOrderBy orderType: OrderType
[文档]@default_init class PostMapsItem: units: MapUnits level: int center: Point2D controls: List[str] description: str epsgCode: int extent: Rectangle2D tags: List[str] layers: List[Layer] title: str thumbnail: str isDefaultBottomMap: bool authorizeSetting: List[IportalAuthorizeEntity] searchSetting: str
[文档]@default_init class MapShareSetting: entityName: str entityType: EntityType permissionType: PermissionType entityId: int aliasName: str
[文档]class GroupRole(Enum): CREATOR = 'CREATOR' GROUPMANAGER = 'GROUPMANAGER' MEMBER = 'MEMBER'
[文档]@default_init class GroupBasicInfo: createTime: int creator: str description: str groupName: str icon: str id: int isEnabled: bool isNeedCheck: bool isPublic: bool nickname: str resourceSharer: GroupRole tag: List[str] updateTime: int
[文档]@default_init class GetGroupsResult: content: List[GroupBasicInfo] currentPage: int pageSize: int searchParameter: SearchParameter total: int totalPage: int
[文档]class GroupOrderBy(Enum): CREATETIME = 'CREATETIME' CREATOR = 'CREATOR' GROUPNAME = 'GROUPNAME' ISPUBLIC = 'ISPUBLIC' NICKNAME = 'NICKNAME' UPDATETIME = 'UPDATETIME'
[文档]class JoinType(Enum): CANJOIN = 'CANJOIN' CREATE = 'CREATE' JOINED = 'JOINED'
[文档]@default_init class GetMyDepartmentsResult: createTime: int id: int name: str upperDepartmentNames: List[str]
[文档]@default_init class GetMyDepartmentsMembersResult: departmentId: int id: int nickName: str userName: str
[文档]@default_init class ServiceMetaInfo: componentType: str interfaceType: str name: str url: str additions: List[str]
[文档]@default_init class ChildResourceInfo: name: str path: str
[文档]@default_init class OnlineDataShareSetting: ids: List[str] entities: List[IportalDataAuthorizeEntity]
[文档]@default_init class OnlineMapShareSetting: ids: List[str] entities: List[MapShareSetting]
[文档]@default_init class CreateNodeResult: isSucceed: bool msg: str resultId: str taskId: str
[文档]@default_init class NodeBaseInfo: id: str name: str
[文档]@default_init class BatchMethodResult: failures: List[NodeBaseInfo] isSucceed: bool msg: str success: List[NodeBaseInfo]
[文档]@default_init class CreateServerEntity: description: str ips: List[str] nodeCount: int nodeName: str nodeSpec: str password: str physicalMachineName: str userName: str
[文档]@default_init class NodeInfo: address: str hasAgent: bool id: str isCreate: bool isMonitored: bool name: str owner: str status: str type: str
[文档]@default_init class NodeInfoList: list: List[NodeInfo]
[文档]@default_init class UserEntity: name: str password: str description: str roles: List[str] userGroups: List[str]
[文档]@default_init class UserInfo: description: str email: str name: str ownRoles: List[str] password: str roles: List[str] userGroups: List[str]
[文档]@default_init class MixedPermissions: permitted: List[str] denied: List[str]
[文档]@default_init class RolePermissions: publishEnabled: bool instanceAccessPermissions: MixedPermissions componentManagerPermissions: MixedPermissions
[文档]@default_init class RoleEntity: description: str name: str premissions: RolePermissions userGroups: List[str] users: List[str]
[文档]class AuthorizeType(Enum): AUTHENTICATED = 'AUTHENTICATED' PRIVATE = 'PRIVATE' PUBLIC = 'PUBLIC'
[文档]@default_init class AuthorizeSetting: deniedRoles: List[str] permittedRoles: List[str] type: AuthorizeType
[文档]@default_init class ServiceInstance: authorizeSetting: AuthorizeSetting componentName: str componentSetName: str componentType: str enabled: bool id: str interfaceName: str interfaceType: str name: str status: str
[文档]@default_init class PostAuthorizeEntity: instances: List[str] authorizeSetting: AuthorizeSetting
_datset_info_parser_builder.build_and_regist()