管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2024-09-07 8d7a67ab1d635cb954337d8a767878ae526dd3dc
ExportMap/Web.config
@@ -3,14 +3,35 @@
  <appSettings>
    <!-- 廊坊服务 -->
    <add key="lfServer" value="http://127.0.0.1:12316/server"/>
    <!-- 地形最大级别 -->
    <add key="terrainMaxLevel" value="16"/>
    <!-- 本机IP -->
    <add key="localIP" value="192.168.20.106"/>
    <!-- 临时目录 -->
    <add key="tempFolder" value="D:\LF\temp"/>
    <!-- 上传目录 -->
    <add key="uploadFolder" value="D:\LF\upload"/>
    <!-- 下载目录 -->
    <add key="downloadFolder" value="D:\LF\download"/>
    <!-- Python目录 -->
    <add key="pythonFolder" value="C:\Python310"/>
    <!-- 廊坊数据目录 -->
    <add key="lfData" value="E:\data\99.public\soft\LFData"/>
    <!-- SG的DB库 -->
    <add key="sgDB" value="E:\soft\SGConfig\catalog.db"/>
    <!--<add key="sgDB" value="E:\soft\SGConfig\catalog.db"/>-->
    <add key="sgDB" value="D:\LF\SG\catalog.db"/>
    <!-- cesium-terrain-builder路径 -->
    <add key="ctbPath" value="E:\WebSite\Cesium\Tool\ctb-0.41" />
    <!-- CTB-JL版本 -->
    <add key="ctbJL" value="E:\WebSite\Cesium\Tool\ctb_jl"/>
    <!-- 3dtiles路径 -->
    <add key="d3tilesPath" value="E:\WebSite\Cesium\Tool\3dtiles" />
    <!-- gocesiumtiler路径 -->
    <add key="tilerPath" value="E:\WebSite\Cesium\Tool\gocesiumtiler-1.2.3" />
    <!-- GDAL路径 -->
    <add key="gdalPath" value="E:\terrait\TianJin\Zip\release-1928-x64-dev\release-1928-x64\bin" />
    <!-- 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;"/>-->
@@ -19,16 +40,23 @@
    <add key="webpages:Enabled" value="false"/>
    <add key="ClientValidationEnabled" value="true"/>
    <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
    <!--Py初始化参数-->
    <add key="pyInitArgs" value="cd &quot;C:/Program Files/QGIS 3.16/apps/Python37&quot;;&quot;C:/Program Files/QGIS 3.16/bin/qgis_process-qgis-ltr.bat&quot;"/>
  </appSettings>
  <connectionStrings/>
  <system.web>
    <compilation debug="true" targetFramework="4.5.2"/>
    <httpRuntime maxRequestLength="2147483647"/>
    <!-- 会话超时时间(默认20,分钟) -->
    <sessionState mode="InProc" timeout="10080"></sessionState>
    <!-- maxRequestLength是上传文件时最大size(单位是KB,默认值是4096kb),executionTimeout是请求session(单位是秒,默认值是110s) -->
    <httpRuntime maxRequestLength="2147483647" executionTimeout="8640000"/>
    <pages controlRenderingCompatibilityVersion="4.0"/>
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <security>
      <requestFiltering>
        <!-- 1GB = 1073741824 -->
        <requestLimits maxAllowedContentLength="2147483647"/>
      </requestFiltering>
    </security>
@@ -37,6 +65,7 @@
      <remove name="OPTIONSVerbHandler"/>
      <remove name="TRACEVerbHandler"/>
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
      <!--<add name="HtmlFileHandler" path="*.json,*.terrain" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>-->
    </handlers>
    <staticContent>
      <remove fileExtension=".wsv"/>
@@ -59,8 +88,8 @@
      <mimeMap fileExtension=".bgltf" mimeType="model/gltf-binary"/>
      <remove fileExtension=".glb"/>
      <mimeMap fileExtension=".glb" mimeType="model/gltf-binary"/>
      <remove fileExtension=".json"/>
      <mimeMap fileExtension=".json" mimeType="application/json"/>
      <!--<remove fileExtension=".json"/>
      <mimeMap fileExtension=".json" mimeType="application/json"/>-->
      <remove fileExtension=".geojson"/>
      <mimeMap fileExtension=".geojson" mimeType="application/json"/>
      <remove fileExtension=".topojson"/>
@@ -77,8 +106,8 @@
      <mimeMap fileExtension=".kmz" mimeType="application/vnd.google-earth.kmz"/>
      <remove fileExtension=".svg"/>
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml"/>
      <remove fileExtension=".terrain"/>
      <mimeMap fileExtension=".terrain" mimeType="application/vnd.quantized-mesh"/>
      <!--<remove fileExtension=".terrain"/>
      <mimeMap fileExtension=".terrain" mimeType="application/vnd.quantized-mesh"/>-->
      <remove fileExtension=".ktx"/>
      <mimeMap fileExtension=".ktx" mimeType="image/ktx"/>
      <remove fileExtension=".crn"/>