| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <?xml version="1.0"?> |
| | | <configuration> |
| | | <appSettings> |
| | | <!-- 192.168.20.39,127.0.0.1 --> |
| | | <add key="lfServer" value="http://127.0.0.1:12316/"/> |
| | | <add key="exportFolder" value="D:\LF\export"/> |
| | | <add key="pgConn" value="Server=127.0.0.1;Port=5432;Database=langfang;User Id=postgres;Password=postgres;" /> |
| | | <add key="webpages:Version" value="3.0.0.0" /> |
| | | <add key="webpages:Enabled" value="false" /> |
| | | <add key="ClientValidationEnabled" value="true" /> |
| | | <add key="UnobtrusiveJavaScriptEnabled" value="true" /> |
| | | </appSettings> |
| | | <connectionStrings></connectionStrings> |
| | | <system.web> |
| | | <compilation debug="true" targetFramework="4.5.2" /> |
| | | <httpRuntime targetFramework="4.5.2" maxRequestLength="2147483647" /> |
| | | </system.web> |
| | | <system.webServer> |
| | | <security> |
| | | <requestFiltering> |
| | | <requestLimits maxAllowedContentLength="2147483647"></requestLimits> |
| | | </requestFiltering> |
| | | </security> |
| | | <handlers> |
| | | <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> |
| | | <remove name="OPTIONSVerbHandler" /> |
| | | <remove name="TRACEVerbHandler" /> |
| | | <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | </handlers> |
| | | <staticContent> |
| | | <remove fileExtension=".wsv" /> |
| | | <mimeMap fileExtension=".wsv" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".czml" /> |
| | | <mimeMap fileExtension=".czml" mimeType="application/json" /> |
| | | <remove fileExtension=".glsl" /> |
| | | <mimeMap fileExtension=".glsl" mimeType="text/plain" /> |
| | | <remove fileExtension=".b3dm" /> |
| | | <mimeMap fileExtension=".b3dm" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".pnts" /> |
| | | <mimeMap fileExtension=".pnts" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".i3dm" /> |
| | | <mimeMap fileExtension=".i3dm" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".cmpt" /> |
| | | <mimeMap fileExtension=".cmpt" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".gltf" /> |
| | | <mimeMap fileExtension=".gltf" mimeType="model/gltf+json" /> |
| | | <remove fileExtension=".bgltf" /> |
| | | <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=".geojson" /> |
| | | <mimeMap fileExtension=".geojson" mimeType="application/json" /> |
| | | <remove fileExtension=".topojson" /> |
| | | <mimeMap fileExtension=".topojson" mimeType="application/json" /> |
| | | <remove fileExtension=".wasm" /> |
| | | <mimeMap fileExtension=".wasm" mimeType="application/wasm" /> |
| | | <remove fileExtension=".woff" /> |
| | | <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> |
| | | <remove fileExtension=".woff2" /> |
| | | <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> |
| | | <remove fileExtension=".kml" /> |
| | | <mimeMap fileExtension=".kml" mimeType="application/vnd.google-earth.kml+xml" /> |
| | | <remove fileExtension=".kmz" /> |
| | | <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=".ktx" /> |
| | | <mimeMap fileExtension=".ktx" mimeType="image/ktx" /> |
| | | <remove fileExtension=".crn" /> |
| | | <mimeMap fileExtension=".crn" mimeType="image/crn" /> |
| | | <remove fileExtension=".ktx2" /> |
| | | <mimeMap fileExtension=".ktx2" mimeType="image/ktx2" /> |
| | | <remove fileExtension=".eot" /> |
| | | <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> |
| | | <remove fileExtension=".ttf" /> |
| | | <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".csv" /> |
| | | <mimeMap fileExtension=".csv" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".fly" /> |
| | | <mimeMap fileExtension=".fly" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".emp" /> |
| | | <mimeMap fileExtension=".emp" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".edp" /> |
| | | <mimeMap fileExtension=".edp" mimeType="application/octet-stream" /> |
| | | <remove fileExtension=".flv" /> |
| | | <mimeMap fileExtension=".flv" mimeType="flv-application/octet-stream" /> |
| | | <remove fileExtension=".mp4" /> |
| | | <mimeMap fileExtension=".mp4" mimeType="video/mp4" /> |
| | | <remove fileExtension=".wmv" /> |
| | | <mimeMap fileExtension=".wmv" mimeType="audio/x-ms-wmv" /> |
| | | <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" /> |
| | | </staticContent> |
| | | <httpProtocol> |
| | | <customHeaders> |
| | | <add name="Access-Control-Allow-Headers" value="*,X-Requested-With" /> |
| | | <add name="Access-Control-Allow-Origin" value="*" /> |
| | | </customHeaders> |
| | | </httpProtocol> |
| | | </system.webServer> |
| | | <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="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;"/>--> |
| | | <!--<add key="pgConn" value="Server=103.85.165.99;Port=5433;Database=langfang;User Id=postgres;Password=Postgres!_14_Lf;"/>--> |
| | | <add key="webpages:Version" value="3.0.0.0"/> |
| | | <add key="webpages:Enabled" value="false"/> |
| | | <add key="ClientValidationEnabled" value="true"/> |
| | | <add key="UnobtrusiveJavaScriptEnabled" value="true"/> |
| | | <!--Py初始化参数--> |
| | | <add key="pyInitArgs" value="cd "C:/Program Files/QGIS 3.16/apps/Python37";"C:/Program Files/QGIS 3.16/bin/qgis_process-qgis-ltr.bat""/> |
| | | </appSettings> |
| | | <connectionStrings/> |
| | | <system.web> |
| | | <compilation debug="true" targetFramework="4.5.2"/> |
| | | <!-- 会话超时时间(默认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> |
| | | <handlers> |
| | | <remove name="ExtensionlessUrlHandler-Integrated-4.0"/> |
| | | <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"/> |
| | | <mimeMap fileExtension=".wsv" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".czml"/> |
| | | <mimeMap fileExtension=".czml" mimeType="application/json"/> |
| | | <remove fileExtension=".glsl"/> |
| | | <mimeMap fileExtension=".glsl" mimeType="text/plain"/> |
| | | <remove fileExtension=".b3dm"/> |
| | | <mimeMap fileExtension=".b3dm" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".pnts"/> |
| | | <mimeMap fileExtension=".pnts" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".i3dm"/> |
| | | <mimeMap fileExtension=".i3dm" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".cmpt"/> |
| | | <mimeMap fileExtension=".cmpt" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".gltf"/> |
| | | <mimeMap fileExtension=".gltf" mimeType="model/gltf+json"/> |
| | | <remove fileExtension=".bgltf"/> |
| | | <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=".geojson"/> |
| | | <mimeMap fileExtension=".geojson" mimeType="application/json"/> |
| | | <remove fileExtension=".topojson"/> |
| | | <mimeMap fileExtension=".topojson" mimeType="application/json"/> |
| | | <remove fileExtension=".wasm"/> |
| | | <mimeMap fileExtension=".wasm" mimeType="application/wasm"/> |
| | | <remove fileExtension=".woff"/> |
| | | <mimeMap fileExtension=".woff" mimeType="application/font-woff"/> |
| | | <remove fileExtension=".woff2"/> |
| | | <mimeMap fileExtension=".woff2" mimeType="application/font-woff2"/> |
| | | <remove fileExtension=".kml"/> |
| | | <mimeMap fileExtension=".kml" mimeType="application/vnd.google-earth.kml+xml"/> |
| | | <remove fileExtension=".kmz"/> |
| | | <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=".ktx"/> |
| | | <mimeMap fileExtension=".ktx" mimeType="image/ktx"/> |
| | | <remove fileExtension=".crn"/> |
| | | <mimeMap fileExtension=".crn" mimeType="image/crn"/> |
| | | <remove fileExtension=".ktx2"/> |
| | | <mimeMap fileExtension=".ktx2" mimeType="image/ktx2"/> |
| | | <remove fileExtension=".eot"/> |
| | | <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject"/> |
| | | <remove fileExtension=".ttf"/> |
| | | <mimeMap fileExtension=".ttf" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".csv"/> |
| | | <mimeMap fileExtension=".csv" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".fly"/> |
| | | <mimeMap fileExtension=".fly" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".emp"/> |
| | | <mimeMap fileExtension=".emp" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".edp"/> |
| | | <mimeMap fileExtension=".edp" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".flv"/> |
| | | <mimeMap fileExtension=".flv" mimeType="flv-application/octet-stream"/> |
| | | <remove fileExtension=".mp4"/> |
| | | <mimeMap fileExtension=".mp4" mimeType="video/mp4"/> |
| | | <remove fileExtension=".wmv"/> |
| | | <mimeMap fileExtension=".wmv" mimeType="audio/x-ms-wmv"/> |
| | | <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00"/> |
| | | </staticContent> |
| | | <httpProtocol> |
| | | <customHeaders> |
| | | <add name="Access-Control-Allow-Headers" value="*,X-Requested-With"/> |
| | | <add name="Access-Control-Allow-Origin" value="*"/> |
| | | </customHeaders> |
| | | </httpProtocol> |
| | | </system.webServer> |
| | | <runtime> |
| | | <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" /> |
| | | <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral"/> |
| | | <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/> |
| | | </dependentAssembly> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> |
| | | <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/> |
| | | <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/> |
| | | </dependentAssembly> |
| | | </assemblyBinding> |
| | | </runtime> |