Child pages
  • WMS primer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

keyword

value

source

service

WMS

Mandatory WMS standard value

request

GetMap

Mandatory WMS standard value

version

1.3.0

One of the mandatory WMS standard values returned by returned by the request=GetCapabilities

BBOX

0,50,10,55

bounding box: min(longitude),min(latitude),max(longitude),max(latitude) . WMS is know to be a hotchpotch for coordinate order, this particular server configuration seems to prefer lat-lon.

layers

topo

WMS counterpart of WCS coverage

format

image/png

One of the mandatory WMS standard values by returned by the request=GetCapabilities tag <Capability><Request><GetCapabilities><Format>. In the example above there are 4 formats.

CRS

EPSG%3A4326

One of the server-defined values by returned by the request=GetCapabilities tag <Layer><Layer><Layer queryable="1"><CRS>. In the example above there are 9 geographic projections available . Note that the colon in EPSG:4326 has been replaced by by %3A because colons are not allowed in urls. CRS always consists of namespace:identifier, in this case there are two namespaces.For more info on the projections see spatialreference.org and epsg-registry.org.

SRS

EPSG%3A4326

for WMS version 1.1.1 use SRS instead of same as CRS, and mind that lat-lon have been swapped for WGS84 EPSG%3A4326 compared to version 1.3.0

width

800

width of the image in number of pixels. The xml file show a max
MaxWidth and MaxHeight allowd by the server.

height

600

height of the image in number of pixels

styles

boxfill/redblue

One of the server-defined values by returned by the request=GetCapabilities tag <Layer><Layer><Layer queryable="1"><Name>topo</Name><Style><Name>. In the example above there are 10 styles, for screenshots click the gallery below. Unfortunately, it is not easily possible to supply your own colormap and colorlimits. for this you need to obtain the data and plot it yourselves, please refer to our WCS primer.

...

keyword

value

source

TRANSPARENT

True

Background transparency of map, valid for encoding format that can handle transparency, e.g. png.

standard

time

yyyy-mm-ddTHH:MM:SSZ

ISO time notation. Only when data are time-dependent. When not specified for data that is time-depended, the latest time is returned. Time is not implemented in most GIS-minded software packages yet. For an example on how to specify time requests see MapServer . For an example of time implementation see the ADAGUC WMS server and WMS web client.

standard

elevation

number

elevation of layer desired

standard

BGCOLOR

 

background color of map

standard

COLORSCALERANGE

"auto" or "min,max"

min. and maximum color range values

NOT STANDARD

Image Modified - Image Modified - Image Modified
Figure: example of the same image, same style but different COLORSCALERANGE

...