后端使用 https://github.com/melowntech, 主要是服务 网页和unity3d都能用
上传使用 fluentftp,断点续传和校验文件正确性都有。
切割tif影像和高程文件:generatevrtwo
切割倾斜摄影文件:slpk2vts
使用asp.net core5 主要是比 asp.net core3 多了 SocketsHttpHandler。 上传100G的大文件等待再长时间,连接都不会断。
1 2 3 4 5 6 7 8 9 10 11 12 |
var handler = new SocketsHttpHandler { PooledConnectionIdleTimeout = Timeout.InfiniteTimeSpan, KeepAlivePingDelay = TimeSpan.FromSeconds(60), KeepAlivePingTimeout = TimeSpan.FromSeconds(30), EnableMultipleHttp2Connections = true }; var channel = GrpcChannel.ForAddress($"http://{IP}:5001", new GrpcChannelOptions { HttpHandler = handler }); var client = new BcMap.BcMapClient(channel); |
转载请注明:veyvin » asp.net core 实现GIS服务