Skip To Content

010193: PATHDISTANCE: Illegal horizontal factor modifier.


The horizontal factor modifier is not valid. Horizontal factor parameters define the relationship between the horizontal cost factor and the horizontal relative moving angle (HRMA). The parameters are composed of a keyword specifying an existing graph or table for a custom graph created from an ASCII file. The keyword parameter can have modifiers, and the entire string needs to be in quotes. Spaces must separate the keyword and modifiers. The format for horizontal parameter modifiers is "modifier_name=value". Valid horizontal keywords are BINARY, FORWARD, LINEAR, INVERSE_LINEAR, and TABLE. Valid horizontal factor modifiers to the keywords are ZEROFACTOR, CUTANGLE, SLOPE, SIDEVALUE, and table_name. For example, a valid horizontal factor parameter is "BINARY CUTANGLE=120".


The following list of issues identifies how to resolve the most common problems encountered with the horizontal factor parameters:

  • Ensure the horizontal factor modifiers are valid.
  • Ensure the modifiers and the keyword are contained within quotes.
  • Ensure there is a space between the keyword and the modifiers.
  • Ensure the modifier is identified followed by an equal sign and the value to assign the modifier.
  • No spaces are allowed between the modifier, the equal sign, and the assigned value.
The documentation for How PathDistance works gives more information on the formatting of the parameter file.