解决WorldWind 无法正确浏览地图切片的问题
摘要:开发环境:WorldWind.net 1.4.1将影像数据切图,但只切割8-11层,0-7层没有切图。0-7层是行政界,因此不切图。配置文件图层数为12层。格式为png。运行WW,无法显示影像图片。跟踪调试WW,发现在QuadTile.cs的第318行代码:if (newTexture == null){ // At least one texture missing, wait for download WaitingForDownload = true;}这里如果没有发现影像纹理数据就将WaitingForDownload设成true,程序则一直等待数据下载。而不会跳过该级别的瓦片文件。解
阅读全文
posted @
2011-03-27 15:35
janehlp
阅读(1131)
推荐(1)
成功解决 WorldWind1.4.1 无法浏览到自已发布的影像数据
摘要:PluginSDK项目中ImageStore.cs文件,从第236行代码开始看:-------------------------------------------------------------//List of cache structures to try, in order of preference string[] patternArray = { @"{0}\{1:D1}\{1:D1}_{2:D1}.{3}", @"{0}\{1:D4}\{1:D4}_{2:D4}.{3}" }; foreach(string relativePatt
阅读全文
posted @
2011-03-14 17:19
janehlp
阅读(1760)
推荐(0)