We strongly recommend that the <area>
entity defines the geographic area to be
notified, not the incident area.
In the case of a tropical storm, we recommend that the <area>
entity contains
<polygon>
or <geocode>
elements that denote the places where you expect
impacts from strong winds, heavy rain, or other threats from the storm. If a
storm is still offshore, then don't set the <area>
entity of your CAP alert
to the storm's current location.
Similarly, in the case of a forest fire, we recommend that the <area>
entity
data also includes towns or places where you expect impacts from smoke or other
threats from the fire.
area
entity sub-elements
Element name | Optionality | Type | CAP and Google notes and requirements |
---|---|---|---|
<areaDesc> |
REQUIRED | string |
To generate the location text string used in the alert title or
headline, Google might use an |
<polygon> |
OPTIONAL | string |
The paired value points in a Polygons must meet the following requirements:
|
<circle> |
OPTIONAL | string |
The Note: If you specify a circle with zero or a very small radius, Google can't show the alert to our users. |
<geocode> |
OPTIONAL | string |
Define the
If you use geocodes, provide Google with a fixed list of geocode-to-polygon and shapefile maps. To post notices of updates to this list, use a separate channel, preferably as RSS or email alerts. For example, US NOAA publicly publishes their geocode updates. |
<altitude> |
OPTIONAL | float |
The value of the |
<ceiling> |
CONDITIONAL | float |
Use the |
Example
<area>
<areaDesc>Cavite</areaDesc>
<polygon>14.473860833486,120.9718174024 14.347454023196,121.01386683476
14.142014336735,121.03024107602 14.063075455227,120.85558468426
14.221664765773,120.59001887699 14.473860833486,
120.9718174024</polygon>
<geocode>
<valueName>SAME</valueName>
<value>042100000</value>
</geocode>
</area>
<area>
<areaDesc>107 km SouthWest DENPASAR-BALI</areaDesc>
<circle>-9.63,115.12 300.0</circle>
</area>