003630: Incorrect syntax for Result Order parameter.

Description

The syntax is invalid for the Create Composite Address Locator tool's Result Order parameter

Solution

Note:

To ensure the correct syntax, it is highly recommended that you run the tool first from the Geoprocessing pane and then export the Python code from the History pane.

If the Result Order parameter is specified as Locator Order, the correct syntax is a comma delimited string of locator names. For example, with two locators, Atlanta.loc and Raleigh.loc, the parameter should be formatted as follows: "Atlanta, Raleigh".

If the Result Order parameter is specified as Order by Role and Score, the correct syntax is comma delimited string of each role , with the locator role in square brackets followed by each locator that contains that role appended with a period and role name in a comma delimited list contained in parentheses. For example, with two multirole locators (Atlanta.loc and Raleigh.loc) that each contain the Point Address role, Street Address role, and Postal role, the parameter should be formatted as follows: "[PointAddress](Atlanta.PointAddress,Raleigh.PointAddress),[StreetAddress](Atlanta.StreetAddress,Raleigh.StreetAddress),[Postal](Atlanta.Postal,Raleigh.Postal)".

Note:

Order the roles from most to least precise (Point Address before Street Address, and so on).

If the Result Order parameter is specified as Custom Order, the correct syntax is a comma delimited string of the locator name appended with a period and the locator role. For example, with two multirole locators (Atlanta.loc and Raleigh.loc) that each contain Point Address role, Street Address role, and Postal role, the parameter should be formatted as follows: "Atlanta.StreetAddress,Atlanta.PointAddress,Raleigh.PointAddress,Raleigh.Postal,Atlanta.Postal,Raleigh.StreetAddress".