Edit a routing mode's XML file

When you create a custom routing mode, you have the option to save the custom mode as a template, which can then be selected as one of the standard routing modes. The custom routing mode is saved as an XML file, which must be edited before you can change the height, weight, width information of the routing mode when it is selected as a standard routing mode.

Information on selecting a standard routing mode, creating a custom routing mode, and saving a custom mode to an XML file is available in Add, edit, arrange, and delete routing modes.

Custom routing mode templates saved to C:/Program Files/Optimetrics/ADASHI Maps/RouteConfig. If you copy other existing routing templates to this location, you can select them as well as a standard routing mode.

  1. In a text editor such as Notepad, navigate to C:\Program Files (x86)\FH Mobile Response\Maps\RouteConfig and open the custom routing mode XML file you need to edit.
  2. In the <Parameters> section, find the first line with a vehicle height reference.

    Example:
    <TemplateParameter Label="Vehicle Height (meters)" ParameterID="ParmID_1" Unit="" Type="Double" IsShared="false" UserSpecified="false" />

  3. At the end of the line, change the value for UserSpecified from false to true.
  4. (If there are multiple alternate route parameters) Find and delete all other TemplateParameter lines containing for the height restriction.

    Note: It is important to have a single height parameter setting that is applied to all of the alternate route parameters.

  5. Repeat the previous three steps, finding the references to vehicle weight and width and changing the value for UserSpecified from false to true.

    Examples:

    <TemplateParameter Label="Vehicle Weight (kilograms)" ParameterID="ParmID_15" Unit="" Type="Double" IsShared="false" UserSpecified="false" />

    <TemplateParameter Label="Vehicle Width (meters)" ParameterID="ParmID_17" Unit="" Type="Double" IsShared="false" UserSpecified="false" />

  6. Find the <TemplateOptions> section of the file.

    Each alternate route's parameters are controlled in this section of the file.

    For each alternate route to use the UserSpecified setting you edited earlier, the ParameterID in this section must match the ParameterID in the <Parameters> section above.

  7. In the <TemplateOptions> section, find the first line with a vehicle height reference.

    Example: <Parameter Name="Vehicle Height (meters)" ParameterID="ParmID_4" Type="Double">

  8. Change the value for ParameterID in this line to match the corresponding ParameterID in the <Parameters> section above.

    Example: If the line in the <Parameters> section is:

    <TemplateParameter Label="Vehicle Height (meters)" ParameterID="ParmID_1" Unit="" Type="Double" IsShared="false" UserSpecified="true" />

    You would need to change

    Parameter Name="Vehicle <span style="color: #ff0000;">Height</span> (meters)" ParameterID="ParmID_4" Type="Double"

    to

    Parameter Name="Vehicle Height (meters)" ParameterID="ParmID_1" Type="Double"

  9. Save and close the file.