[Potlatch-dev] [OpenStreetMap] #3786: Potlach is creating Circles 2-3 times round

OpenStreetMap trac at openstreetmap.org
Thu Mar 22 13:53:08 GMT 2012


#3786: Potlach is creating Circles 2-3 times round
------------------------+---------------------------------------------------
  Reporter:  TheFive    |       Owner:  potlatch-dev@…                
      Type:  defect     |      Status:  closed                        
  Priority:  minor      |   Milestone:                                
 Component:  potlatch2  |     Version:  2.0                           
Resolution:  fixed      |    Keywords:  circle                        
------------------------+---------------------------------------------------
Changes (by stevage):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Fixed: https://github.com/systemed/potlatch2/pull/49

 The issue is the logic used to fill in the gaps between nodes. If the next
 node goes 10° backwards, that's like 350° - requiring 350/20 extra nodes
 to be added.

 My patch detects these situations and simply shows an error and bails out
 of the whole process. I think some fringe situations may still trigger it,
 but they're much less likely.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/3786#comment:9>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Potlatch-dev mailing list