一、引言

一直用arcgis javascript的二次开发,经常使用它的一些服务WMS、WMTS、WFS、MapService等,并没有深入了解这些服务内部机制,直到最近学习了geoserver,由于毕竟它是开源的要遵循行业老大OGC制定的标准,这样通用性比较强一些,所以发的服务基本都是WMS、WTMS、WFS、WCS==

so了解这些东西是必须的了,后悔当时没有跟遥感院第一美男老师好好学啊,现在开始看着还是懵逼状态,硬着头皮看完梳理了一下==

二、WMS服务发布

这里可以用geoserver发布,也可以用arcgisserver或者mapserver,由于我经常使用arcgis,这里用了arcgis server发布的。发布很简单==

这里只要比正常发布的时候多勾个选项就可以了。发布后的服务如下面右图:

    

三、WMS服务中的操作

 
WMS提供了以下的操作
 

WMS requests can perform the following operations:

3.1GetCapabilities(获取服务中的要素类及支持的操作)

3.1.1基本介绍

The GetCapabilities operation requests metadata about the operations, services, and data (“capabilities”) that are offered by a WMS server.

The parameters for the GetCapabilities operation are:

3.1.2举例介绍

请求方式:

这里主要就是三个参数,request就是WMS的操作方法,这里是GetCapabilities

请求结果:

这里看着比较复杂,一下子肯定看不懂,后面可以慢慢理解,这个内容很有用的==

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<WMS_Capabilities version="1.3.0" updateSequence="2014-05-30T16:26:00Z" xmlns="http://www.opengis.net/wms" xmlns:sld="http://www.opengis.net/sld" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://mapserver.gis.umn.edu/mapserver https://worldwind25.arc.nasa.gov/wms?service=WMS&amp;version=1.3.0&amp;request=GetSchemaExtension"> <!-- MapServer version 7.0.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE --> <Service>
<Name>WMS</Name>
<Title>World Wind Server</Title>
<Abstract>NASA WorldWind WMS Service that contains the following data: ...</Abstract>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/>
<ContactInformation>
<ContactPersonPrimary>
<ContactPerson>Randolph Kim</ContactPerson>
<ContactOrganization>NASA</ContactOrganization>
</ContactPersonPrimary>
<ContactPosition> </ContactPosition>
<ContactElectronicMailAddress>rkim@mail.arc.nasa.gov</ContactElectronicMailAddress>
</ContactInformation>
<MaxWidth>2048</MaxWidth>
<MaxHeight>2048</MaxHeight>
</Service> <Capability>
<Request>
<GetCapabilities>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Post>
</HTTP>
</DCPType>
</GetCapabilities>
<GetMap>
<Format>image/png</Format>
<Format>image/tiff</Format>
<Format>image/jp2k</Format>
<Format>image/jpeg</Format>
<Format>image/png; mode=8bit</Format>
<Format>application/x-pdf</Format>
<Format>image/svg+xml</Format>
<Format>application/vnd.google-earth.kml+xml</Format>
<Format>application/vnd.google-earth.kmz</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Post>
</HTTP>
</DCPType>
</GetMap>
<GetFeatureInfo>
<Format>text/plain</Format>
<Format>application/vnd.ogc.gml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Post>
</HTTP>
</DCPType>
</GetFeatureInfo>
</Request>
<Exception>
<Format>XML</Format>
<Format>INIMAGE</Format>
<Format>BLANK</Format>
</Exception>
<Layer>
<Title>World Wind Server</Title>
<Abstract>NASA WorldWind WMS Service that contains the following data: ...</Abstract>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:4269</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200401</Name>
<Title>BlueMarble January 2004</Title>
<Abstract>BlueMarble imagery for January 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200402</Name>
<Title>BlueMarble February 2004</Title>
<Abstract>BlueMarble imagery for February 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200403</Name>
<Title>BlueMarble March 2004</Title>
<Abstract>BlueMarble imagery for March 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200404</Name>
<Title>BlueMarble April 2004</Title>
<Abstract>BlueMarble imagery for April 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200405</Name>
<Title>BlueMarble May 2004</Title>
<Abstract>BlueMarble imagery for May 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200406</Name>
<Title>BlueMarble June 2004</Title>
<Abstract>BlueMarble imagery for June 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200407</Name>
<Title>BlueMarble July 2004</Title>
<Abstract>BlueMarble imagery for July 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200408</Name>
<Title>BlueMarble August 2004</Title>
<Abstract>BlueMarble imagery for August 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200409</Name>
<Title>BlueMarble September 2004</Title>
<Abstract>BlueMarble imagery for September 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200410</Name>
<Title>BlueMarble October 2004</Title>
<Abstract>BlueMarble imagery for October 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200411</Name>
<Title>BlueMarble November 2004</Title>
<Abstract>BlueMarble imagery for November 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>BlueMarble-200412</Name>
<Title>BlueMarble December 2004</Title>
<Abstract>BlueMarble imagery for December 2004</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>esat</Name>
<Title>ESAT</Title>
<Abstract>I-Cubed ESAT World Landsat7 Mosaic</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-58</southBoundLatitude>
<northBoundLatitude>82</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-58" miny="-180" maxx="82" maxy="180" />
</Layer>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>earthatnight</Name>
<Title>Earth_At_Night_2012</Title>
<Abstract>Earth At Night 2012</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-05-17T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="59" height="20">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://worldwind25.arc.nasa.gov/wms?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=earthatnight&amp;format=image/png&amp;STYLE=default"/>
</LegendURL>
</Style>
<MinScaleDenominator>2.67857e+06</MinScaleDenominator>
</Layer>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>FAAchart</Name>
<Title>FAA navigation charts</Title>
<Abstract>FAA navigation charts</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-05-17T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-173.49</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>35.9465</southBoundLatitude>
<northBoundLatitude>72.3357</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="35.9465" miny="-173.49" maxx="72.3357" maxy="180" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="58" height="20">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://worldwind25.arc.nasa.gov/wms?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=FAAchart&amp;format=image/png&amp;STYLE=default"/>
</LegendURL>
</Style>
</Layer>
<Layer queryable="0" opaque="1" cascaded="0">
<Name>scaletest</Name>
<Title>Scale test</Title>
<Abstract>Max and min scale test</Abstract>
<KeywordList>
<Keyword>LastUpdate= 2013-07-02T16:26:00Z</Keyword>
</KeywordList>
<CRS>EPSG:4326</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180</westBoundLongitude>
<eastBoundLongitude>180</eastBoundLongitude>
<southBoundLatitude>-90</southBoundLatitude>
<northBoundLatitude>90</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="-90" miny="-180" maxx="90" maxy="180" />
<MinScaleDenominator>1.78571e+06</MinScaleDenominator>
</Layer>
</Layer>
</Capability>
</WMS_Capabilities>

