File: wms.rst

package info (click to toggle)
osgearth 2.7.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 49,960 kB
  • ctags: 18,411
  • sloc: cpp: 253,210; ansic: 43,140; xml: 1,637; objc: 405; makefile: 210; python: 29; sh: 20
file content (34 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
WMS (OGC Web Map Service)
=========================
This plugin reads image data from an OGC `Web Map Service`_ resource.

Example usage::

    <image name="Landsat" driver="wms">
        <url>http://onearth.jpl.nasa.gov/wms.cgi</url>
        <srs>EPSG:4326</srs>
        <tile_size>512</tile_size>
        <layers>global_mosaic</layers>
        <styles>visual</styles>
        <format>jpeg</format>
    </image>  
    
Properties:

    :url:            Location of the WMS resource
    :srs:            Spatial reference in which to return tiles
    :tile_size:      Override the default tile size (default = 256)
    :layers:         WMS layer list to composite and return
    :styles:         WMS styles to render
    :format:         Image format to return

Notes:

    * This plugin will recognize the JPL WMS-C implementation and use it if detected.
    
Also see:

    ``wms_jpl_landsat.earth`` sample in the repo ``tests`` folder
    

.. _Web Map Service:  http://en.wikipedia.org/wiki/Web_Map_Service