Classes
Type Definitions
-
AccessTokenClaims{Object}
-
Properties:
Name Type Description expnumber 令牌的过期时间(秒)。
-
AuthConfig{Object}
-
Properties:
Name Type Description tokenUrlstring
(defaults to 'https://services.sentinel-hub.com/auth/realms/main/protocol/openid-connect/token')获取认证令牌的 URL。
clientIdstring 客户端 ID。
clientSecretstring 客户端密钥。
-
Collections{Object}
-
Properties:
Name Type Description fromstring | undefined 对于 'ORBIT' 镶嵌,这将是搜索间隔的开始时间。
tostring | undefined 对于 'ORBIT' 镶嵌,这将是搜索间隔的结束时间。
scenesScenes 集合中的场景。
-
CustomData{对象。<string, unknown>}
-
-
DataFilter{Object}
-
Properties:
Name Type Description timeRangeTimeRange | undefined 数据时间范围。
maxCloudCoveragenumber | undefined 最大云覆盖率(0-100)。
-
Evalscript{Object}
-
Properties:
Name Type Description setupSetup 设置函数。
evaluatePixelEvaluatePixel 将输入样本转换为输出值的函数。
updateOutputUpdateOutput | undefined 调整输出波段的可选函数。
updateOutputMetadataUpdateOutputMetadata | undefined 更新输出元数据的可选函数。
preProcessScenesCollections | undefined 处理前调用的可选函数。
versionstring
(defaults to '3')Evalscript 版本。
-
-
InputDescription{Object}
-
Properties:
Name Type Description bandsArray.<string> 输入波段标识符。
unitsstring | Array.<string> | undefined 输入波段单位。
metadataArray.<string> | undefined 要包含在输入元数据中的属性。
-
InputMetadata{Object}
-
Properties:
Name Type Description serviceVersionstring 用于处理的服务版本。
normalizationFactornumber 用于将数字值(DN)转换为反射率的因子。
-
Options{Object}
-
Properties:
Name Type Description authAuthConfig | string | undefined 包含
clientId和clientSecret的认证配置或访问令牌。详见 Sentinel Hub 认证。如果构造时未提供,数据源将不会渲染,直到调用setAuth。dataArray<ProcessRequestInputDataItem> | undefined 输入数据配置。如果构造时未提供,数据源将不会渲染,直到调用
setData。evalscriptEvalscript | string | undefined 应用于输入数据的处理。如果构造时未提供,数据源将不会渲染,直到调用
setEvalscript。有关传递处理函数时的限制详情,请参阅setEvalscript文档。tileSizenumber | Size
(defaults to [512, 512])源瓦片的像素宽度和高度。
urlstring
(defaults to 'https://services.sentinel-hub.com/api/v1/process')Sentinel Hub 处理 API URL。
projectionProjectionLike | undefined 投影。默认为视图投影。
attributionsCollapsibleboolean
(defaults to true)允许折叠归属信息。
interpolateboolean
(defaults to true)重采样时是否使用插值。默认情况下, 重采样时使用线性插值。设置为 false 可使用 the nearest neighbor instead.
wrapXboolean
(defaults to true)水平包裹世界。
transitionnumber | undefined 渲染的不透明度过渡持续时间。要禁用不透明度过渡,请传递
transition: 0。 -
Orbit{Object}
-
Properties:
Name Type Description dateFromstring 瓦片中包含的所有场景的最早日期。
dateTostring 瓦片中包含的场景的最新日期。
tilesArray 每个瓦片的元数据。
-
OutputDescription{Object}
-
Properties:
Name Type Description idstring
(defaults to 'default')输出标识符。
bandsnumber 输出波段数。
sampleTypeSampleType
(defaults to 'AUTO')输出样本类型。
nodataValuenumber | undefined 输出 nodata 值。
-
OutputMetadata{Object}
-
Properties:
Name Type Description userDataObject 任意用户数据。
-
OutputValues{对象。<string, Array.<number>>}
-
-
ProcessRequest{Object}
-
Properties:
Name Type Description inputProcessRequestInput 输入数据配置。
evalscriptstring 用于处理的 Evalscript。
outputProcessRequestOutput | undefined 输出配置。
-
ProcessRequestInput{Object}
-
Properties:
Name Type Description boundsProcessRequestInputBounds 输入数据的边界框。
dataArray<ProcessRequestInputDataItem> 输入数据。
-
ProcessRequestInputBounds{Object}
-
Properties:
Name Type Description bboxArray.<number> | undefined 输入数据的边界框。
propertiesProcessRequestInputBoundsProperties | undefined 边界框的属性。
geometrymodule:geojson~Geometry | undefined 边界框的几何图形。
-
ProcessRequestInputBoundsProperties{Object}
-
Properties:
Name Type Description crsstring 边界框的坐标参考系统。
-
ProcessRequestInputDataItem{Object}
-
Properties:
Name Type Description typestring | undefined 输入数据的类型。
idstring | undefined 输入数据的标识符。
dataFilterDataFilter | undefined 要应用于输入数据的过滤器。
processing对象。<string, unknown> | undefined 要应用于输入数据的处理。
-
ProcessRequestOutput{Object}
-
Properties:
Name Type Description widthnumber | undefined 图像宽度(像素)。
heightnumber | undefined 图像高度(像素)。
resxnumber | undefined x 方向的空间分辨率。
resynumber | undefined y 方向的空间分辨率。
responsesArray<ProcessRequestOutputResponse> | undefined 响应配置。
-
ProcessRequestOutputFormat{Object}
-
Properties:
Name Type Description typestring | undefined 输出格式类型。
-
ProcessRequestOutputResponse{Object}
-
Properties:
Name Type Description identifierstring | undefined 用于将结果连接到设置输出的标识符。
formatProcessRequestOutputFormat | undefined 响应格式。
-
Sample{对象。<string, number>}
-
-
SampleType{'INT8'} {'UINT8'} {'INT16'} {'UINT16'} {'FLOAT32'} {'AUTO'}
-
-
Scenes{Object}
-
-
SetupResult{Object}
-
Properties:
Name Type Description inputArray.<string> | Array<InputDescription> 输入数据的描述。
outputOutputDescription | Array<OutputDescription> 输出数据的描述。
mosaicking'SIMPLE' | 'ORBIT' | 'TILE'
(defaults to 'SIMPLE')控制如何组合来自输入场景的样本。
-
Tile{Object}
-
Properties:
Name Type Description datestring 瓦片中使用的场景日期。
cloudCoveragenumber 场景中被云遮挡的像素估计百分比。
dataPathstring 存储中数据的路径。
shIdnumber 场景的内部标识符。
-
TimeRange{Object}
-
Properties:
Name Type Description fromstring | undefined 开始时间(含)。
tostring | undefined 结束时间(含)。
-
-
-
UpdatedOutputDescription{Object}
-
Properties:
Name Type Description bandsnumber 输出波段数。