[OpenLayers-Dev] simplifyLineString

Marc Jansen jansen at terrestris.de
Fri Dec 17 04:17:07 EST 2010


Hi devs,

great that this landed in trunk! I just submitted minor corrections to 
the ticket 2689:  The example was referencing the 
OpenLayers.Util.simplifyLineString instead of 
OpenLayers.Layer.Vector::simplify.

Best regards,

Marc



On 15.12.2010 12:57, Christian Mayer wrote:
> Hi,
>
> Thanks for reviewing Andreas! I attached the new patch to the ticket.
>
> Best regards,
> Chris
>
>
> Am 15.12.2010 10:25, schrieb Andreas Hocevar:
>> Hi,
>>
>> I just commented on the ticket. If the patch can be changed so this 
>> new functionality gets implemented as 
>> OpenLayers.Geometry.LineString::simplify, then it will be easier to 
>> move this to a separate Geometry library later. When done, I'll give 
>> it a final review and make sure that it becomes part of the library.
>>
>> Andreas.
>>
>> On Dec 15, 2010, at 10:15 , Marc Jansen wrote:
>>
>>> Hi list,
>>>
>>> Is there any news about this ticket? Is it likely that this will 
>>> make it into trunk? A comment on the ticket would be appreciated, I 
>>> guess :-)
>>>
>>> I faintly remember that there were ideas of having/developing a 
>>> seperate geometry-library that would handle these sorts of 
>>> functionality -- is there any progress on that library/effort?
>>>
>>> Best Regards,
>>> Marc
>>>
>>>
>>>
>>> On 11.10.2010 08:30, Christian Mayer wrote:
>>>> Hello list,
>>>>
>>>> I opened an enhancement ticket 
>>>> (http://trac.osgeo.org/openlayers/ticket/2869).
>>>>
>>>> Thanks for any review!
>>>>
>>>> Best regards,
>>>> Chris
>>>> -- 
>>>>
>>>>   Dipl.-Ing.(FH) Christian Mayer
>>>>   - Anwendungsentwickler -
>>>>
>>>>   terrestris GmbH&  Co. KG
>>>>   Irmintrudisstraße 17
>>>>   53111 Bonn
>>>>
>>>>   Tel:    ++49 (0)228 / 96 28 99 -53
>>>>   Fax:    ++49 (0)228 / 96 28 99 -57
>>>>
>>>>   Email:
>>>> mayer at terrestris.de
>>>>
>>>>   Web:
>>>> http://www.terrestris.de
>>>>
>>>>
>>>>   Amtsgericht Bonn, HRA 6835
>>>>   Komplementärin:  terrestris Verwaltungsgesellschaft mbH
>>>>   vertreten durch: Hinrich Paulsen, Till Adams
>>>>
>>>>
>>>> Am 07.10.2010 12:25, schrieb Christian Mayer:
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>




More information about the Dev mailing list