English

FAQ: Can a single value be used for 'To and From' range when geocoding?

Question

Can a single value be used for 'To and From' range when geocoding?

Answer

Yes, a single value can be used. File based locator styles in ArcGIS 9.1 use a house number range index for performance purposes by narrowing down the search:

Code:
RD.IdxFile1.Index = I2, "House Range Index", Normal, "@HouseRange

This function creates index entries for the ranges by blocks of 100:
· 0 0 0 0 does not get any index entries.
· 1 1 1 1 will have a range index entry of 1-99.
·1 101 2 152 will have 2 range index entries on 1-99 and 100-199

This speeds up the search and allows returning candidates with house numbers in a logical range.

When an input address is entered, the parsed house number is also processed with the HouseRange index function.

100 is out of the range index for 1 1 1 1. Address #100 does not return any candidates for this single range street.

It is possible to disable the house number range index search; it is a good idea to make a backup copy of the locator files prior to making any edits. In the locator file, delete or comment out the following line:

Code:
RD.Query1.ConditionalWhere = HN,0, " & I2 = @RoundHN(%HN%)"

If the locator style is GDB based, house range indexes and queries are not used.

The locator files are located in C:\Program Files\ArcGIS\Locators.

Much like editing the classification tables, it is always suggested to make a backup copy of these files prior to making any edits.