3.2GetMap(获取地图)

3.2.1基本介绍
The GetMap operation requests that the server generate a map. The core parameters specify one or more layers and styles to appear on the map, a bounding box for the map extent, a target spatial reference system, and a width, height, and format for the output. The information needed to specify values for parameters such as layers, styles and srs can be obtained from the Capabilities document.

The response is a map image, or other map output artifact, depending on the format requested. GeoServer provides a wide variety of output formats, described in WMS output formats.

The standard parameters for the GetMap operation are:

3.2.2举例介绍
请求方式:

这里需要注意的是,layers名字要写正确,crs坐标系,bbox图片范围,height图片高像素,width图片宽像素,format这个就不用多说了吧。其实填充的这些参数你都可以在上面GetCapabilities 请求结果中找到==
请求结果(返回的影像区域为河南南阳和湖北襄阳交界的南阳盆地地区):

3.3GetFeatureInfo(根据地图上的像素点获取更详细的要素信息,类似Identify功能)

3.3.1基本介绍

The GetFeatureInfo operation requests the spatial and attribute data for the features at a given location on a map. It is similar to the WFS GetFeature operation, but less flexible in both input and output. Since GeoServer provides a WFS service we recommend using it instead of GetFeatureInfo whenever possible.

The one advantage of GetFeatureInfo is that the request uses an (x,y) pixel value from a returned WMS image. This is easier to use for a naive client that is not able to perform true geographic referencing.

The standard parameters for the GetFeatureInfo operation are:

3.3.2举例介绍

请求方式:http://localhost:6080/arcgis/services/tttt/tt/MapServer/WMSServer?VERSION=1.3.0&REQUEST=GetFeatureInfo&QUERY_LAYERS=0&BBOX=110,35,120,45&crs=4326&INFO_FORMAT=text/html&I=200&J=100&WIDTH=256&HEIGHT=256

