Skip To Content

010190: PATHDISTANCE: Error in horizontal factor modifiers.

Description

Horizontal factor parameters define the relationship between the horizontal cost factor and the horizontal relative moving angle. 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".

Solution

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

  • Make sure that the modifiers and the keyword are contained within quotes.
  • Make sure there is a space between the keyword and the modifiers.
  • Make sure that the modifier is identified followed by an equal sign and the value to assign the modifier.
  • No spaces are 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.