[OpenLayers-Trac] Re: [OpenLayers] #2869: Add simplify function for LineString geometries based upon Douglas-Peucker algorithm

OpenLayers trac-20090302 at openlayers.org
Wed Dec 15 04:24:18 EST 2010


#2869: Add simplify function for LineString geometries based upon Douglas-Peucker
algorithm
---------------------------------------------------------+------------------
 Reporter:  chrismayer                                   |       Owner:                 
     Type:  feature                                      |      Status:  new            
 Priority:  minor                                        |   Milestone:  2.11 Release   
Component:  Util                                         |     Version:  2.10           
 Keywords:  douglas-peucker, generalization, linestring  |       State:  Needs More Work
---------------------------------------------------------+------------------
Changes (by ahocevar):

  * state:  Review => Needs More Work


Comment:

 Thanks @chrismayer for this great patch. The implementation of Douglas-
 Peucker looks solid. Do you think you can modify your patch so this
 becomes part of OpenLayers.Geometry.LineString instead of OpenLayers.Util?
 I think {{{simplify}}} would make a nice name for this method.

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


More information about the Trac mailing list