Legal Reports Bug - bad bearings

Using Open Roads Designer Connect Edition, Version 10.05.00.35, the reports PropertyDescriptionExtended, PropertyDescriptionExtended2, and PropertyDescriptionLong give bad bearings.  These reports show the wrong quadrant and angle.  The angle seems to be the compliment of the correct angle.  I suspect the .xsl has bad javascript code

  • Further investigation indicates that the javascript embedded in the .xsl files is missing the line of code "n =n - Math.PI / 2.0 - n" to convert the angle from being measured as CCW with 0 being due east to being measured CW with due north being 0.  However, this is a short term fix as the precision / format is hard coded in the javascript and not being pulled from the Format Options.  The long term solution is to convert these functions to the cif namespace from the current inr namespace and/or providing options of spelled out bearing directions / spelled out degrees minutes seconds.

  • Can you provide a file with which you have this issue? I would like to reproduce it and log a defect if necessary.

  • Marc,
     
    Here is the design file.  It happens with both Parcel-01 and 01-WD.  The three reports listed in the original post list different bearings from the rest of the templates.
     
    Looking thru the various .XSL templates, most templates use the following command  to list bearings:
    <xsl:value-of select="cif:directionFormat(number(@direction))" />
     
    However, the offending templates use the following line of code:
    <xsl:value-of select="inr:fullDirectionFormat(number(@direction))" />
     
    Let me know if you need anything else.
     
    Steven J. Scheid, Jr., P.E., P.S. | Project Manager
     
  • Hi Steven, I have tried the legal reports and I get an error but different from yours. I get error messages and can't open the reports, see screenshots below. DO you have them too or does it display the reports with the wrong bearing without saying anything?

      

  • Marc,
     
    When I submitted the issue, I was getting bad bearings.  At the time, I was using ORD Version 10.02.00.35.  Since then, I have updated to Version 10.03.00.43.  Since updating, things have been worse.

    The three reports mentioned in the original post are now giving errors similar to what you show.

     

    The other reports do not appear to be working correctly either.  When a parcel and a parent parcel are selected, the parent report is repeated twice except for the area.  If no parent parcel is selected, the other reports work correctly:
     
     
    Here is the correct result when no parent parcel is selected:
     
     
    Steven J. Scheid, Jr., P.E., P.S. | Project Manager