赣州市洪水风险预警系统二维版本
xiebin
2023-03-02 b39483c96ae572121d3c619c0b9d37634e682cc4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
define([], function () {
    var config = {
        inputLayer: "<p style='font-weight: bold'>叠加分析-输入要素</p><p>输入图层是叠加分析中用来与叠加底图进行叠加的图层,选择输入图层的方法有两种:" +
        "<br>1、从图层选择框中点击选择一个现有图层作为输入图层;<br>2、点击“高级选项”,在高级选项中自定义输入坐标构造要素或者从文件中导入的要素作为叠加图层。</p>",
        spaceLayer: "<p style='font-weight: bold'>叠加分析-叠加图层</p><p>叠加图层是叠加分析中与输入图层进行叠加的底图,叠加结果的属性来自于该图层。" +
        "从叠加图层选择框中点击选择一个现有图层作为叠加图层。</p>",
        inputPoint: "<p style='font-weight: bold'>叠加分析-导入要素-手动输入要素</p><p>在输入框中手动输入坐标点生成要素作为叠加图层(构造多边形前先选择坐标系)" +
        "<br>1、构造点要素:选择构造点要素,输入点的坐标,点击“+”,将当前点添加至输入图层,将所有的坐标添加完成后,点击“添加完成”按钮结束点添加。" +
        "<br>2、构造线要素:选择构造线要素,输入当前线的节点坐标,点击“+”,将当前节点添加至输入图层,将当前线所有节点添加完成后,点击“添加完成”按钮即可生成当前线。可重复添加多条线。" +
        "<br>3、构造面要素:选择构造面要素,输入当前面的节点坐标,点击“+”,将当前节点添加至输入图层,将当前面所有节点添加完成后,点击“添加完成”按钮即可生成当前面" +
        "(面的节点必须闭合,即首尾节点要相同;节点按顺时针方向即可生成面,逆时针方向会裁剪面形成洞)。可重复添加多个面。</p>",
        selectArea: "<p style='font-weight: bold'>叠加分析-输入要素-定制区域</p><p>选择对应行政区(当前视图)," +
        "将叠加分析的范围限制为所选行政区(当前视域范围),通过定制区域功能能大幅减小叠加分析所需资源量,能提高叠加分析的效率。</p>",
        selectCoordinate: "<p style='font-weight: bold'>叠加分析-导入要素-选择参考坐标</p><p style='word-break: break-all;'>点击选择手动输入坐标的坐标系。" +
        "CGCS2000包括:GCS_China_Geodetic_Coordinate_System_2000地理坐标系和CGCS2000_3_Degree_GK_CM_117E投影坐标系。<br>Xian1980包括GCS_Xian_1980地理坐标系和" +
        "Xian_1980_3_Degree_GK_CM_117E投影坐标系。<br>程序能自动识别地理坐标和投影坐标,输入投影坐标时可以不输入带号,坐标格式为:(带号)XXX,YYY。</p>",
        upload: "<p style='font-weight: bold'>叠加分析-导入要素-导入文件</p><p>使用导入文件窗体批量导入要素至地图中,并作为叠加分析的输入图层。文件导入的类型支持:" +
        "“TXT、EXCEL、KML、SHP”几种格式,其中SHP文件需要将SHP文件所包含的所有文件打包为ZIP格式压缩包后上传。</p>",
        advancedDom: "<div class=\"layui-tab layui-tab-card\" lay-filter=\"demo\">" +
        "<ul class=\"layui-tab-title\"><li class=\"layui-this\">制定区域</li><li>手动输入</li><li>导入文件</li></ul>" +
        "<div class=\"layui-tab-content\">" +
        "<div class=\"layui-tab-item layui-show\">" +
            "<div>"+
                "<div class=\"sp-made\">" +
                    "<select id=\"space_city\">" +
                        "<option selected=\"selected\">市/全省</option>" +
                        "<option>南昌市</option>" +
                        "<option>景德镇市</option>" +
                        "<option>萍乡市</option>" +
                        "<option>九江市</option>" +
                        "<option>新余市</option>" +
                        "<option>鹰潭市</option>" +
                        "<option>赣州市</option>" +
                        "<option>吉安市</option>" +
                        "<option>宜春市</option>" +
                        "<option>抚州市</option>" +
                        "<option>上饶市</option>" +
                    "</select>" +
                    "<select id=\"space_county\">" +
                        "<option selected=\"selected\">县区/全市</option>" +
                    "</select>" +
                    "<button id=\"space_current_extent\">当前视图</button>" +
                    "<span value=\"selectArea\" class=\"gt\" style='margin: 5px'>!</span>" +
                "</div>" +
            "</div>" +
        "</div>" +
        "<div class=\"layui-tab-item\">" +
            "<div class=\"space-range\">" +
                "<span value=\"inputPoint\" class=\"gt\" style='margin: 5px -15px 0 0;'>!</span>" +
                "<div class=\"space-box\">" +
                "<input id=\"input_coordinate\" type=\"text\" value=\"\" placeholder=\"输入坐标,请用英文,分隔坐标\" class=\"space-jwd-input\" />" +
                "<input id=\"addpt\" type=\"button\" value=\"+\" class=\"space-tj-btn\" title='新增坐标点' />" +
                "<input id=\"addft\" type=\"button\" value=\"添加结束\" class=\"space-wc-btn\" title='节点添加结束' />" +
                "</div>" +
                "<div class=\"form-g\" id=\"graphic_type\">" +
                "<label><input type=\"radio\" name=\"abc\" value=\"1\" checked=\"checked\"><i></i>点</label>" +
                "<label><input type=\"radio\" name=\"abc\" value=\"2\"><i></i>线</label>" +
                "<label><input type=\"radio\" name=\"abc\" value=\"3\"><i></i>面</label>" +
                "</div>" +
                "<div class=\"advanced-top-box\"><span class=\"zi\">选择参考坐标</span><span value=\"selectCoordinate\" class=\"gt\">!</span></div>" +
                "<div class=\"form-g\" id=\"coordinate\">" +
                "<label><input type=\"radio\" name=\"coor\" value=\"CGCS2000\" checked=\"checked\"><i></i>CGCS2000</label>" +
                "<label><input type=\"radio\" name=\"coor\" value=\"Xian1980\"><i></i>Xian1980</label>" +
                "</div>" +
            "</div>" +
        "</div>" +
        "<div class=\"layui-tab-item\">" +
            "<div id=\"adddata\" class=\"adddata\">" +
                "<div class=\"tab\">" +
                "    <div class=\"tabCon\"><span value=\"upload\" class=\"gt\" style='margin: 5px;'>!</span>" +
                "        <div class=\"cur\" style=\"width: 100%;height: auto;padding: 10px 0;\">" +
                            "<ul id=\"file_imp\" style=\"width:86%;height:37px;margin:0px auto;\">" +
                            "    <li style=\"width:80px;float:left;\">文件类型:</li>" +
                            "    <li id=\"txt_imp\" class=\"check\" title=\"txt\"" +
                            "        style=\"background:url('assets/images/txt.png') no-repeat center;height:30px;width:30px;margin-right:24px; float:left;padding: 2px 4px 2px 0px;\"></li>" +
                            "    <li id=\"excel_imp\" title=\"excel\"" +
                            "        style=\"background:url('assets/images/excel.png') no-repeat center;height:30px;width:30px;margin-right:24px;float:left;padding: 2px 4px 2px 0px;\"></li>" +
                            "    <li id=\"kml_imp\" title=\"kml\"" +
                            "        style=\"background:url('assets/images/kml.png') no-repeat center;height:30px;width:30px;margin-right:24px;float:left;padding: 2px 4px 2px 0px;\"></li>" +
                            "    <li id=\"shp_imp\" title=\"shp\"" +
                            "        style=\"background:url('assets/images/shp.png') no-repeat center;height:30px;width:30px;float:left;padding: 2px 4px 2px 0px;\"></li>" +
                            "</ul>" +
                            "<form class=\"upload ups\">" +
                            "    <div id=\"dis_imp\" style=\"opacity: 10;position: inherit;padding: 0px;height: 113px;width: 100%;\">" +
                            "        <ul style=\"width:86%;height:20px;margin:0px auto;margin-top:10px\">" +
                                        "<li style=\"width:80px;float:left;\">几何类型:</li>" +
                                        "<li style=\"width:80px;float:left;\"><input name=\"type\" type=\"radio\" value=\"dian\"/>点</li>" +
                                        "<li style=\"width:80px;float:left;\"><input name=\"type\" type=\"radio\" value=\"xian\"/>线</li>" +
                                        "<li style=\"width:30px;float:left;\"><input name=\"type\" type=\"radio\" value=\"mian\"/>面</li>" +
                            "        </ul>" +
                            "        <ul id=\"coordinateSystems_imp\" style=\"width:86%;height:20px;margin:0px auto;margin-top:10px\">" +
                                        "<li style=\"width:80px;float:left;\">空间参考:</li>" +
                                        "<li style=\"width:80px;float:left;\"><input name=\"coordinateSystems\" value=\"CGCS2000\" type=\"radio\"/>CGCS2000</li>" +
                                        "<li style=\"width:80px;float:left;\"><input name=\"coordinateSystems\" value=\"WGS84\" type=\"radio\"/>WGS84</li>" +
                                        "<li style=\"float:left;\"><input name=\"coordinateSystems\" value=\"西安80\" type=\"radio\"/>西安80</li>" +
                            "        </ul>" +
                            "        <ul id=\"projectMethod_imp\" style=\"width:86%;height:20px;margin:0px auto;margin-top:10px\">" +
                                        "<li style=\"width:80px;float:left;\">投影方式:</li>" +
                                        "<li style=\"width:80px;float:left;\"><input name=\"projectMethod\" value=\"地理坐标\" type=\"radio\"/>地理坐标</li>" +
                                        "<li style=\"width:80px;float:left;\"><input name=\"projectMethod\" value=\"平面坐标\" type=\"radio\"/>平面坐标</li>" +
                            "        </ul>" +
                            "        <ul style=\"width:86%;height:30px;margin:0px auto;margin-top:10px;\">" +
                                        "<li style=\"float:left;line-height:30px\"><input type=\"file\" name=\"myFile\" style=\"width:202px;\"/></li>" +
                            "        </ul>" +
                            "    </div>" +
                            "</form>" +
                            "<form id=\"upload_kml_imp\" class=\"ups\" style=\"display:none;\">" +
                            "    <ul style=\"width:86%;height:30px;margin:0px auto;margin-top: 25px;\">" +
                            "        <li style=\"float:left;line-height:30px\"><input name=\"myFile\" style=\"width:202px;\" type=\"file\"/></li>" +
                            "    </ul>" +
                            "</form>" +
                            "<form id=\"upload_shp_imp\" class=\"ups\" style=\"display:none;\" enctype=\"multipart/form-data\">" +
                            "    <ul style=\"width:86%;height:30px;margin:0px auto;margin-top: 25px;\">" +
                            "        <li style=\"float:left;line-height:30px\"><input name=\"myFile\" style=\"width:202px;\" type=\"file\"/></li>" +
                            "    </ul>" +
                            "</form>" +
                            "<input id=\"okBtn\" type=\"button\" value=\"导入\"/>" +
        "</div></div></div>" +
            "</div></div>" +
        "</div></div>"
    };
    return config;
});