这里需要注意的参数QUERY_LAYERS请求的图层,BBOX图片的范围,INFO_FORMAT返回数据格式,I图片的像素横坐标,J图片像素纵坐标,width与height同getmap函数一样。同理这里的参数都可以在GetCapabilities中查找到奥==

还有一点要注意的是version版本问题要注意对上,网上很多资料由于版本不一致导致不能使用,并不是写错了==

请求结果:

四、总结

  • 学习WMS迫在眉睫;
  • arcgis server发布WMS服务;
  • WMS中的三种操作方法介绍与举例。

参考链接:

1、OGC——WMS详细介绍(arcgis server举例)

2、WMS GetMap GetCapabilities 参数详解

<?xml version='1.0' encoding="UTF-8" standalone="no" ?><WMS_Capabilities version="1.3.0" updateSequence="2014-05-30T16:26:00Z"  xmlns="http://www.opengis.net/wms"   xmlns:sld="http://www.opengis.net/sld"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xmlns:ms="http://mapserver.gis.umn.edu/mapserver"   xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd  http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd  http://mapserver.gis.umn.edu/mapserver https://worldwind25.arc.nasa.gov/wms?service=WMS&amp;version=1.3.0&amp;request=GetSchemaExtension">
<!-- MapServer version 7.0.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<Service>  <Name>WMS</Name>  <Title>World Wind Server</Title>  <Abstract>NASA WorldWind WMS Service that contains the following data: ...</Abstract>  <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/>  <ContactInformation>    <ContactPersonPrimary>      <ContactPerson>Randolph Kim</ContactPerson>      <ContactOrganization>NASA</ContactOrganization>    </ContactPersonPrimary>      <ContactPosition> </ContactPosition>  <ContactElectronicMailAddress>rkim@mail.arc.nasa.gov</ContactElectronicMailAddress>  </ContactInformation>  <MaxWidth>2048</MaxWidth>  <MaxHeight>2048</MaxHeight></Service>
<Capability>  <Request>    <GetCapabilities>      <Format>text/xml</Format>      <DCPType>        <HTTP>          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Get>          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Post>        </HTTP>      </DCPType>    </GetCapabilities>    <GetMap>      <Format>image/png</Format>      <Format>image/tiff</Format>      <Format>image/jp2k</Format>      <Format>image/jpeg</Format>      <Format>image/png; mode=8bit</Format>      <Format>application/x-pdf</Format>      <Format>image/svg+xml</Format>      <Format>application/vnd.google-earth.kml+xml</Format>      <Format>application/vnd.google-earth.kmz</Format>      <DCPType>        <HTTP>          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Get>          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Post>        </HTTP>      </DCPType>    </GetMap>    <GetFeatureInfo>      <Format>text/plain</Format>      <Format>application/vnd.ogc.gml</Format>      <DCPType>        <HTTP>          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Get>          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://worldwind25.arc.nasa.gov/wms?"/></Post>        </HTTP>      </DCPType>    </GetFeatureInfo>  </Request>  <Exception>    <Format>XML</Format>    <Format>INIMAGE</Format>    <Format>BLANK</Format>  </Exception>  <Layer>    <Title>World Wind Server</Title>    <Abstract>NASA WorldWind WMS Service that contains the following data: ...</Abstract>    <CRS>EPSG:4326</CRS>    <CRS>EPSG:4269</CRS>    <CRS>EPSG:3857</CRS>    <EX_GeographicBoundingBox>        <westBoundLongitude>-180</westBoundLongitude>        <eastBoundLongitude>180</eastBoundLongitude>        <southBoundLatitude>-90</southBoundLatitude>        <northBoundLatitude>90</northBoundLatitude>    </EX_GeographicBoundingBox>    <BoundingBox CRS="EPSG:4326"                minx="-90" miny="-180" maxx="90" maxy="180" />    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200401</Name>        <Title>BlueMarble January 2004</Title>        <Abstract>BlueMarble imagery for January 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200402</Name>        <Title>BlueMarble February 2004</Title>        <Abstract>BlueMarble imagery for February 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200403</Name>        <Title>BlueMarble March 2004</Title>        <Abstract>BlueMarble imagery for March 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200404</Name>        <Title>BlueMarble April 2004</Title>        <Abstract>BlueMarble imagery for April 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200405</Name>        <Title>BlueMarble May 2004</Title>        <Abstract>BlueMarble imagery for May 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200406</Name>        <Title>BlueMarble June 2004</Title>        <Abstract>BlueMarble imagery for June 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200407</Name>        <Title>BlueMarble July 2004</Title>        <Abstract>BlueMarble imagery for July 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200408</Name>        <Title>BlueMarble August 2004</Title>        <Abstract>BlueMarble imagery for August 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200409</Name>        <Title>BlueMarble September 2004</Title>        <Abstract>BlueMarble imagery for September 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200410</Name>        <Title>BlueMarble October 2004</Title>        <Abstract>BlueMarble imagery for October 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200411</Name>        <Title>BlueMarble November 2004</Title>        <Abstract>BlueMarble imagery for November 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>BlueMarble-200412</Name>        <Title>BlueMarble December 2004</Title>        <Abstract>BlueMarble imagery for December 2004</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>esat</Name>        <Title>ESAT</Title>        <Abstract>I-Cubed ESAT World Landsat7 Mosaic</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-12-12T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-58</southBoundLatitude>            <northBoundLatitude>82</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-58" miny="-180" maxx="82" maxy="180" />    </Layer>    <Layer queryable="0" opaque="0" cascaded="0">        <Name>earthatnight</Name>        <Title>Earth_At_Night_2012</Title>        <Abstract>Earth At Night 2012</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-05-17T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />        <Style>          <Name>default</Name>          <Title>default</Title>          <LegendURL width="59" height="20">             <Format>image/png</Format>             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://worldwind25.arc.nasa.gov/wms?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=earthatnight&amp;format=image/png&amp;STYLE=default"/>          </LegendURL>        </Style>        <MinScaleDenominator>2.67857e+06</MinScaleDenominator>    </Layer>    <Layer queryable="0" opaque="0" cascaded="0">        <Name>FAAchart</Name>        <Title>FAA navigation charts</Title>        <Abstract>FAA navigation charts</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-05-17T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-173.49</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>35.9465</southBoundLatitude>            <northBoundLatitude>72.3357</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="35.9465" miny="-173.49" maxx="72.3357" maxy="180" />        <Style>          <Name>default</Name>          <Title>default</Title>          <LegendURL width="58" height="20">             <Format>image/png</Format>             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://worldwind25.arc.nasa.gov/wms?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=FAAchart&amp;format=image/png&amp;STYLE=default"/>          </LegendURL>        </Style>    </Layer>    <Layer queryable="0" opaque="1" cascaded="0">        <Name>scaletest</Name>        <Title>Scale test</Title>        <Abstract>Max and min scale test</Abstract>        <KeywordList>            <Keyword>LastUpdate= 2013-07-02T16:26:00Z</Keyword>        </KeywordList>        <CRS>EPSG:4326</CRS>        <EX_GeographicBoundingBox>            <westBoundLongitude>-180</westBoundLongitude>            <eastBoundLongitude>180</eastBoundLongitude>            <southBoundLatitude>-90</southBoundLatitude>            <northBoundLatitude>90</northBoundLatitude>        </EX_GeographicBoundingBox>        <BoundingBox CRS="EPSG:4326"                    minx="-90" miny="-180" maxx="90" maxy="180" />        <MinScaleDenominator>1.78571e+06</MinScaleDenominator>    </Layer>  </Layer></Capability></WMS_Capabilities>

