The fourth wizard step of setting geocoding by features is setting searching scheme (figure 77-11).
Figure 77-11. Geocoding wizard, page “Setting searching scheme”
Searching scheme is intended for determining features of searching type to position of which geocoded features will be bound.
Search of features is performed on the basis of correspondence of records of two tables: geocoded table records of which will be used when creating geocoded features and searching table records of which are linked with features of searching type.
To set the correspondence between table records, pairs consisting of two fields are specified in the searching scheme. One of them belongs to the searching table, the other – to the table linked with geocoded type. Correspondence between records is set in the case of equality of field values in each pair.
For every record of geocoded table looking for records of the searching table coinciding with values of field included into the scheme is performed. For every feature of the searching type linked with found records of searching table a feature of geocoded type is created.
If for some record of the geocoded table no record of the searching table has been found or if features of searching type are not linked with found records, geocoded feature is not created.
To specify the searching scheme it is possible to use fields from several searching tables linked with geocoded type.
To add an element to the searching scheme it is required to do the following:
In the drop-down list Searching table select the table by records of which search will be performed.
In drop-down lists Field of searching table and Field of geocoded table select fields specifying the correspondence between records of the searching table and records of geocoded table.
Push the button Add. The system checks that there were no two identical elements, otherwise the message “Duplicated elements” is displayed.
In the given example one should specify the correspondence of fields of the searching table “Building Certificates” containing addresses of buildings, to fields of geocoded table “Clients” containing addresses of clients as it is shown at figure 77-11.
To correct the searching scheme buttons: Change, Remove and Remove All can be used. To change the scheme element the user should select this element, change values in the fields Searching table, Field of searching table and Field of geocoded table and then push the button Change. The button Remove removes the scheme element selected in the list and the button Remove All – clears the searching scheme.