[Qgis-developer] Offset curve tool

Denis Rouzaud denis.rouzaud at gmail.com
Wed Feb 29 08:54:58 EST 2012


Seems possible, as the bug appears when one segment of the line is 
getting very very small.

On 02/29/2012 02:45 PM, Marco Hugentobler wrote:
> Hi Denis
>
> In certain cases, geos trunk throws an exception (version 3.2 crashes):
>
> ERROR 1: IllegalArgumentException: RobustDeterminant encountered 
> non-finite numbers
>
> I noticed it happens often with lines with dense vertex distributions 
> (e.g. segmented curves). Maybe Sandro (strk) knows more about the 
> details?
>
> Regards,
> Marco
>
> On 29.02.2012 14:28, Denis Rouzaud wrote:
>> Hi Marco,
>>
>> I noticed a bug and Qgis crashes.
>>
>> Here is a video http://youtu.be/DBbMg5rO8fU
>>
>> The geometry of the line I played with is:
>>
>> LINESTRING(554235.01669295 145547.73137862,554242.99020772 
>> 145548.76938867,554245.33776182 145545.30016923,554245.49416371 
>> 145544.76210759)
>>
>> Greetings,
>>
>> Denis
>>
>>
>> On 02/29/2012 11:11 AM, Marco Hugentobler wrote: Hi all
>>
>> There is a new editing tool in the master branch.
>> The offset curve tool creates parallel shifts of linestrings and 
>> polygon rings ( single sided buffers with the geos function 
>> GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
>> (the geometries are modified) or also to background layers (creates 
>> copies of the lines / rings and adds it to the the edited layer). It 
>> is thus ideally suited for the creation of distance line layers.
>>
>> Let me know about issues, suggestions, comments.
>>
>> The work was kindly funded by the city of Uster (Switzerland).
>>
>> Regards,
>> Marco
>>
>>
>> On 02/29/2012 11:11 AM, Marco Hugentobler wrote:
>>> Hi all
>>>
>>> There is a new editing tool in the master branch.
>>> The offset curve tool creates parallel shifts of linestrings and 
>>> polygon rings ( single sided buffers with the geos function 
>>> GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
>>> (the geometries are modified) or also to background layers (creates 
>>> copies of the lines / rings and adds it to the the edited layer). It 
>>> is thus ideally suited for the creation of distance line layers.
>>>
>>> Let me know about issues, suggestions, comments.
>>>
>>> The work was kindly funded by the city of Uster (Switzerland).
>>>
>>> Regards,
>>> Marco
>>>
>
>


More information about the Qgis-developer mailing list