| | |
| | | <Content Include="Sources\xyz.py" /> |
| | | <Content Include="Sources\说明.txt" /> |
| | | <Content Include="TerraBuilder\tb.js" /> |
| | | <Content Include="TerraBuilder\template.js" /> |
| | | <Content Include="UE.html" /> |
| | | <Content Include="up.html" /> |
| | | <Content Include="Web.config"> |
| | |
| | | project.CreateResolutionPyramids(); |
| | | //project.Settings.MPTFileName = "D:\\LF\\data\\mpt\\0A.MPT"; |
| | | |
| | | //project.Save(); |
| | | project.Save(); |
| | | project.CreateMPT(); |
| | | |
| | | TerraBuilder.ExitWhenFinished(); |
| | | } catch (ex) { |
| | | alert(ex.message); |
| | | //alert(ex.message); |
| | | } finally { |
| | | TerraBuilder.ExitWhenFinished(); |
| | | } |
| | |
| | | <add key="d3tilesPath" value="E:\WebSite\Cesium\Tool\3dtiles" /> |
| | | <!-- gocesiumtiler路径 --> |
| | | <add key="tilerPath" value="E:\WebSite\Cesium\Tool\gocesiumtiler-1.2.3" /> |
| | | <!-- Mpt路径 --> |
| | | <add key="mpt" value="D:\LF\data\mpt\tb.mpt" /> |
| | | <!-- PG连接 --> |
| | | <add key="pgConn" value="Server=127.0.0.1;Port=5433;Database=langfang;User Id=postgres;Password=postgres;"/> |
| | | <!--<add key="pgConn" value="Server=192.168.20.205;Port=5433;Database=langfang;User Id=postgres;Password=Postgres!_14_Lf;"/>--> |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// Mpt路径 |
| | | /// </summary> |
| | | public static string MptPath |
| | | { |
| | | get |
| | | { |
| | | return Tools.GetSetting("mpt"); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 创建MPT |
| | | /// </summary> |
| | | public static string CreateMpt(string path, ref string err) |