| | |
| | | private Integer create_service; |
| | | |
| | | public CreateLayerEntity() { |
| | | create_service = 0; |
| | | layer = new Layer(); |
| | | image_ovr = new ImageOvr(); |
| | | image_path_list = new ArrayList<>(); |
| | | this.create_service = 0; |
| | | this.layer = new Layer(); |
| | | this.image_ovr = new ImageOvr(); |
| | | this.image_path_list = new ArrayList<>(); |
| | | } |
| | | |
| | | public Layer getLayer() { |
| | |
| | | private Integer boundary_cal_mode; |
| | | |
| | | public Layer() { |
| | | projection = "ESRI:104903"; |
| | | trans_color = "-1,-1,-1"; |
| | | tile_rgb = "1,2,3"; |
| | | end_scale = 1.0; |
| | | start_scale = 1048576000.0; |
| | | stats_type = 1; |
| | | enhance_type = 0; |
| | | enhance_factor = null; |
| | | boundary_cal_mode = 0; |
| | | this.projection = "ESRI:104903"; |
| | | this.trans_color = "-1,-1,-1"; |
| | | this.tile_rgb = "1,2,3"; |
| | | this.end_scale = 1.0; |
| | | this.start_scale = 1048576000.0; |
| | | this.stats_type = 1; |
| | | this.enhance_type = 0; |
| | | this.enhance_factor = null; |
| | | this.boundary_cal_mode = 0; |
| | | } |
| | | |
| | | public String getName() { |
| | |
| | | private Object attr_filter; |
| | | |
| | | public ImagePathList() { |
| | | datasource = "Local"; |
| | | recursion = 0; |
| | | filter = new ArrayList<>(); |
| | | this.datasource = "Local"; |
| | | this.recursion = 0; |
| | | this.filter = new ArrayList<>(); |
| | | } |
| | | |
| | | public String getDatasource() { |
| | |
| | | private Integer sample_type; |
| | | |
| | | public ImageOvr() { |
| | | same_path = 1; |
| | | force_del = 0; |
| | | sample_type = 0; |
| | | this.same_path = 1; |
| | | this.force_del = 0; |
| | | this.sample_type = 0; |
| | | } |
| | | |
| | | public Integer getSame_path() { |
| | |
| | | * 颜色表配置 |
| | | */ |
| | | public class Config { |
| | | private Process process; |
| | | // private Process process |
| | | private Integer optm; |
| | | |
| | | public Config(Integer type, List<?> levels) { |
| | | process = new Process(type, levels); |
| | | private List<Process> online_process; |
| | | |
| | | 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); |
| | | |
| | | this.optm = 1; |
| | | } |
| | | |
| | | public Process getProcess() { |
| | | return process; |
| | | public Integer getOptm() { |
| | | return optm; |
| | | } |
| | | |
| | | public void setProcess(Process process) { |
| | | this.process = process; |
| | | public void setOptm(Integer optm) { |
| | | this.optm = optm; |
| | | } |
| | | |
| | | public List<Process> getOnline_process() { |
| | | return online_process; |
| | | } |
| | | |
| | | public void setOnline_process(List<Process> online_process) { |
| | | this.online_process = online_process; |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | private String name; |
| | | |
| | | private Integer color_table_id; |
| | | |
| | | private Map<String, Object> config; |
| | | |
| | | public Process() { |
| | | uuid = StringHelper.getGuid(); |
| | | name = "color_table"; |
| | | this.uuid = StringHelper.getGuid(); |
| | | this.name = "color_table"; |
| | | this.color_table_id = 0; |
| | | |
| | | config = new HashMap<>(); |
| | | config.put("default", new Default()); |
| | | this.config = new HashMap<>(); |
| | | this.config.put("default", new Default()); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param type 0-默认色板,1-渐变色板 |
| | | * @param levels 层级 |
| | | */ |
| | | public Process(Integer type, List<?> levels) { |
| | | public Process(Integer colorTableId ,Integer type, List<?> levels) { |
| | | this(); |
| | | config.put("type", type); |
| | | config.put("levels", levels); |
| | | this.color_table_id = colorTableId; |
| | | |
| | | this.config.put("type", type); |
| | | this.config.put("levels", levels); |
| | | if (type > 0) { |
| | | this. config.put("gradation", "visibility"); |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | this.name = name; |
| | | } |
| | | |
| | | public Integer getColor_table_id() { |
| | | return color_table_id; |
| | | } |
| | | |
| | | public void setColor_table_id(Integer color_table_id) { |
| | | this.color_table_id = color_table_id; |
| | | } |
| | | |
| | | public Map<String, Object> getConfig() { |
| | | return config; |
| | | } |
| | |
| | | private Short b; |
| | | |
| | | public Default() { |
| | | r = -1; |
| | | b = -1; |
| | | g = -1; |
| | | this.r = -1; |
| | | this.b = -1; |
| | | this.g = -1; |
| | | } |
| | | |
| | | public Short getR() { |