com.supermap.data.conversion
类 ImportSettingSIT
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.conversion.ImportSetting
-
- com.supermap.data.conversion.ImportSettingSIT
-
- 所有已实现的接口:
- IDisposable
public class ImportSettingSIT extends ImportSetting
SuperMap 压缩影像 SuperMap Image Tower(SIT) 文件导入的参数类。SIT 文件结构本身类似于金字塔,所以不必再建立金字塔,同时 SIT 只能导入成 Image 数据集。
注意: 传入的文件型的数据源和工作空间连接信息,在传入之前不能被打开,否则会导入失败。
该类继承自
ImportSetting
类。
-
-
构造器概要
构造器 构造器和说明 ImportSettingSIT()
默认构造函数,构造一个新的 ImportSettingSIT 对象。ImportSettingSIT(ImportSettingSIT importSettingSIT)
拷贝构造函数,根据给定的 ImportSettingSIT 对象构造一个与其完全相同的新对象。ImportSettingSIT(String sourceFilePath, Datasource targetDatasource)
根据指定的参数构造 ImportSettingSIT 类的新实例。ImportSettingSIT(String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
根据指定的参数构造 ImportSettingSIT 类的新实例。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放该对象所占用的资源。IgnoreMode
getIgnoreMode()
返回 SIT(SuperMap 压缩影像)文件的忽略颜色值的模式。double[]
getIgnoreValues()
返回要忽略的颜色值。MultiBandImportMode
getMultiBandImportMode()
获取多波段导入模式。String
getPassword()
返回SIT数据的密码。boolean
isImportingAsGrid()
获取是否导入为Grid数据集。void
setIgnoreMode(IgnoreMode ignoreMode)
设置 SIT(SuperMap 压缩影像)文件的忽略颜色值的模式。void
setIgnoreValues(double[] ignoreValues)
设置要忽略的颜色值。void
setImportingAsGrid(boolean value)
设置是否导入为Grid数据集。void
setMultiBandImportMode(MultiBandImportMode mode)
设置多波段导入模式。void
setPassword(String value)
设置SIT数据的密码。-
从类继承的方法 com.supermap.data.conversion.ImportSetting
fromXML, getEncodeType, getImportMode, getSourceFileCharset, getSourceFilePath, getSourceFileType, getSourcePrjCoordSys, getTargetDataInfos, getTargetDataInfos, getTargetDatasetName, getTargetDatasource, getTargetDatasourceConnectionInfo, getTargetEncodeType, getTargetPrjCoordSys, isUseFME, setEnableMultiThread, setEncodeType, setFieldValue, setImportMode, setScalingFactor, setSourceFileCharset, setSourceFilePath, setTargetDataInfos, setTargetDatasetName, setTargetDatasource, setTargetDatasourceConnectionInfo, setTargetEncodeType, setTargetPrjCoordSys, setUseFME, toXML
-
-
-
-
构造器详细资料
-
ImportSettingSIT
public ImportSettingSIT()
默认构造函数,构造一个新的 ImportSettingSIT 对象。
-
ImportSettingSIT
public ImportSettingSIT(ImportSettingSIT importSettingSIT)
拷贝构造函数,根据给定的 ImportSettingSIT 对象构造一个与其完全相同的新对象。- 参数:
importSettingSIT
- 用于初始化 ImportSettingSIT 新实例的对象。
-
ImportSettingSIT
public ImportSettingSIT(String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
根据指定的参数构造 ImportSettingSIT 类的新实例。- 参数:
sourceFilePath
- 源文件路径。targetConnectionInfo
- 目标数据源连接信息。
-
ImportSettingSIT
public ImportSettingSIT(String sourceFilePath, Datasource targetDatasource)
根据指定的参数构造 ImportSettingSIT 类的新实例。- 参数:
sourceFilePath
- 源文件路径。targetDatasource
- 目标数据源。
-
-
方法详细资料
-
getPassword
public String getPassword()
返回SIT数据的密码。- 返回:
- SIT数据的密码。
-
setPassword
public void setPassword(String value)
设置SIT数据的密码。- 参数:
string
- SIT数据的密码。
-
setIgnoreMode
public void setIgnoreMode(IgnoreMode ignoreMode)
设置 SIT(SuperMap 压缩影像)文件的忽略颜色值的模式。- 参数:
ignoreMode
- 忽略颜色值的模式。
-
getIgnoreMode
public IgnoreMode getIgnoreMode()
返回 SIT(SuperMap 压缩影像)文件的忽略颜色值的模式。- 返回:
- SIT(SuperMap 压缩影像)文件的忽略颜色值的模式。
-
getIgnoreValues
public double[] getIgnoreValues()
返回要忽略的颜色值。- 返回:
- 一个颜色值数组对象,数组中的值对应的颜色会被忽略。
-
setIgnoreValues
public void setIgnoreValues(double[] ignoreValues)
设置要忽略的颜色值。- 参数:
ignoreValues
- 一个颜色值数组对象。
-
getMultiBandImportMode
public MultiBandImportMode getMultiBandImportMode()
获取多波段导入模式。- 返回:
- 多波段导入模式。
-
setMultiBandImportMode
public void setMultiBandImportMode(MultiBandImportMode mode)
设置多波段导入模式。- 参数:
mode
- 多波段导入模式。
-
isImportingAsGrid
public boolean isImportingAsGrid()
获取是否导入为Grid数据集。- 返回:
- 是否导入为Grid数据集。
-
setImportingAsGrid
public void setImportingAsGrid(boolean value)
设置是否导入为Grid数据集。- 参数:
value
- 是否导入为Grid数据集。
-
dispose
public void dispose()
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.