Hi,

2008/10/31 Harald Kucharek <[EMAIL PROTECTED]>:
>
> -------- Original-Nachricht --------
>> Datum: Fri, 31 Oct 2008 09:11:46 +0000
>> Von: "Brian Quinion" <[EMAIL PROTECTED]>
>> An: "Frederik Ramm" <[EMAIL PROTECTED]>
>> CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
>> Betreff: Re: [josm-dev] JOSM extension for orthogonalizing ways
>
>> Hi,
>>
>> Sounds good - I keep hitting problems where I have a rectangle that
>> has an extra point on on of the edges and so can't easily use the
>> existing functionality.
>
> Hmmm, I guess, this case would also not be accepted by my function, as one of 
> the prerequisites is, that every segment must have a distinct direction 
> change compared to the segment before. Otherwise I had to handle the case of 
> collinear segments or segments where direction changes only slightly. Would 
> be difficult to decide what to do with those. But I'm open for any ideas.

I was bothered by the same thing and I think it could be helped by
treating direction changes of < 45 deg as 0 deg, i.e. align the
consecutive points in line or as if there was no node there at all.

Cheers

_______________________________________________
josm-dev mailing list
[EMAIL PROTECTED]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to