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的更多相关文章

  1. World Wind Java开发之十三——加载Geoserver发布的WMS服务(转)

    这篇是转载的平常心博客,原地址见:http://www.v5cn.cn/?p=171 1.WMSTiledImageLayer类说明 一个WMSTiledImageLayer类对象只能对应一个WMS发 ...

  2. 国产深度学习框架mindspore-1.3.0 gpu版本无法进行源码编译

    官网地址: https://www.mindspore.cn/install 所有依赖环境 进行sudo make install 安装,最终报错: 错误记录信息: cat     /tmp/mind ...

  3. WorldWind源码剖析系列:影像存储类ImageStore、Nlt影像存储类NltImageStore和WMS影像存储类WmsImageStore

    影像存储类ImageStore 影像存储类ImageStore提供了计算本地影像路径和远程影像影像URL访问的各种接口,是WmsImageStore类和NltImageStore类的基类.当划分完层次 ...

  4. WorldWind源码剖析系列:下载请求类DownloadRequest

    下载请求类DownloadRequest是各种下载请求的抽象基类,先派生出网络下载请求类WebDownloadRequest,再派生出地理空间下载请求类GeoSpatialDownloadReques ...

  5. [转]World Wind Java开发之四——搭建本地WMS服务器

    在提供地理信息系统客户端时,NASA还为用户提供了开源的WMS Server 服务器应用:World Wind WMS Server.利用这个应用,我们可以架设自己的WMS服务并使用自己的数据(也支持 ...

  6. WorldWind源码剖析系列:星球球体的加载与渲染

    WorldWind源码剖析系列:星球球体的加载与渲染 WorldWind中主函数Main()的分析 在文件WorldWind.cs中主函数Main()阐明了WorldWind的初始化运行机制(如图1所 ...

  7. WorldWind源码剖析系列:地形访问器类TerrainAccessor

    地形访问器类TerrainAccessor 地形访问器类TerrainAccessor提供了对地形(高程)Terrain (elevation)访问的各种接口interface,是NltTerrain ...

  8. WMS学习笔记:2.WMS解析

    WMS 定义了三个操作,分别是:GetCapabilities,GetMap和GetFeatureInfo.其中,GetFeatureInfo是可选的.本条款规定了在超文本传输协议(HTTP)分布式计 ...

  9. [WorldWind学习]19.WebDownload

    using System; using System.Diagnostics; using System.Globalization; using System.Net; using System.I ...

随机推荐

  1. appstore 提交警告 - Missing iOS Distribution signing identity for xxxx

    提交app至appstore的时候出现如下错误: 注:本解决方案仅适用于Keychain中AppleWWDRCA.cer过期问题,表现为Keychain中的各种开发者证书失效,失效原因均为证书的颁发机 ...

  2. CGContextRef使用简要教程

    CGContextRef使用简要教程 Graphics Context是图形上下文,也可以理解为一块画布,我们可以在上面进行绘画操作,绘制完成后,将画布放到我们的view中显示即可,view看作是一个 ...

  3. android 定制自己的日志工具

    最理想的情况是能够控制日志的打印,当程序处于开发阶段就让日志打印出来,当程序上线之后就把日志屏蔽掉. 例如打印一行WARN级别的日志就可以写成这样: LogUtil.w("TAG" ...

  4. CocoaPods的安装(图文并茂)OS X 10.11 系统

    这里是前言,可以跳过前言部分直接跳到后面"这里正式安装"开始看步骤: 系统:OS X EI Capitan 版本:10.11.2 开发工具:XCode:7.2 先给一个挺不错的关于 ...

  5. python sorted

    python列表排序 python字典排序 sorted List的元素可以是各种东西,字符串,字典,自己定义的类等. sorted函数用法如下: sorted(data, cmp=None, key ...

  6. 匿名PL/SQL

    立此存照 匿名PL/SQL 语法结构:PL/SQL是一种块结构的语言,组成PL/SQL程序的单元是逻辑块,一个PL/SQL程序包含了一个或多个逻辑块,每一块都可以划分3个部分.变量在使用前必须声明,P ...

  7. redis的简单安装配置

    一.简介 Redis是一种高级key-value数据库,数据可以持久化,支持的数据类型很丰富,有字符串,哈希,链表,集合和有序集合5种数据类型 Redis支持在服务器端计算集合的并,交和补集(diff ...

  8. Linux下Redis安装及配置

    1.下载安装包 #  cd ~/Download #  wget http://download.redis.io/releases/redis-3.0.7.tar.gz     --选择要下载的版本 ...

  9. 使用Spring Security Oauth2完成RESTful服务password认证的过程

            摘要:Spring Security与Oauth2整合步骤中详细描述了使用过程,但它对于入门者有些重量级,比如将用户信息.ClientDetails.token存入数据库而非内存.配置 ...

  10. 按照索引的细化提取骨架算法的java实现

    近期研究验证码识别,也就看了一些图像识别的资料,其中一种字体细化提取骨架的算法网上没有java版的实现,所以就选取了一个python实现版本进行java代码的改写.. python版实现的地址: ht ...