Thursday, June 19, 2008

VBA Parcel Map Check Rounding Error

The vba Map Check Report rounds the raw value of radians before it passes it to the Reports_Utilities.dvb file which causes it to give incorrect values if the direction precision is set to 4. To correct this I changed the code in the Data Extractor Module of the Report_ParcelMapCheck.dvb to not round the value. Instead it just sets the direction to whole value. It doesn't need to round it here since it rounds it later on when it prints it to html.

1 comment:

Anonymous said...

so does it perform the mapcheck based on the raw values as it is passed to the Reports_Utilities.dvb?
I would expect that to get the same result as the export analysis in parcels, you would need to round it first.


Blog Widget by LinkWithin