月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-13 eb40365c9cffb2269fd3cbd31b050c33455bc84a
src/main/java/com/moon/server/entity/shujian/CreateLayerEntity.java
@@ -8,33 +8,16 @@
import java.util.List;
import java.util.Map;
/**
 * 数简.创建图层类
 * @author WWW
 * @date 2023-08-30
 */
@SuppressWarnings("AlibabaLowerCamelCaseVariableNaming")
public class CreateLayerEntity implements Serializable {
    private static final long serialVersionUID = 8392354493626395905L;
    /**
     * 图层信息
     */
    private Layer layer;
    /**
     * 影像目录列表
     */
    private List<ImagePathList> image_path_list;
    /**
     * 金字塔配置
     */
    private ImageOvr image_ovr;
    /**
     * 创建服务
     */
    private Integer create_service;
    public CreateLayerEntity() {
@@ -76,13 +59,7 @@
        this.create_service = create_service;
    }
    /**
     * 图层信息
     */
    public class Layer {
        /**
         * 名称
         */
        private String name;
        /**
@@ -106,7 +83,7 @@
        private String tile_rgb;
        /**
         * 图层类型。0:普通,1:DEM图层
         * 图层类型。0:普通,1:DEM图层,2:自定义
         */
        private Integer type;
@@ -144,6 +121,22 @@
         * 拉伸因子,配合 enhance_factor使用
         */
        private Double enhance_factor;
        private Integer image_type = -1;
        private Integer sat_id = -1;
        private Integer sensor_id = -1;
        //private Integer pub_status = 0;
        private String type_i = "";
        private String type_ii = "";
        private String type_iii = "";
        private String type_iv = "";
        /**
         * 边界计算方式 0外包,1, 内接, 2 精准
@@ -272,6 +265,62 @@
        public void setBoundary_cal_mode(Integer boundary_cal_mode) {
            this.boundary_cal_mode = boundary_cal_mode;
        }
        public Integer getImage_type() {
            return image_type;
        }
        public void setImage_type(Integer image_type) {
            this.image_type = image_type;
        }
        public Integer getSat_id() {
            return sat_id;
        }
        public void setSat_id(Integer sat_id) {
            this.sat_id = sat_id;
        }
        public Integer getSensor_id() {
            return sensor_id;
        }
        public void setSensor_id(Integer sensor_id) {
            this.sensor_id = sensor_id;
        }
        public String getType_i() {
            return type_i;
        }
        public void setType_i(String type_i) {
            this.type_i = type_i;
        }
        public String getType_ii() {
            return type_ii;
        }
        public void setType_ii(String type_ii) {
            this.type_ii = type_ii;
        }
        public String getType_iii() {
            return type_iii;
        }
        public void setType_iii(String type_iii) {
            this.type_iii = type_iii;
        }
        public String getType_iv() {
            return type_iv;
        }
        public void setType_iv(String type_iv) {
            this.type_iv = type_iv;
        }
    }
@@ -423,8 +472,8 @@
        private List<Process> online_process;
        public Config(Integer colorTableId ,Integer type, List<?> levels) {
            Process process = new Process(colorTableId,type, levels);
        public Config(Integer colorTableId, Integer type, List<?> levels) {
            Process process = new Process(colorTableId, type, levels);
            this.online_process = new ArrayList<>();
            this.online_process.add(process);
@@ -475,14 +524,14 @@
         * @param type   0-默认色板,1-渐变色板
         * @param levels 层级
         */
        public Process(Integer colorTableId ,Integer type, List<?> levels) {
        public Process(Integer colorTableId, Integer type, List<?> levels) {
            this();
            this.color_table_id = colorTableId;
            this.config.put("type", type);
            this.config.put("levels", levels);
            if (type > 0) {
                this. config.put("gradation", "visibility");
                this.config.put("gradation", "visibility");
            }
        }