[OpenLayers-Trac] [OpenLayers] #1245: intersects code suffers due to floating point errors

OpenLayers trac at openlayers.org
Fri Jan 4 02:46:45 EST 2008


#1245: intersects code suffers due to floating point errors
------------------------+---------------------------------------------------
  Reporter:  crschmidt  |       Owner:  tschaub    
      Type:  feature    |      Status:  new        
  Priority:  minor      |   Milestone:  2.6 Release
 Component:  Geometry   |     Version:  2.5        
Resolution:             |    Keywords:             
     State:  Review     |  
------------------------+---------------------------------------------------
Changes (by tschaub):

  * state:  => Review

Comment:

 So, if you're intersections occur beyond the thirteenth significant
 figure, watch out!  Though we may want a different solution long term,
 this keeps us safe(r) testing for intersections given geometries whose
 coordinates have many digits.

 Tests pass in FF and IE (what a pleasant surprise).

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1245#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list