How to configure SRTM elevations in WorldWind WMS
In this thread I will try to explain how to serve SRTM elevations using NASA WorldWind WMS.
! Important note !
Current WW WMS implementation does not use pyramid of tiles (however work is in progress), we use SRTM source tiles to fulfill requests.
NASA WorldWind WMS is able to serve both imagery and elevations from one instance of the WMS. Supported elevations are: SRTM30 (30arc-sec, ~900meters), and SRTM3 (3arc-sec, ~90m), USGS NED (~30meters) and DTED (see this thread http://forum.worldwindcentral.com/sh...ad.php?t=21408 for DTED)
It is possible to configure each elevation layer individually, however I would recommend to create a wrapper elevation layer which will select a correct elevation layer and if a chosen layer (for example SRTM3 or NED) has voids, will fill voids with data from lower resolution layer (like SRTM30).
This is the example of WEB-INF/config.xml that defines a "merged" elevation layer "EarthElevation" (gov.nasa.worldwind.servers.wms.generato rs.CompoundElevationsGenerator)
and SRTM30, SRTM3, and NED layers. If you do not a
<mapsource name="EarthElevation" title="EarthElevation">
<description keywords="EarthElevation">EarthElevation</description>
<root-dir>/wwdata/elevations</root-dir>
<class>gov.nasa.worldwind.servers.wms.generators.CompoundElevationsGenerator</class>
<property name="gov.nasa.worldwind.avkey.MissingDataFlag" value="-9999" />
<property name="gov.nasa.worldwind.avkey.ElevationMinKey" value="-11000" />
<property name="gov.nasa.worldwind.avkey.ElevationMaxKey" value="8850" /> <mapsource name="srtm30" title="SRTM30 Plus">
<description keywords="SRTM30 Elevation">SRTM30 Elevation Data</description>
<root-dir>/wwdata/elevations/srtm30</root-dir>
<class>gov.nasa.worldwind.servers.wms.generators.ElevationSrtm30</class>
<property name="gov.nasa.worldwind.avkey.MissingDataFlag" value="-9999" />
<scale-hint min="0.012" max="0.008333330" />
</mapsource> <mapsource name="srtm3" title="SRTM3 V4.1">
<description keywords="SRTM3 V4.1 (Finished and filled)">SRTM3 V4.1 (Finished and Filled)</description>
<root-dir>/wwdata/elevations/SRTM3_V4.1</root-dir>
<class>gov.nasa.worldwind.servers.wms.generators.ElevationSrtm3V4</class>
<property name="debug" value="ON" />
<property name="filenaming_format" value="%s%ssrtm_%02d_%02d.tif" />
<property name="gov.nasa.worldwind.avkey.MissingDataFlag" value="-9999" />
<property name="gov.nasa.worldwind.avkey.LastUpdateKey" value="2009-04-23 10:55:00" />
<scale-hint min="0.009" max="0.00083333" />
</mapsource> <mapsource name="NED" title="NED">
<description keywords="USGS NED Elevation">USGS NED</description>
<root-dir>/wwdata/elevations/ned</root-dir>
<class>gov.nasa.worldwind.servers.wms.generators.ElevationUSGSNED</class>
<property name="gov.nasa.worldwind.avkey.MissingDataFlag" value="-9999" />
<scale-hint min="0.004" max="0.00027777" />
</mapsource> </mapsource>
To get a Capabilities document from WMS that includes only imagery layers use this url: http://<yourWmsAddress>:<port>/wms?request=GetCapabilities
To get a Capabilities document from WMS that includes only elevation layers use this url: http://<yourWmsAddress>:<port>/elev?request=GetCapabilities
Where to get SRTM30?
http://worldwind28.arc.nasa.gov/public/WorldWindWMS/ (You will need to download one .7z file OR all four split 7z.00* archives, merge and extract; Windows version of 7z will do it, non windows users of 7z, use "cat" for merging)
Where to get SRTM3?
There are many versions of SRTM3.
I got them from here ftp://srtm.csi.cgiar.org/SRTM_v41/SRTM_Data_GeoTIFF/ (可用,亲测)
(there where some tiles broken but owners claim they have fixed them already).
原文链接:How to configure SRTM elevations in WorldWind WMS
How to configure SRTM elevations in WorldWind WMS的更多相关文章
- World Wind Java开发之十三——加载Geoserver发布的WMS服务(转)
这篇是转载的平常心博客,原地址见:http://www.v5cn.cn/?p=171 1.WMSTiledImageLayer类说明 一个WMSTiledImageLayer类对象只能对应一个WMS发 ...
- 国产深度学习框架mindspore-1.3.0 gpu版本无法进行源码编译
官网地址: https://www.mindspore.cn/install 所有依赖环境 进行sudo make install 安装,最终报错: 错误记录信息: cat /tmp/mind ...
- WorldWind源码剖析系列:影像存储类ImageStore、Nlt影像存储类NltImageStore和WMS影像存储类WmsImageStore
影像存储类ImageStore 影像存储类ImageStore提供了计算本地影像路径和远程影像影像URL访问的各种接口,是WmsImageStore类和NltImageStore类的基类.当划分完层次 ...
- WorldWind源码剖析系列:下载请求类DownloadRequest
下载请求类DownloadRequest是各种下载请求的抽象基类,先派生出网络下载请求类WebDownloadRequest,再派生出地理空间下载请求类GeoSpatialDownloadReques ...
- [转]World Wind Java开发之四——搭建本地WMS服务器
在提供地理信息系统客户端时,NASA还为用户提供了开源的WMS Server 服务器应用:World Wind WMS Server.利用这个应用,我们可以架设自己的WMS服务并使用自己的数据(也支持 ...
- WorldWind源码剖析系列:星球球体的加载与渲染
WorldWind源码剖析系列:星球球体的加载与渲染 WorldWind中主函数Main()的分析 在文件WorldWind.cs中主函数Main()阐明了WorldWind的初始化运行机制(如图1所 ...
- WorldWind源码剖析系列:地形访问器类TerrainAccessor
地形访问器类TerrainAccessor 地形访问器类TerrainAccessor提供了对地形(高程)Terrain (elevation)访问的各种接口interface,是NltTerrain ...
- WMS学习笔记:2.WMS解析
WMS 定义了三个操作,分别是:GetCapabilities,GetMap和GetFeatureInfo.其中,GetFeatureInfo是可选的.本条款规定了在超文本传输协议(HTTP)分布式计 ...
- [WorldWind学习]19.WebDownload
using System; using System.Diagnostics; using System.Globalization; using System.Net; using System.I ...
随机推荐
- UITabBarItem的selectedImage
TabBar使用频率很高的一个组件,TabBar的TabBarItem有两个属性一个是image(未选中图片),另一个是selectedImage(选中时图片) 但是运行时发现,选中时的图片变成了蓝色 ...
- iOS使用Workspace来管理多项目
开发中会有一些常用的类或方法,或者是某个特定功能的,比如一个自定义的弹框.一个更容易使用的网络请求库,可以把它们放到一个单独的工程里,通过静态库(library.FrameWork)的方式应用到任何其 ...
- Navicat 连接 Oracle数据库 提示 cannot load OCI DLL 的解决
一.32位系统下 cannot load OCI DLL,126 解决方法:工具->选项->OCI 选择oracle安装目录下bin里面的oci.dll 二 .在64位系统下安装了Orac ...
- hibernate多对多映射关系实现
Course.hbm.xml: <?xml version="1.0"?><!DOCTYPE hibernate-mapping PUBLIC &q ...
- 烂泥:KVM虚拟机的关机与开启
本文由秀依林枫提供友情赞助,首发于烂泥行天下. 我们在开启与关闭KVM虚拟机时,一般是通过start.shutdown.reboot等命令来进行.但是有时候我们会发现在使用shutdown.reboo ...
- 利用Keydown事件阻止用户输入
先了解下各事件的区别 keydown:在控件有焦点的情况下按下键时发生 keypress:在控件有焦点的情况下按下键时发生 keyup: 在控件有焦点的情况下释放键时发生 意义 keypress主 ...
- 开启mysql慢查询
Linux查看mysql 安装路径一.查看文件安装路径由于软件安装的地方不止一个地方,所有先说查看文件安装的所有路径(地址).这里以mysql为例.比如说我安装了mysql,但是不知道文件都安装在哪些 ...
- vim自定义配色方案,图文并茂
1.先上图 下面是tcpdump的源码.颜色根据自己的喜好配置,我比较喜欢亮的颜色,看的清楚! 2.下载辅助配置文件 ...
- zabbix安装排错过程
在讲安装过程之前需要先把zabbix的工作流程简单的讲一遍:zabbix是个开源监控软件,通过web才能更直观的监控我们想要监控的主机,同时,zabbix从被监控主机获取到的信息需要存放在数据库中,因 ...
- const 用法总结
在编程中我们常常会使用敞亮的概念,除了使用#define定义的宏之外,我们还有更好的选择,就是使用const关键字. 1.const关键字的意义 当我们定义一个变量,并且希望这个变量不再改变(编译器会 ...