< prev | next >

barb < Tags < Home

<barb>

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

Attributes

attribute

default

description

visible

"true"

Is the barb plot initially visible?

name

The name of the wind speed parameter.

Custom product name to appear in the legend.

Children

tag

quantity

description

<data>

2 (required)

The sources from which the magnitude and direction of the barbs are obtained. The first instance defines the magnitude data, and the second instance defines the direction data.

<lineStyle>

1 (optional)

The visual properties of the barbs. By default, a line with color="#FF6666" and a width of 0 will be used.

Examples

<barb visible="true">
  <data src="07071700.mdf" param="WSPD" units="mph"/>
  <data src="07071700.mdf" param="WDIR" units="degr"/>
  <lineStyle color="#66CC99" width="2"/>
</barb>
         
<barb visible="false">
  <data network="ARS Micronet" src="mycustomdata.mdf" param="MAG1" units="mps"/>
  <data network="ARS Micronet" src="mycustomdata.mdf" param="DIR1" units="degr"/>
</barb>
         
<barb>
  <data src="latest.mdf" param="WSPD"/>
  <data src="latest.mdf" param="WDIR"/>
</barb>

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