GuidesAPI Reference
Guides

AlertLocationType

The structure AlertLocationType represents information about a location affected by weather warning or watch.

The following table documents the generic elements of AlertLocationType.

ElementAttributeData typeDescription
contentStringLocation code (zone code, county code, province code)[^1].
latitudeDoubleLatitude of location polygon centroid in degrees in WGS 84 format.
longitudeDoubleLongitude of location polygon centroid in degrees in WGS 84 format.
nameStringLocation name.
countryString2-letters ISO country code.
countryNameStringFull country name.
stateString2-letters US-state abbreviation.
stateNameStringFull state name.
provinceString2-letters province code. Canada only.
provinceNameStringFull province name.

[^1]The shape file information for zones, counties and provinces can be found here:
National Weather Service GIS - AWIPS Shapefile Database.

Shape files available for download from National Weather Service: