< prev | next >

contour < Tags < Home

<contour>

The <contour> tag specifies a line contour plot to appear within the context of a map. As such, <contour> tags can only appear as children of a <map>. Each <contour> tag must contain a single <data> tag, and may contain a <range>, <lineStyle>, and <textStyle>. If the <range>, <lineStyle>, or <textStyle> is omitted, defaults will be applied. Currently, the data source for a contour plot is limited to an MDF formatted file. Future versions may allow for additional contour data sources.

Attributes

attribute

default

description

visible

"true"

Is the contour plot initially visible?

name

The name of the displayed parameter.

Custom product name to appear in the legend.

Children

tag

quantity

description

<data>

1 (required)

The source from which the contour's data are obtained.

<range>

1 (optional)

The range and interval of the contour lines. By default, the contour range will cover the extremes of the data set.

<lineStyle>

1 (optional)

The visual properties of the contour lines. By default, a red line (color="#FF0000") with a width of 1 will be used.

<textStyle>

1 (optional)

The visual properties of the contour text. If omitted, the contour won't display labels.

Examples

<contour visible="true">
  <data src="http://sdg/MesoData.acgi$latest.mdf"
    param="TAIR" units="fahr"/>
  <lineStyle color="#FF0000" width="1"/>
  <textStyle color="#FF0000"/>
</contour>
 
<contour>
  <data src="http://local/archives/199807071700.mg0"
    param="TDEW" units="cels"/>
</contour>

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.