[OSM-talk] Josm: bug in Simplify Way?

2008-07-27 Thread Douglas Furlong
> The simplify way action uses the Douglas-Peucker algorithm. You can change > its tolerance (in meters) by modifying the "simplify-way.max-error" preference > (go to the preferences tab, click on the Einstein face, and click "Add"). > Only nodes that are within the tolerance of the simplified wa

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-17 Thread Niccolo Rigacci
On Thu, Jul 17, 2008 at 12:38:48AM +0200, Gabriel Ebner wrote: > > Fixed in OSM r9100, Verified: fantastic! This is another tale for those that - now and then - come up and say that nobody is accountable for free software. Thank you, Gabriel! -- Niccolo Rigacci Firenze - Italy _

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-16 Thread Dermot McNally
2008/7/16 Gabriel Ebner <[EMAIL PROTECTED]>: > Oops. This is pretty embarrassing, but it seems I forgot to convert degrees > to radians before calculating the cross track error... As long as we're on the subject... I tend to find that I can't simplify ways at all, unless I first split them. Gen

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-16 Thread Gabriel Ebner
On Wed, Jul 16, 2008 at 10:02:44PM +0200, Niccolo Rigacci wrote: > > Could you please post the way that shows this problem? (Is it by chance a > > closed way?) > > No, it is a simple open way. Here http://www.rigacci.org/osm/bug/ > you can find: > > - a screenshot of the simplified way over the

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-16 Thread Niccolo Rigacci
On Wed, Jul 16, 2008 at 08:16:34PM +0200, Gabriel Ebner wrote: > > Do you think that I should contact the developers? > > You've already done that as I'm the one to be blamed for that code. That's fantastic! :-) > Could you please post the way that shows this problem? (Is it by chance a > close

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-16 Thread Gabriel Ebner
On Wed, Jul 16, 2008 at 09:29:35AM +0200, Niccolo Rigacci wrote: > > By default it uses a tolerance of 50 meters, so if you want less points to > > be > > removed, you might want to set this to, say, 10 meters. > > This is why I suppose a bug in the tool: the resulting way is far > from the orig

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-16 Thread Niccolo Rigacci
On Tue, Jul 15, 2008 at 10:54:32PM +, Gabriel Ebner wrote: > The simplify way action uses the Douglas-Peucker algorithm. You can change > its tolerance (in meters) by modifying the "simplify-way.max-error" preference > (go to the preferences tab, click on the Einstein face, and click "Add").

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-15 Thread Gabriel Ebner
On Mon, Jul 14, 2008 at 11:26:39PM +0200, Niccolo Rigacci wrote: > > Don't rely on automated simplifiers for conversion of GPS data, do it by > > hand. > > Why not? > > I suppose the algorithm is well known and definited: nodes should > be removed only if the semplified way does not diverge by

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-14 Thread Niccolo Rigacci
On Mon, Jul 14, 2008 at 05:42:36PM +0100, Thomas Wood wrote: > > > > I use regularly the Simplify Way feature in Josm before uploading > > tracks acquired at 10 m samples. > > Uploading as vector data to the main database, or as a simplified GPS track? I do the following: - Open GPX in Josm - C

Re: [OSM-talk] Josm: bug in Simplify Way?

2008-07-14 Thread Thomas Wood
On Mon, Jul 14, 2008 at 4:17 PM, Niccolo Rigacci <[EMAIL PROTECTED]> wrote: > Hi, > > I use regularly the Simplify Way feature in Josm before uploading > tracks acquired at 10 m samples. Uploading as vector data to the main database, or as a simplified GPS track? > Today I noticed that the funcio

[OSM-talk] Josm: bug in Simplify Way?

2008-07-14 Thread Niccolo Rigacci
Hi, I use regularly the Simplify Way feature in Josm before uploading tracks acquired at 10 m samples. Today I noticed that the funcion over-simplify a trace: the worst node in the resulting way is more than 200 m far from the original track! Here [1] you can see a screenshot of the simplifie