Weather API Developer's Guide

AlertLocationType

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

The table below documents the memeric elements of AlertLocationType.

Table 1. AlertLocationType elements
Element Attribute Data Type Description
content   String Location code (zone code, county code, province code) [1] .
  latitude Double Latitude of location polygon centroid in degrees in WGS 84 format.
  longitude Double Longitude of location polygon centroid in degrees in WGS 84 format.
  name String Location name.
  country String 2-letters ISO country code.
  countryName String Full country name.
  state String 2-letters US-state abbreviation.
  stateName String Full US-state name.
  province String 2-letters province code. Canada only.
  provinceName String Full province name. Canada only.
[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: