Click or drag to resize

SET REGION COUNT Statement

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
SET REGION COUNT Statement

Alchemy will infer the number of administrative region levels from a supplied data file, however some data providers span a single data set across multiple files which may result in Alchemy detecting an incorrect number of region levels. The SET REGION COUNT statement overrides the inferences made by Alchemy and sets the number of administrative region levels present in the data.

Syntax

Alchemy
SET REGION COUNT value;
[SET REGION COUNT VARIES;]

Nomenclature

valueThe number of region levels to set.

Example

Alchemy
SET REGION COUNT 4;

This sets the number of administrative region levels to four.

If you are creating a data file for the United Kingdom, you will note that the two countries of Scotland and England have different numbers of administrative levels. In this case, add the SET REGION COUNT VARIES statement after the above SET REGION COUNT statement:

Alchemy
SET REGION COUNT 4;
SET REGION COUNT VARIES;

This will ensure that the English administrative regions are promoted to their proper position.

Caution note Caution

In the event that a street is missing region levels, the lower region levels will be promoted to fill the upper region levels. This behavior may be undesirable.