| | |
| | | /** |
| | | * nodata设置,数组,数组大小和波段数等同 |
| | | */ |
| | | private List<String> nodata; |
| | | private List<Integer> nodata; |
| | | |
| | | /** |
| | | * 投影或者坐标:EPSG:4326 |
| | |
| | | private String trans_color; |
| | | |
| | | /** |
| | | * 输出波段,默认:"1,2,3" |
| | | * 输出波段,默认:"1,2,3",或为"3,2,1" |
| | | */ |
| | | private String tile_rgb; |
| | | |
| | |
| | | /** |
| | | * 拉伸因子,配合 enhance_factor使用 |
| | | */ |
| | | private String enhance_factor; |
| | | private Double enhance_factor; |
| | | |
| | | /** |
| | | * 边界计算方式 0外包,1, 内接, 2 精准 |
| | |
| | | private Integer boundary_cal_mode; |
| | | |
| | | public Layer() { |
| | | trans_color = "-1,-1,-1"; |
| | | end_scale = 1.0; |
| | | start_scale = 1000000000.0; |
| | | stats_type = 1; |
| | | enhance_type = 0; |
| | | enhance_factor = 0.02; |
| | | boundary_cal_mode = 0; |
| | | } |
| | | |
| | |
| | | this.name = name; |
| | | } |
| | | |
| | | public List<String> getNodata() { |
| | | public List<Integer> getNodata() { |
| | | return nodata; |
| | | } |
| | | |
| | | public void setNodata(List<String> nodata) { |
| | | public void setNodata(List<Integer> nodata) { |
| | | this.nodata = nodata; |
| | | } |
| | | |
| | |
| | | this.config = config; |
| | | } |
| | | |
| | | public String getEnhance_factor() { |
| | | public Double getEnhance_factor() { |
| | | return enhance_factor; |
| | | } |
| | | |
| | | public void setEnhance_factor(String enhance_factor) { |
| | | public void setEnhance_factor(Double enhance_factor) { |
| | | this.enhance_factor = enhance_factor; |
| | | } |
| | | |