evanmiller / ProjCL

GPU and vector-enabled map projections, geodesic calculations, and image warping 🌎🌍🌏

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

American Polyconic test failures

evanmiller opened this issue · comments

For some reason, this error appears on Linux w/ Intel drivers, but not on Apple platforms.

Testing consistency of American Polyconic
-- Spherical, centered... 4 failures
**** Max longitudinal error: 0.000000 at (0.000000, 0.000000)
**** Max latitudinal error: 0.000527 at (44.999111, 0.282741)
-- Spherical, off-center... ok
-- Ellipsoidal, centered... 4 failures
**** Max longitudinal error: 0.000004 at (44.999111, 0.282741)
**** Max latitudinal error: 0.000530 at (44.999111, 0.282741)
-- Ellipsoidal, off-center... ok

After increasing the number of test points to 10,000, these errors now appear on OS X. It appears to happen near 45E.

Testing consistency of American Polyconic
-- Spherical, centered... 12 failures
**** Max longitudinal error: 0.000004 at (44.999779, 0.141371)
**** Max latitudinal error: 0.001376 at (44.999992, 0.028274)
-- ...same as Proj.4... 12 failures
**** Max longitudinal error: 0.000000 at (0.000000, 0.000000)
**** Max latitudinal error: 200.159668 at (5003768.000000, 4113.636719)
-- Spherical, off-center... 6 failures
**** Max longitudinal error: 0.000019 at (-44.999992, -0.028274)
**** Max latitudinal error: 0.001387 at (44.999992, -0.028274)
-- ...same as Proj.4... 8 failures
**** Max longitudinal error: 1.000000 at (-6115710.500000, -1121133.750000)
**** Max latitudinal error: 203.750000 at (-6115710.500000, -1121133.750000)
-- Ellipsoidal, centered... 12 failures
**** Max longitudinal error: 0.000008 at (44.999920, 0.084823)
**** Max latitudinal error: 0.001383 at (44.999992, 0.028274)
-- ...same as Proj.4... 12 failures
**** Max longitudinal error: 0.500000 at (5009334.000000, 20485.785156)
**** Max latitudinal error: 200.383301 at (5009375.500000, 4097.176270)
-- Ellipsoidal, off-center... 6 failures
**** Max longitudinal error: 0.000019 at (-44.999992, -0.028274)
**** Max latitudinal error: 0.001394 at (44.999992, 0.028274)
-- ...same as Proj.4... 8 failures
**** Max longitudinal error: 1.000000 at (-6122564.500000, -1115008.000000)
**** Max latitudinal error: 204.000000 at (-6122564.500000, -1115008.000000)

Fixed in f10936e