[MetaCRS] CS-Map Conversion Errors

Owen Wengerd owenw at manusoft.com
Fri Oct 14 01:40:23 EDT 2011


I'm a first time user of CS-Map.  In testing the CS_cnvrt function, I 
noticed small errors (on an order of several hundred feet) in converting 
from LL to UTM coordinates.  When I ran the CS_Test utility, it also 
reported conversion errors.  To try narrowing down the cause, I downloaded a 
fresh set of files via SVN, built on both 64-bit and 32-bit versions of 
Windows 7, using both Visual Studio 2010 and Visual Studio 2008, and both 
Release and Debug configurations.  In every case the solution built 
apparently without errors, but in every case I received errors when 
subsequently running the unit tests.  Here is some sample output:

cs_test /d..\..\Dictionaries ..\..\Test\Test.dat
====================================================
Verification failure (line 992):
        LL27                    -135.000000000   60.666666667
        LL83                    -135.001868469   60.666373600
                           CALC -135.001917855   60.666382663
Verification failure (line 993):
        LL27                    -135.083333333   60.666666667
        LL83                    -135.085204461   60.666372736
                           CALC -135.085249270   60.666379468
Verification failure (line 994):
        LL27                    -135.000000000   60.750000000
        LL83                    -135.001874553   60.749708753
                           CALC -135.001919581   60.749716895
Verification failure (line 995):
        LL27                    -135.083333333   60.750000000
        LL83                    -135.085210281   60.749707872
                           CALC -135.085251603   60.749713956
Verification failure (line 996):
        LL27                    -135.041666667   60.708333333
        LL83                    -135.043539478   60.708040700
                           CALC -135.043584578   60.708048245
Test 4 failed (973 failures detected)!
Measuring performance: 300000 coordinates; UTM27-13 ==> CO83-C
Converted 300000 coordinates from UTM27-13 to CO83C in   0.16 seconds.
Effective conversion rate = 1935483 conversions per second.
====================================================

Am I doing something wrong, or are these tests no longer valid?
-- 
Owen Wengerd
ManuSoft



More information about the MetaCRS mailing list