Zone configuration files

A zone-config.xml file contains the following XML elements:

  • <Zones>
  • <Zone>
  • <ZoneCode>
  • <Links>
  • <AddressZoneValue>

For example, in the base configuration, PolicyCenter defines the zone hierarchy for the United States in the following file:

configuration > config > geodata > US > zone-config.xml

This file uses the following elements:

<Zones countryCode="US">
  <Zone code="zip" fileColumn="1" granularity="1" regionMatchOrder="1" unique="true">
    <AddressZoneValue>Address.PostalCode.substring(0,5)</AddressZoneValue>
    <Links>
      <Link toZone="city"/>
    </Links>
  </Zone>
  
  <Zone code="state" fileColumn="2" granularity="4" regionMatchOrder="3">
    <AddressZoneValue>
      Address.State.Abbreviation.DisplayName
    </AddressZoneValue>
    <Links>
      <Link toZone="zip" lookupOrder="1"/>
      <Link toZone="county"/>
      <Link toZone="city"/>
    </Links>
  </Zone>
  
  <Zone code="city" fileColumn="3" granularity="2">
    <ZoneCode>state + ":" + city</ZoneCode>
    <AddressZoneValue>
      Address.State.Abbreviation.DisplayName + ":" + Address.City
    </AddressZoneValue>
    <Links>
      <Link toZone="zip"/>
    </Links>
  </Zone>
  
  <Zone code="county" fileColumn="4" granularity="3" regionMatchOrder="2">
    <ZoneCode>state + ":" + county</ZoneCode>
    <AddressZoneValue>
      Address.State.Abbreviation.DisplayName + ":" + Address.County
    </AddressZoneValue>
    <Links>
      <Link toZone="zip" lookupOrder="1"/>
      <Link toZone="city" lookupOrder="2"/>
    </Links>
  </Zone>
</Zones>

See also