¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.moon.server.entity.shujian; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * æ°ç®.å建å¾å±ç±» |
| | | * @author WWW |
| | | * @date 2023-08-30 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | public class CreateLayerEntity implements Serializable { |
| | | private static final long serialVersionUID = 8392354493626395905L; |
| | | |
| | | /** |
| | | * å¾å±ä¿¡æ¯ |
| | | */ |
| | | private Layer layer; |
| | | |
| | | /** |
| | | * å½±åç®å½å表 |
| | | */ |
| | | private ImagePathList[] image_path_list; |
| | | |
| | | /** |
| | | * å½±åå表 |
| | | */ |
| | | private ImageList[] image_list; |
| | | |
| | | /** |
| | | * éåå¡é
ç½® |
| | | */ |
| | | private ImageOvr image_ovr; |
| | | |
| | | /** |
| | | * å建æå¡ |
| | | */ |
| | | private Integer create_service; |
| | | |
| | | public CreateLayerEntity() { |
| | | layer = new Layer(); |
| | | image_ovr = new ImageOvr(); |
| | | } |
| | | |
| | | public CreateLayerEntity(int pathCount, int imageCount) { |
| | | this(); |
| | | image_list = new ImageList[imageCount]; |
| | | image_path_list = new ImagePathList[pathCount]; |
| | | } |
| | | |
| | | public Layer getLayer() { |
| | | return layer; |
| | | } |
| | | |
| | | public void setLayer(Layer layer) { |
| | | this.layer = layer; |
| | | } |
| | | |
| | | public ImagePathList[] getImage_path_list() { |
| | | return image_path_list; |
| | | } |
| | | |
| | | public void setImage_path_list(ImagePathList[] image_path_list) { |
| | | this.image_path_list = image_path_list; |
| | | } |
| | | |
| | | public ImageList[] getImage_list() { |
| | | return image_list; |
| | | } |
| | | |
| | | public void setImage_list(ImageList[] image_list) { |
| | | this.image_list = image_list; |
| | | } |
| | | |
| | | public ImageOvr getImage_ovr() { |
| | | return image_ovr; |
| | | } |
| | | |
| | | public void setImage_ovr(ImageOvr image_ovr) { |
| | | this.image_ovr = image_ovr; |
| | | } |
| | | |
| | | public Integer getCreate_service() { |
| | | return create_service; |
| | | } |
| | | |
| | | public void setCreate_service(Integer create_service) { |
| | | this.create_service = create_service; |
| | | } |
| | | |
| | | /** |
| | | * å¾å±ä¿¡æ¯ |
| | | */ |
| | | public class Layer { |
| | | /** |
| | | * åç§° |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * nodataè®¾ç½®ï¼æ°ç»ï¼æ°ç»å¤§å°å波段æ°çå |
| | | */ |
| | | private String[] nodata; |
| | | |
| | | /** |
| | | * æå½±æè
åæ ï¼EPSG:4326 |
| | | */ |
| | | private String projection; |
| | | |
| | | /** |
| | | * éæè²ï¼é»è®¤ï¼"-1,-1,-1" |
| | | */ |
| | | private String trans_color; |
| | | |
| | | /** |
| | | * è¾åºæ³¢æ®µï¼é»è®¤ï¼"1,2,3" |
| | | */ |
| | | private String tile_rgb; |
| | | |
| | | /** |
| | | * å¾å±ç±»åã0ï¼æ®éï¼1ï¼DEMå¾å± |
| | | */ |
| | | private Integer type; |
| | | |
| | | /** |
| | | * æä¼¸æ¹å¼ 0ï¼ä¸æä¼¸ï¼ 1 çº¿æ§æä¼¸ï¼ 2 ç´æ¹å¾åè¡¡ï¼ 3 æ åå·®æä¼¸ï¼ 4 伽马æä¼¸ |
| | | */ |
| | | private Integer enhance_type; |
| | | |
| | | /** |
| | | * ç´æ¹å¾ç»è®¡æ¹å¼ï¼0ï¼æ®éï¼1ï¼ç²¾ç» |
| | | */ |
| | | private Integer stats_type; |
| | | |
| | | /** |
| | | * å¾å±èµ·å§æ¯ä¾å°ºï¼1000000000 |
| | | */ |
| | | private Double start_scale; |
| | | |
| | | /** |
| | | * å¾å±ç»ææ¯ä¾å°ºï¼1 |
| | | */ |
| | | private Double end_scale; |
| | | |
| | | /** |
| | | * åå¸ä¿¡æ¯ï¼é»è®¤ä¸º"{}" |
| | | */ |
| | | private Object pub_config; |
| | | |
| | | /** |
| | | * å¾å±åå½±åç¸å
³çé
ç½®ï¼é»è®¤"{}"ï¼é
ç½®å
容å
æ¬ä½ä¸éäºï¼å¤çè¿ç¨ãè¾¹çæ§å¶æ¹æ³ |
| | | */ |
| | | private Object config; |
| | | |
| | | /** |
| | | * æä¼¸å åï¼é
å enhance_factorä½¿ç¨ |
| | | */ |
| | | private String enhance_factor; |
| | | |
| | | /** |
| | | * è¾¹çè®¡ç®æ¹å¼ 0å¤å
ï¼1ï¼ å
æ¥ï¼ 2 ç²¾å |
| | | */ |
| | | private Integer boundary_cal_mode; |
| | | |
| | | public Layer() { |
| | | config = new Object(); |
| | | pub_config = new Object(); |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String[] getNodata() { |
| | | return nodata; |
| | | } |
| | | |
| | | public void setNodata(String[] nodata) { |
| | | this.nodata = nodata; |
| | | } |
| | | |
| | | public String getProjection() { |
| | | return projection; |
| | | } |
| | | |
| | | public void setProjection(String projection) { |
| | | this.projection = projection; |
| | | } |
| | | |
| | | public String getTrans_color() { |
| | | return trans_color; |
| | | } |
| | | |
| | | public void setTrans_color(String trans_color) { |
| | | this.trans_color = trans_color; |
| | | } |
| | | |
| | | public String getTile_rgb() { |
| | | return tile_rgb; |
| | | } |
| | | |
| | | public void setTile_rgb(String tile_rgb) { |
| | | this.tile_rgb = tile_rgb; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public Integer getEnhance_type() { |
| | | return enhance_type; |
| | | } |
| | | |
| | | public void setEnhance_type(Integer enhance_type) { |
| | | this.enhance_type = enhance_type; |
| | | } |
| | | |
| | | public Integer getStats_type() { |
| | | return stats_type; |
| | | } |
| | | |
| | | public void setStats_type(Integer stats_type) { |
| | | this.stats_type = stats_type; |
| | | } |
| | | |
| | | public Double getStart_scale() { |
| | | return start_scale; |
| | | } |
| | | |
| | | public void setStart_scale(Double start_scale) { |
| | | this.start_scale = start_scale; |
| | | } |
| | | |
| | | public Double getEnd_scale() { |
| | | return end_scale; |
| | | } |
| | | |
| | | public void setEnd_scale(Double end_scale) { |
| | | this.end_scale = end_scale; |
| | | } |
| | | |
| | | public Object getPub_config() { |
| | | return pub_config; |
| | | } |
| | | |
| | | public void setPub_config(Object pub_config) { |
| | | this.pub_config = pub_config; |
| | | } |
| | | |
| | | public Object getConfig() { |
| | | return config; |
| | | } |
| | | |
| | | public void setConfig(Object config) { |
| | | this.config = config; |
| | | } |
| | | |
| | | public String getEnhance_factor() { |
| | | return enhance_factor; |
| | | } |
| | | |
| | | public void setEnhance_factor(String enhance_factor) { |
| | | this.enhance_factor = enhance_factor; |
| | | } |
| | | |
| | | public Integer getBoundary_cal_mode() { |
| | | return boundary_cal_mode; |
| | | } |
| | | |
| | | public void setBoundary_cal_mode(Integer boundary_cal_mode) { |
| | | this.boundary_cal_mode = boundary_cal_mode; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * å½±åç®å½å表 |
| | | */ |
| | | public class ImagePathList { |
| | | /** |
| | | * æ°æ®æºï¼å½ååªè½ä¸ºLocal |
| | | */ |
| | | private String datasource; |
| | | |
| | | /** |
| | | * ç®å½ |
| | | */ |
| | | private String path; |
| | | |
| | | /** |
| | | * 0ï¼ä¸é彿·éï¼1ï¼é彿£ç´¢ |
| | | */ |
| | | private Integer recursion; |
| | | |
| | | /** |
| | | * å½±åæ¶é´ |
| | | */ |
| | | private String image_time; |
| | | |
| | | /** |
| | | * è¿æ»¤å¨ç»å表ï¼["a.tif|b.tif"] |
| | | */ |
| | | private String[] filter; |
| | | |
| | | /** |
| | | * 屿§è¿æ»¤ |
| | | */ |
| | | private Object attr_filter; |
| | | |
| | | public ImagePathList() { |
| | | datasource = "Local"; |
| | | recursion = 1; |
| | | image_time = null; |
| | | } |
| | | |
| | | public String getDatasource() { |
| | | return datasource; |
| | | } |
| | | |
| | | public void setDatasource(String datasource) { |
| | | this.datasource = datasource; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public Integer getRecursion() { |
| | | return recursion; |
| | | } |
| | | |
| | | public void setRecursion(Integer recursion) { |
| | | this.recursion = recursion; |
| | | } |
| | | |
| | | public String getImage_time() { |
| | | return image_time; |
| | | } |
| | | |
| | | public void setImage_time(String image_time) { |
| | | this.image_time = image_time; |
| | | } |
| | | |
| | | public String[] getFilter() { |
| | | return filter; |
| | | } |
| | | |
| | | public void setFilter(String[] filter) { |
| | | this.filter = filter; |
| | | } |
| | | |
| | | public Object getAttr_filter() { |
| | | return attr_filter; |
| | | } |
| | | |
| | | public void setAttr_filter(Object attr_filter) { |
| | | this.attr_filter = attr_filter; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * å½±åå表 |
| | | */ |
| | | public class ImageList { |
| | | /** |
| | | * æ°æ®æºï¼å½ååªè½ä¸ºLocal |
| | | */ |
| | | private String datasource; |
| | | |
| | | /** |
| | | * å½±åç®å½ |
| | | */ |
| | | private String path; |
| | | |
| | | /** |
| | | * å½±åæ¶é´ |
| | | */ |
| | | private String image_time; |
| | | |
| | | /** |
| | | * 屿§è¿æ»¤ |
| | | */ |
| | | private Object attr_filter; |
| | | |
| | | public ImageList() { |
| | | } |
| | | |
| | | public String getDatasource() { |
| | | return datasource; |
| | | } |
| | | |
| | | public void setDatasource(String datasource) { |
| | | this.datasource = datasource; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public String getImage_time() { |
| | | return image_time; |
| | | } |
| | | |
| | | public void setImage_time(String image_time) { |
| | | this.image_time = image_time; |
| | | } |
| | | |
| | | public Object getAttr_filter() { |
| | | return attr_filter; |
| | | } |
| | | |
| | | public void setAttr_filter(Object attr_filter) { |
| | | this.attr_filter = attr_filter; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * éåå¡é
ç½® |
| | | */ |
| | | public class ImageOvr { |
| | | /** |
| | | * 0ï¼éä¸çæååå¨éåå¡ï¼1ï¼ä¸æ°æ®å¨åä¸ç®å½ |
| | | */ |
| | | private Integer same_path; |
| | | |
| | | /** |
| | | * 0ï¼æéåå¡å¿½ç¥ï¼1ï¼å¼ºå¶å é¤éåå¡éæ°å建 |
| | | */ |
| | | private Integer force_del; |
| | | |
| | | /** |
| | | * éæ ·ç®æ³ï¼0ï¼æè¿é»ï¼1ï¼åçº¿æ§æå¼ï¼2ï¼ä¸æ¬¡å·ç§¯ï¼3ï¼ä¸æ¬¡æ ·æ¡æå¼ |
| | | */ |
| | | private Integer sample_type; |
| | | |
| | | public ImageOvr() { |
| | | same_path = 1; |
| | | force_del = 0; |
| | | sample_type = 0; |
| | | } |
| | | |
| | | public Integer getSame_path() { |
| | | return same_path; |
| | | } |
| | | |
| | | public void setSame_path(Integer same_path) { |
| | | this.same_path = same_path; |
| | | } |
| | | |
| | | public Integer getForce_del() { |
| | | return force_del; |
| | | } |
| | | |
| | | public void setForce_del(Integer force_del) { |
| | | this.force_del = force_del; |
| | | } |
| | | |
| | | public Integer getSample_type() { |
| | | return sample_type; |
| | | } |
| | | |
| | | public void setSample_type(Integer sample_type) { |
| | | this.sample_type = sample_type; |
| | | } |
| | | } |
| | | } |