OGC标准介绍 17
来源:互联网 发布:av 神作 知乎 编辑:程序博客网 时间:2024/05/05 00:39
I. WCS-栅格Web服务
· 概述
WCS(OpenGIS® Web Coverage Service)当前版本是1.1.2。WCS标准定义了一些操作,这些操作允许用户访问“Coverage”数据,如卫星影像、数字高程数据等,也就是栅格数据。
· WCS的操作
WCS包括以下3个操作:
1. GetCapabilities(获取服务的元信息)
2. DescribeCoverage(获取Coverage的描述信息)
3. GetCoverage(获取Coverage)
关于服务涉及的基本元素,可以参考前面的章节:《服务涉及的基本元素》。
· GetCapabilities操作
1. KVP格式请求
GetCapabilities操作需要以下的参数:
参数
是否必须
默认值
SERVICE
是
WCS
REQUEST=GetCapabilities
是
ACCEPTVERSIONS
SECTIONS
UPDATESEQUENCE
ACCEPTFORMATS
以下是一个WCS使用KVP格式的GetCapabilities操作示例:
http://hostname:port/path?
service=WCS&
request=GetCapabilities
2. XML格式请求
以下是一个WCS使用XML格式的GetCapabilities操作示例:
xml version="1.0" encoding="UTF-8"?>
<GetCapabilities xmlns="http://www.opengis.net/wcs/1.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wcs/1.1.1 ../wcsGetCapabilities.xsd"
service="WCS" />
3. 响应示例
以下是一个WCS的GetCapabilities操作的响应示例:
xml version="1.0" encoding="UTF-8"?>
<wcs:Capabilities xmlns="http://www.opengis.net/wcs/1.1"
xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsDescribeCoverage.xsd http://www.opengis.net/ows/1.1 ../../../ows/1.1.0/owsAll.xsd">
<ows:ServiceIdentification>
<ows:Title>Web Coverage Serviceows:Title>
<ows:Abstract>WCSows:Abstract>
<ows:ServiceType>WCSows:ServiceType>
<ows:AccessConstraints>NONEows:AccessConstraints>
ows:ServiceIdentification>
<ows:OperationsMetadata>
<ows:Operation name="GetCapabilities">
...
ows:Operation>
<ows:Operation name="DescribeCoverage">
...
ows:Operation>
<ows:Operation name="GetCoverage">
...
ows:Operation>
<ows:Constraint name="PostEncoding">
<ows:AllowedValues>
<ows:Value>XMLows:Value>
ows:AllowedValues>
ows:Constraint>
ows:OperationsMetadata>
<wcs:Contents>
...
wcs:Contents>
wcs:Capabilities>
· DescribeCoverage操作
1. KVP格式请求
DescribeCoverage操作需要以下的参数:
参数
是否必须
默认值
VERSION
是
1.1.2
SERVICE
是
WCS
REQUEST=DescribeCoverage
是
IDENTIFIERS
是
以下是一个WCS使用KVP格式的DescribeCoverage操作示例:
http://server_address/path/script?
service=WCS &
request=DescribeCoverage&
version=1.1.2 &
identifiers=Cov1,Cov2,Cov3
2. XML格式请求
以下是一个WCS使用XML格式的DescribeCoverage操作示例:
xml version="1.0" encoding="UTF-8"?>
<DescribeCoverage xmlns="http://www.opengis.net/wcs/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsDescribeCoverage.xsd"
service="WCS" version="1.1.2">
<Identifier>Cov1Identifier>
<Identifier>Cov2Identifier>
<Identifier>Cov3Identifier>
DescribeCoverage>
3. 响应示例
以下是一个WCS的DescribeCoverage操作的响应示例:
xml version="1.0" encoding="UTF-8"?>
<CoverageDescriptions xmlns="http://www.opengis.net/wcs/1.1"
xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wcs/1.1 ../wcsDescribeCoverage.xsd http://www.opengis.net/ows/1.1 ../../../ows/1.1.0/owsAll.xsd">
<CoverageDescription>
<ows:Title>TBDows:Title>
<ows:Abstract>TBDows:Abstract>
<Identifier>TBDIdentifier>
<Domain>
<SpatialDomain>
<ows:BoundingBox>
<ows:LowerCorner>-30.00 -30.00ows:LowerCorner>
<ows:UpperCorner>30.00 30.00ows:UpperCorner>
ows:BoundingBox>
SpatialDomain>
Domain>
<Range>
<Field>
<ows:Title>TBDows:Title>
<ows:Abstract>TBDows:Abstract>
<Identifier>TBDIdentifier>
<Definition>
<ows:AnyValue />
Definition>
<InterpolationMethods>
<InterpolationMethod>linearInterpolationMethod>
<Default>cubicDefault>
InterpolationMethods>
Field>
Range>
<SupportedCRS>urn:ogc:def:crs:EPSG::XXXX
SupportedCRS>
<SupportedCRS>urn:ogc:def:crs:EPSG::YYYY
SupportedCRS>
<SupportedFormat>text/xmlSupportedFormat>
CoverageDescription>
CoverageDescriptions>
- OGC标准介绍 17
- OGC标准介绍 1
- OGC标准介绍 2
- OGC标准介绍 3
- OGC标准介绍 4
- OGC标准介绍 5
- OGC标准介绍 6
- OGC标准介绍 7
- OGC标准介绍 8
- OGC标准介绍 9
- OGC标准介绍 10
- OGC标准介绍 11
- OGC标准介绍 12
- OGC标准介绍 13
- OGC标准介绍 14
- OGC标准介绍 15
- OGC标准介绍 16
- OGC标准介绍 18
- FreeBSD添加用户
- Linux HugePages
- java分页查询 方法二 Criteria
- Loongson CPU介绍!
- 阿里巴巴网站搜索排名新规则及新算法
- OGC标准介绍 17
- SQLite3.6.23基本特性
- WP7的喜讯
- 在对比数字中看中国大陆的发展潜力
- 水晶报表不同winform之间的传值
- JavaScript中onmouseover时如何让鼠标指针变成一个小手状
- 在Eclipse中查看JDK类库的源代码!!!
- Javascript中对字符串操作大全
- TNS/ORA-12500:TNS:监听未能启动一个专用服务器进程