OGC——WMS服务的更多相关文章

  1. Arcgis for Js之加载wms服务

    概述:本节讲述Arcgis for Js加载ArcgisServer和GeoServer发布的wms服务. 1.定义resourceInfo var resourceInfo = { extent: ...

  2. Geoserver基本使用、WMS服务发布与OpenLayers测试

    1.Geoserver与OpenLayers的下载 Geoserver:http://geoserver.org/ OpenLayers:http://openlayers.org/ 2.安装部署Ge ...

  3. SkylineGlobe SFS发布的WFS和WMS服务测试

    SkylineGlobe SFS发布的WFS服务:http://localhost/SFS/streamer.ashx?service=wfs&request=GetCapabilities& ...

  4. (十九)ArcGIS JS 加载WMS服务(超图示例)

    前言 在工作中,需要在ArcGIS API for JavaScript中加载超图服务,因为超图的rest服务只可以用于Leaflet .openlayers3 (with MVT) .MapboxG ...

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

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

  6. PIE SDK加载WMS服务数据

    1.   功能简介 WMS服务,WMS是OGC标准中比较简单也是比较重要的标准之一.它全称是“Web Map Service”(网络地图服务):利用具有地理空间位置信息的数据制作地图.其中将地图定义为 ...

  7. Geoserver发布WMS服务出错分析

    使用Geoserver发布一个空间表,在图层预览的过程中没有任何问题,但是当我根据这个空间表传创建视图再发布wms服务,访问时就会报错,错误信息如下: Caused by: java.sql.SQLE ...

  8. iOS 利用高德地图WMS服务

    Demo:  https://github.com/xushiyou23/AMapTesting 转: 版权声明:本文为博主原创文章,未经博主允许不得转载. https://blog.csdn.net ...

  9. 使用GeoServer发布shp数据为WMS服务和WFS服务

    使用GeoServer发布shp数据为WMS服务和WFS服务 1安装GeoServer 2使用GeoServer上传数据 3使用GeoServer发布数据为WMS和WFS 看完本教程,你将学会安装Ge ...

  10. geoserver中WMS服务详细说明

    官方geoserver中WMS服务中几种操作的API的详细说明地址: http://docs.geoserver.org/stable/en/user/services/wms/reference.h ...

随机推荐

  1. error loading sources list: ('The read operation timed out',)解决办法!!

    一.灵魂四问 1.为什么叫rosdepc? rosdepc,c指的是China中国,主要用于和rosdep区分. 2.rosdepc和rosdep功能一致吗? rosdep官方最新版源码直接修改的,小 ...

  2. 【JVM第3课】运行时数据区

    运行时数据区结构图如下: 可分为 5 个区域,分别是方法区.堆区.虚拟机栈.本地方法栈.程序计数器.这里大概介绍一下各个模块的作用,会在后面的文章展开讲. 类加载子系统会把类信息加载到方法区,程序运行 ...

  3. 通义灵码:体验AI编程新技能-@workspace 和 @terminal为你的编程插上一双翅膀

    1.前言 我是一位运维工程师,用通义灵码个人版的@workspace 和 @terminal 的能力做快速了解一个工程.查找工程内的实现逻辑,以及执行指令不知道如何写,或者不清楚某个指令的意思,对比之 ...

  4. CSP-S 2024 简单题

    CSP-S 2024 简单题 以下均为考场做法. T1 决斗 (duel) 考虑贪心,按照攻击力 \(a_i\) 排序,从小到大使用所有怪物进行攻击,每只怪物攻击一个在场且能击杀的怪物中,攻击力最大的 ...

  5. .NET周刊【11月第1期 2024-11-03】

    国内文章 .NET 9 AOT的突破 - 支持老旧Win7与XP环境 https://www.cnblogs.com/lsq6/p/18519287 .NET 9 引入了 AOT 支持,使得应用程序能 ...

  6. 多校A层冲刺NOIP2024模拟赛20

    多校A层冲刺NOIP2024模拟赛20 昨天晚上打 ABC 了,所以今天才发. T1 星际联邦 直接上 菠萝(Borůvka)算法就行了,当然还可以用线段树优化 prim算法,但是没打过只是口胡:就是 ...

  7. python库asyncio的概念和用法

    python 库 asyncio asyncio 是 Python 的标准库之一,用于编写异步应用程序.它提供了事件循环.协程.任务和其他工具来处理并发操作.以下是一些关于 asyncio 的基本概念 ...

  8. git cherry-pick 同事代码commit后 如何修改为自己的author

    如果有个功能是同事在做,但是做到一半,需要接手帮忙修改或者完成后续,可以切入他的分支 git checkout 分支名称 直接开发,也可以 git checkout -b 新分支名称 这样就完全拥有他 ...

  9. Python基础:Python可变对象和不可变对象

    Python在heap中分配的对象分成两类:可变对象和不可变对象.所谓可变对象是指,对象的内容是可变的,例如list.而不可变的对象则相反,表示其内容不可变. 不可变对象:int,string,flo ...

  10. jquery加购物车功能

    如下图所示: 点击加入购物车,由下到上出现此弹窗,点击close关闭弹窗. $(".addCar").on("click", function() { var ...