From 676892f591be011d2e41f309d7e3ee809f412f0d Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 07 八月 2023 17:26:55 +0800 Subject: [PATCH] 1 --- ExportMap/export.html | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ExportMap/export.html b/ExportMap/export.html index ee355a9..513e498 100644 --- a/ExportMap/export.html +++ b/ExportMap/export.html @@ -10,7 +10,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="js/jquery.1.12.4.js"></script> <script> - var token = "2befc513-49b6-45e9-8c22-4909e08c7e44"; + var token = "ddcfdd6d-4b81-49d6-a2a1-733332b8092a"; $(function () { $("#token").html(token); @@ -147,6 +147,15 @@ }); } + // LasByPy + function toLasByPy() { + var data = { token: token, ids: [10481], depcode: "00", dircode: "0C", userId: 1, name: "HL_point_cloud_part_1.las", srids: [4548], zs: [0] }; + ajax("Convert/ToLasByPy", "POST", JSON.stringify(data), null, null, function (rs) { + alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result); + console.log(rs); + }); + } + // 娴嬭瘯Las function toLas() { var data = { token: token, ids: [10481], depcode: "00", dircode: "0C", userId: 1, name: "HL_point_cloud_part_1.las", srids: [4548], zs: [0] }; @@ -212,6 +221,7 @@ <input type="button" value="娴嬭瘯SG" onclick="toSG();" /> <input type="button" value="娴嬭瘯Terra" onclick="toTerra();" /> <input type="button" value="娴嬭瘯OSGB" onclick="toOsgb();" /> + <input type="button" value="LasByPy" onclick="toLasByPy();" /> <input type="button" value="娴嬭瘯Las" onclick="toLas();" /> <input type="button" value="娴嬭瘯Laz" onclick="toLaz();" /> <input type="button" value="鐢熸垚Mpt" onclick="createMpt();" /> -- Gitblit v1.9.3