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 ...
随机推荐
- C语言指针的长度和类型
本文地址:http://www.cnblogs.com/archimedes/p/point-length-type.html,转载请注明源地址. 如果考虑应用程序的兼容性和可移植性,指针的长度就是一 ...
- Android软键盘与输入框的设置
大家开发Android或者用app的时候会发现转到输入框就会自动弹出软键盘,切换别的页面就会自动的隐藏,下面几行代码用的熟练了就行了: 1.方法一(如果输入法在窗口上已经显示,则隐藏,反之则显示) I ...
- 【读书笔记】iOS-本地文件和数据安全注意事项
一,程序文件的安全. 可通过将JavaScript源码时行混淆和加密,防止黑客轻易地阅读和篡改相关的逻辑,也可以防止自己的Web端与Native端的通讯协议泄露. 二,本地数据安全. 对于本地的重要数 ...
- 在iOS 8中使用UIAlertController
iOS 8的新特性之一就是让接口更有适应性.更灵活,因此许多视图控制器的实现方式发生了巨大的变化.全新的UIPresentationController在实现视图控制器间的过渡动画效果和自适应设备尺寸 ...
- 软件工程(c编码实践) 学习笔记(一)
vim 有三种模式:一般模式,编辑模式,命令模式. -------------------------------------------------------------------------- ...
- XtraScheduler 日程控件显示自定义标题
下面代码实现一个自定义日程标题 public class CustomHeaderCaptionService : HeaderCaptionServiceWrapper { public Custo ...
- linux 同步IO: sync msync、fsync、fdatasync与 fflush
最近阅读leveldb源码,作为一个保证可靠性的kv数据库其数据与磁盘的交互可谓是极其关键,其中涉及到了不少内存和磁盘同步的操作和策略.为了加深理解,从网上整理了linux池畔同步IO相关的函数,这里 ...
- IE6/7/8不支持jQuery创建非闭合格式的链接A
代码如下 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <scri ...
- GPS 坐标距离计算
CREATE FUNCTION [dbo].[Rad]( @d float ) RETURNS float BEGIN return @d * PI()/ 180.00; End CREATE FUN ...
- C++ 数组长度 以及 数组名作为参数传递给函数 以及 为什么不在子函数中求数组长度
在看排序,首先是插入排序,思路理清后想用代码实现,然后问题来了: 如何求数组长度? 如果没记错,在Java中应该是有直接可用的方法的, Python中(序列)也有.len,在C/C++中,字符串倒是有 ...