[OpenLayers-Dev] simplifyLineString

Christian Mayer mayer at terrestris.de
Thu Oct 7 06:25:48 EDT 2010


Hello list,

I have written a little patch (see attached file) for OpenLayers.Util in 
order to provide a function simplifiyng LineStrings. Base of the code is 
the Douglas-Peucker algorithm. Due to a threshhold unnecessary vertices 
are removed.
I would be happy if this could be included to the code base of 
OpenLayers. Shall I open an enhancement ticket?

Best regards,
Chris




-------------- next part --------------
A non-text attachment was scrubbed...
Name: util-simplifyLineString.patch
Type: text/x-patch
Size: 7925 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101007/d8134610/util-simplifyLineString.bin


More information about the Dev mailing list