com.supermap.services.components.impl

类 DefaultJobInfoPREProcessor

  • java.lang.Object
    • com.supermap.services.components.impl.DefaultJobInfoPREProcessor
    • 构造器详细资料

      • DefaultJobInfoPREProcessor

        public DefaultJobInfoPREProcessor()
        

        构造函数。

      • DefaultJobInfoPREProcessor

        public DefaultJobInfoPREProcessor(MapBuilder mapBuilder,
                                  RealspaceBuilder realspaceBuilder,
                                  TileStorePreProcessor tileStorePreProcessor,
                                  MapStatusHashcodePreProcessor hashcodeProProcessor)
        

        构造函数。

        参数:
        mapBuilder -
        realspaceBuilder -
        tileStorePreProcessor -
        hashcodeProProcessor -
    • 方法详细资料

      • 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 -
        返回:
      • 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)