[postgis-devel] [PostGIS] #703: measures test failure

PostGIS trac at osgeo.org
Wed Dec 29 05:28:38 PST 2010


#703: measures test failure
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 Nik, you'll note it only gets passed in the compilation of lwspheroid.c,
 since it has some performance drawbacks in restricting the kinds of code
 the compiler generates we only want to use it where we "have" to. In my
 case I needed it to settle down some precision issues with the spherical
 code, which were causing incorrect answers. I think that unless the
 precision issues you are getting are making things actually *wrong* (ie,
 getting a false where you should get a true) you should just ignore the
 precision issues and wrap the regression tests in some light rounding.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/703#comment:17>
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