Ticket #28 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

make check has errors (proj-4.6.1)

Reported by: rstarr Owned by: warmerdam
Priority: major Milestone:
Component: default Version: 4.6.1
Keywords: test suite Cc:

Description (last modified by warmerdam) (diff)

OS: RH Enterprise 4.7 2.6.9-78.0.13.ELsmp x86_64 x86_64 x86_64 GNU/Linux gcc (GCC) 3.4.6 20060404

Compile is clean, then I run

make check

and this is what I get:

============================================
Running ./testvarious using ../src/cs2cs:
============================================
doing tests into file td_out, please wait
diff td_out with td_out.dist
3,4c3,4
< 111d00'00.000"W 44d00'00.000"N 0.0    111dW   44dN 0.000
< 111d00'00.000"W 39d00'00.000"N 0.0    111dW   39dN 0.000
---
> 111d00'00.000"W 44d00'00.000"N 0.0    111d0'3.085"W   43d59'59.756"N 0.000
> 111d00'00.000"W 39d00'00.000"N 0.0    111d0'2.604"W   38d59'59.912"N 0.000
7,8c7,8
< 111d00'00.000"W 44d00'00.000"N 0.0    111dW   44dN 0.000
< 111d00'00.000"W 39d00'00.000"N 0.0    111dW   39dN 0.000
---
> 111d00'00.000"W 44d00'00.000"N 0.0    111d0'2.788"W   43d59'59.725"N 0.000
> 111d00'00.000"W 39d00'00.000"N 0.0    111d0'2.604"W   38d59'59.912"N 0.000
11,14c11,14
< 79d58'00.000"W 37d02'00.000"N 0.0     79d58'W 37d2'N 0.000
< 79d58'00.000"W 36d58'00.000"N 0.0     79d58'W 36d58'N 0.000
< 79d58'00.000"W 37d02'00.000"N 0.0     79d58'W 37d2'N 0.000
< 79d58'00.000"W 36d58'00.000"N 0.0     79d58'W 36d58'N 0.000
---
> 79d58'00.000"W 37d02'00.000"N 0.0     79d58'0.005"W   37d1'59.998"N 0.000
> 79d58'00.000"W 36d58'00.000"N 0.0     79d57'59.128"W  36d58'0.501"N 0.000
> 79d58'00.000"W 37d02'00.000"N 0.0     79d57'59.126"W  37d2'0.501"N 0.000
> 79d58'00.000"W 36d58'00.000"N 0.0     79d57'59.128"W  36d58'0.501"N 0.000

PROBLEMS HAVE OCCURED
test file td_out saved


And here is td_out:
% cat ./nad/td_out
##############################################################
1st through ntv1, 2nd through conus
111d00'00.000"W 44d00'00.000"N 0.0      111dW   44dN 0.000
111d00'00.000"W 39d00'00.000"N 0.0      111dW   39dN 0.000
##############################################################
As above, but without ntv1 everything goes through conus file.
111d00'00.000"W 44d00'00.000"N 0.0      111dW   44dN 0.000
111d00'00.000"W 39d00'00.000"N 0.0      111dW   39dN 0.000
##############################################################
Test MD used where available
79d58'00.000"W 37d02'00.000"N 0.0       79d58'W 37d2'N 0.000
79d58'00.000"W 36d58'00.000"N 0.0       79d58'W 36d58'N 0.000
79d58'00.000"W 37d02'00.000"N 0.0       79d58'W 37d2'N 0.000
79d58'00.000"W 36d58'00.000"N 0.0       79d58'W 36d58'N 0.000
##############################################################
Test raw ellipse to raw ellipse
79d58'00.000"W 37d02'00.000"N 0.0       79d58'W 37d2'N 0.000
79d58'00.000"W 36d58'00.000"N 0.0       79d58'W 36d58'N 0.000
##############################################################
Test NAD27 to raw ellipse
79d00'00.000"W 35d00'00.000"N 0.0       79dW    35dN 0.000
##############################################################
Between two 3parameter approximations on same ellipsoid
0d00'00.000"W 0d00'00.000"N 0.0 0dE     0dN 4.000
79d00'00.000"W 45d00'00.000"N 0.0       78d59'59.821"W  44d59'59.983"N 0.540
##############################################################
3param to raw ellipsoid on same ellipsoid
0d00'00.000"W 0d00'00.000"N 0.0 0dE     0dN 0.000
79d00'00.000"W 45d00'00.000"N 0.0       79dW    45dN 0.000
##############################################################
Test simple prime meridian handling.
0d00'00.000"W 0d00'00.000"N 0.0 1dW     0dN 0.000
79d00'00.000"W 45d00'00.000"N 0.0       80dW    45dN 0.000
##############################################################
Test simple prime meridian handling within a projection.
500000 3000000  113dW   27d7'20.891"N 0.000
##############################################################
Test geocentric x/y/z generation.
0d00'00.000"W 0d00'00.000"N 0.0 6378137.00      -0.00 0.00
0d00'00.000"W 0d00'00.000"N 10.0        6378147.00      -0.00 0.00
79d00'00.000"W 45d00'00.000"N 0.0       861996.98       -4434590.01 4487348.41
0d00'00.000"W 90d00'00.000"N 0.0        0.00    -0.00 6356752.31
##############################################################
Test geocentric x/y/z consumption.
6378137.00      -0.00 0.00      0dE     0dN 0.000
6378147.00      -0.00 0.00      0dE     0dN 10.000
861996.98       -4434590.01 4487348.41  79dW    45dN 0.001
0.00    -0.00 6356752.31        0dE     90dN -0.004
##############################################################
Test stere projection (re: win32 ticket 12)
105 40  5577808.93      1494569.40 0.00

Change History

Changed 4 years ago by pinky

Tha same issue on: 2.6.28-gentoo-r4-v0001 #1 Sat Mar 21 20:23:08 CET 2009 x86_64 AMD Sempron(tm) Processor 3400+ AuthenticAMD GNU/Linux

Changed 4 years ago by pinky

sory, missing info: gcc 4.3.3

Changed 4 years ago by warmerdam

  • keywords test suite added
  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

The problem is that the datum shift files are not available. I have recently (r1559) modified things in trunk so that the tests dependent on grid shift files are only run if they are available, and to ensure the local copy of the files is used in preference to system files.

In the meantime you may ignore the errors you have seen.

Note: See TracTickets for help on using tickets.