Editing the udCreation.properties file (Unix and Linux systems only)

The udCreation.properties contains file path and address variables that need to be updated prior to running the User Dictionary Writer script on Unix and Linux systems.

  1. Locate the udCreation.properties file in the /udwriter/config folder.
  2. Open the file using a text editor.
  3. Modify these fields as needed:
    startRow, endRow Set each to 0 to do all rows in the table. Alternatively set to do a subset of the table. For example, startRow = 12 and endRow = 20. This will build the UD only using rows 12-20.
    street_inputTable The full path with the name of the input Mapinfo table.
    street_outputFile The base name for the User Dictionary files.

    street_outputFilePath
    geoInfo_outputFilePath
    postInfo_outputFilePath
    post2sac_outputFilePath
    lastLine_outputFilePath
    geo2sac_outputFilePath

    The output path to the destination directory of the User Dictionary to be built.
    statusLog The output path to the destination directory of the User Dictionary to be built with the log file name. For example, /dev/opt/udout/testud.log
    errorLog The output path to the destination directory of the User Dictionary to be built with the error file name. For example, /dev/opt/udout/testud.err
    The fields below are required for a User Dictionary with Point addresses:
    street_mainAddress Street address without house number or unit information.
    street_toLeft House number.
    street_fromLeft The same value used for street_toLeft.
    street_leftAreaName1 State abbreviation.
    street_leftPostCode1 5-digit ZIP Code.
    The fields below are optional for a User Dictionary with Point addresses:
    street_leftAreaName3 City or town name.
    street_leftCensusBlock Census Block ID.
    street_leftRangeStatus Odd/Even status.
    street_leftHighZipPlus4 ZIP Code+4
    street_leftLowZipPlus4 This should be the same as street_leftHighZipPlus4.
    street_leftPlaceName Firm name.
    The fields below are constant key-value pairs:

    pointAddressRanges=TRUE
    street_leftHighZipPlus4=NONE
    geoInfo_outputFile=geoinfo
    postInfo_outputFile=postinfo
    post2sac_create=NO
    postInfo_create=NO
    logFiles=NO
    COUNTRY=USA
    street_create=YES
    geo2sac_create=NO
    geoInfo_create=NO
    useConsole=NO

     
    The fields below are required for a User Dictionary with address ranges:
    street_mainAddress Street address without house number or unit information.
    street_fromLeft Left starting house number.
    street_toLeft Left end house number.
    street_fromRight Right starting house number.
    street_toRight Right end house number.
    street_leftAreaName1 State abbreviation.
    street_rightAreaName1 State abbreviation.
    street_leftPostCode1 5-digit ZIP Code.
    street_rightPostCode1 5-digit ZIP Code.
    The fields below are optional for a User Dictionary with address ranges:
    street_leftAreaName3 City or town name.
    street_rightAreaName3 City or town name (same as street_leftAreaName3).
    street_leftCensusBlock Census Block ID.
    street_rightCensusBlock Census Block ID.
    street_leftRangeStatus Odd/Even status.
    street_rightRangeStatus Odd/Even status.
    street_leftLowZipPlus4 4-digit ZIP+4 add-on for left side of street.
    street_rightLowZipPlus4 4-digit ZIP+4 add-on for right side of street.
    street_leftHighZipPlus4 Same as street_leftLowZipPlus4.
    street_rightHighZipPlus4 Same as street_rightLowZipPlus4.
    street_leftPlaceName Firm name
    street_rightPlaceName Firm name (same as street_leftPlaceName)
    The fields below are constant key-value pairs for Streets:

    geoInfo_outputFile=geoinfo
    postInfo_outputFile=postinfo
    post2sac_create=NO
    postInfo_create=NO
    logFiles=NO
    COUNTRY=USA
    street_create=YES
    geo2sac_create=NO
    geoInfo_create=NO
    useConsole=NO

     
  4. Save the file.