com.supermap.services.components.impl
类 DefaultJobInfoPREProcessor
- java.lang.Object
-
- com.supermap.services.components.impl.DefaultJobInfoPREProcessor
-
- 所有已实现的接口:
- JobInfoPREProcessor
public class DefaultJobInfoPREProcessor extends java.lang.Object implements JobInfoPREProcessor
Job信息预处理器实现类
-
-
构造器概要
构造器 构造器和说明 DefaultJobInfoPREProcessor()
构造函数。DefaultJobInfoPREProcessor(MapBuilder mapBuilder, RealspaceBuilder realspaceBuilder, TileStorePreProcessor tileStorePreProcessor, MapStatusHashcodePreProcessor hashcodeProProcessor)
构造函数。
-
方法概要
方法 限定符和类型 方法和说明 protected Rectangle2D
calcuateTileBounds(double scaleDenominator, Unit unit, Point2D originalPoint, int tileSize)
取特定比例尺下,第0,0张图片的boundsprotected JobBuildConfig
getCheckedJobInfo(JobInfo jobInfo)
protected static long
getCount(double originalLocation, double tileLength, double benginLocation, double endLocation, boolean isX)
protected MapParameter
getMapState(Map map, MapParameter tempParam)
protected TileJobScaleInfo
getTileJobScaleInfo(Map map, double scaleDenominator, int epsgCode, int tileSize, MapParameter defaultParam)
protected TileJobScaleInfo
getTileJobScaleInfo(Unit unit, double scaleDenominator, Point2D orginalPoint, int tileSize)
JobBuildConfig
process(JobInfoPREProcessorParameter parameter)
处理Job信息protected void
processByMapComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, MapCompConnInfo dataConnInfo)
根据地图组件初始化任务protected void
processByMapComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, Map map, MapCompConnInfo dataConnInfo)
protected void
processByRealspaceComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, Realspace realspace)
protected void
processByRealspaceComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, RealspaceCompConnInfo dataConnInfo)
根据三维组件初始化任务void
setMapBuilder(MapBuilder mapBuilder)
设置MapBuildervoid
setMapStatusHashcodePreProcessor(MapStatusHashcodePreProcessor mapStatusHashcodePreProcessor)
设置MapStatusHashcodePreProcessorvoid
setRealspaceBuilder(RealspaceBuilder realspaceBuilder)
设置RealspaceBuildervoid
setRestContext(RestContext restContext)
设置上下文信息。protected void
setScaleBuildConfigAndJobState(Map map, JobBuildConfig jobBuildConfig, MapParameter defaultParam)
protected void
setScaleBuildConfigAndJobState(Realspace realspace, JobBuildConfig jobBuildConfig, Unit layerPrjUnit)
protected void
setScalesOrResolutions(JobBuildConfig jobBuildConfig, Map map, MapParameter defaultMapParam)
根据比例尺补充分辨率信息,或根据分辨率补充比例尺信息。protected void
setScalesOrResolutions(JobBuildConfig jobBuildConfig, Unit unit)
void
setTileStorePreProcessor(TileStorePreProcessor tileStorePreProcessor)
设置TileStorePreProcessor
-
-
-
构造器详细资料
-
DefaultJobInfoPREProcessor
public DefaultJobInfoPREProcessor()
构造函数。
-
DefaultJobInfoPREProcessor
public DefaultJobInfoPREProcessor(MapBuilder mapBuilder, RealspaceBuilder realspaceBuilder, TileStorePreProcessor tileStorePreProcessor, MapStatusHashcodePreProcessor hashcodeProProcessor)
构造函数。
- 参数:
mapBuilder
-realspaceBuilder
-tileStorePreProcessor
-hashcodeProProcessor
-
-
-
方法详细资料
-
setRestContext
public void setRestContext(RestContext restContext)
从接口复制的说明:JobInfoPREProcessor
设置上下文信息。
- 指定者:
setRestContext
在接口中JobInfoPREProcessor
-
process
public JobBuildConfig process(JobInfoPREProcessorParameter parameter)
从接口复制的说明:JobInfoPREProcessor
处理Job信息
- 指定者:
process
在接口中JobInfoPREProcessor
- 返回:
-
processByRealspaceComponent
protected void processByRealspaceComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, RealspaceCompConnInfo dataConnInfo)
根据三维组件初始化任务- 参数:
toProcess
-jobBuildConfig
-
-
processByRealspaceComponent
protected void processByRealspaceComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, Realspace realspace)
-
processByMapComponent
protected void processByMapComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, MapCompConnInfo dataConnInfo)
根据地图组件初始化任务- 参数:
toProcess
-jobBuildConfig
-
-
processByMapComponent
protected void processByMapComponent(JobInfo toProcess, JobBuildConfig jobBuildConfig, Map map, MapCompConnInfo dataConnInfo)
-
setScalesOrResolutions
protected void setScalesOrResolutions(JobBuildConfig jobBuildConfig, Map map, MapParameter defaultMapParam)
根据比例尺补充分辨率信息,或根据分辨率补充比例尺信息。
- 参数:
jobBuildConfig
-map
-defaultMapParam
-- 从以下版本开始:
- 7.0
-
setScalesOrResolutions
protected void setScalesOrResolutions(JobBuildConfig jobBuildConfig, Unit unit)
-
calcuateTileBounds
protected Rectangle2D calcuateTileBounds(double scaleDenominator, Unit unit, Point2D originalPoint, int tileSize)
取特定比例尺下,第0,0张图片的bounds- 参数:
sceneName
-layerName
-realspace
-scaleDenominator
-- 返回:
-
getMapState
protected MapParameter getMapState(Map map, MapParameter tempParam)
-
getCheckedJobInfo
protected JobBuildConfig getCheckedJobInfo(JobInfo jobInfo)
-
setScaleBuildConfigAndJobState
protected void setScaleBuildConfigAndJobState(Map map, JobBuildConfig jobBuildConfig, MapParameter defaultParam)
-
setScaleBuildConfigAndJobState
protected void setScaleBuildConfigAndJobState(Realspace realspace, JobBuildConfig jobBuildConfig, Unit layerPrjUnit)
-
getTileJobScaleInfo
protected TileJobScaleInfo getTileJobScaleInfo(Map map, double scaleDenominator, int epsgCode, int tileSize, MapParameter defaultParam)
-
getTileJobScaleInfo
protected TileJobScaleInfo getTileJobScaleInfo(Unit unit, double scaleDenominator, Point2D orginalPoint, int tileSize)
-
getCount
protected static long getCount(double originalLocation, double tileLength, double benginLocation, double endLocation, boolean isX)
-
setMapBuilder
public void setMapBuilder(MapBuilder mapBuilder)
从接口复制的说明:JobInfoPREProcessor
设置MapBuilder
- 指定者:
setMapBuilder
在接口中JobInfoPREProcessor
-
setRealspaceBuilder
public void setRealspaceBuilder(RealspaceBuilder realspaceBuilder)
从接口复制的说明:JobInfoPREProcessor
设置RealspaceBuilder
- 指定者:
setRealspaceBuilder
在接口中JobInfoPREProcessor
-
setTileStorePreProcessor
public void setTileStorePreProcessor(TileStorePreProcessor tileStorePreProcessor)
从接口复制的说明:JobInfoPREProcessor
设置TileStorePreProcessor
- 指定者:
setTileStorePreProcessor
在接口中JobInfoPREProcessor
-
setMapStatusHashcodePreProcessor
public void setMapStatusHashcodePreProcessor(MapStatusHashcodePreProcessor mapStatusHashcodePreProcessor)
从接口复制的说明:JobInfoPREProcessor
设置MapStatusHashcodePreProcessor
-
-