[postgis-devel] [PostGIS] #2043: test_spheroid_area fails

PostGIS trac at osgeo.org
Fri Oct 12 06:27:27 PDT 2012


#2043: test_spheroid_area fails
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 Debbie and Winnie are similarly unhappy.

 Debbie: 64-bit Debian 6
 {{{
 sphere: 12360265021.4
 spheroid: 12304814950.1
 FAILED
     1. cu_geodetic.c:993  -
 CU_ASSERT_DOUBLE_EQUAL(a1,89.7127703297,0.0001)
 }}}

 Winnie - Mingw64 32-bit compile

 {{{
  Test: test_lwgeom_area_sphere ...FAILED
     1. cu_geodetic.c:1173  -
 CU_ASSERT_DOUBLE_EQUAL(area,12360265021.3561,0.01)
   Test: test_signum ...passed
   Test: test_gbox_from_spherical_coordinates ...passed
   Test: test_gserialized_get_gbox_geocentric ...passed
   Test: test_clairaut ...passed
   Test: test_edge_intersection ...passed
   Test: test_edge_distance_to_point ...passed
   Test: test_edge_distance_to_edge ...passed
   Test: test_lwgeom_distance_sphere ...passed
   Test: test_lwgeom_check_geodetic ...passed
   Test: test_gserialized_from_lwgeom ...passed
   Test: test_spheroid_distance ...passed
   Test: test_spheroid_area ...
 sphere: 12360265021.4
 spheroid: 12304814950.1
 FAILED
     1. cu_geodetic.c:993  -
 CU_ASSERT_DOUBLE_EQUAL(a1,89.7127703297,0.0001)
 }}}

 Winnie - 64-bit mingw64 compile

 {{{
 sphere: 12360265021.4
 spheroid: 12304814950.1
 FAILED
     1. cu_geodetic.c:993  -
 CU_ASSERT_DOUBLE_EQUAL(a1,89.7127703297,0.0001)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2043#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list