[josm-dev] Ticket #601: Auto-retry of uploads doesn't catch all timeouts

2008-08-12 Thread Florian Heer
Another Hi! I looked into #601 and found some to my mind dirty programming. The described behaviour in the ticket is as I think a basic Problem in the OsmServerWriter. Any occuring Exception is in the end encapsulated in a RuntimeException, like for example this: if (retries-- > 0)

[josm-dev] Tickets regarding probably disused presets-fileformat

2008-08-12 Thread Florian Heer
Hi! I'm sifting through the tickets to find things that I think I can easily fix... During that search I found #409 (Disregard the readonly in tagging presets), #533 (item type doesn't allow comma separated values) which are bugs related to the format of presets.xml. When I look at the current

[josm-dev] Ticket #351: Edit Relation dialog is always on top

2008-08-12 Thread Florian Heer
Hi again, attached patch solves #351, but I am not absolutely sure if that is a good idea. The line try { setAlwaysOnTop(true); } catch (SecurityException sx) {} which had to be commented out for this, had been put there for a reason. I don't see a reason, but maybe there is one. Regards, Fl

Re: [josm-dev] BEst Practices

2008-08-12 Thread Leonardo RamosHernandez
I am subscribed to the digest.  So I do not follow everything you guys write. I do have an opinion about best practices and Java-ism. The best practices and patterns ease the learning curve for new comers.  These have real costs benefits in industry where programmers are paid by the hour and

Re: [josm-dev] Ticket #488: Unnecessarily prompted to select way to split even though only one way extends through node

2008-08-12 Thread Florian Heer
Dirk Stöcker schrieb: > One comment for future stuff - check diff files before sending - You had > some changes in .classpath, which shouldn't be there. > :-) That happens if I don't copy & paste into the mail itself... Will check in the future. > More fixes to follow? I hope so ... > Mor

Re: [josm-dev] direct upload via josm

2008-08-12 Thread Karl Newman
On Tue, Aug 12, 2008 at 7:32 AM, Subhodip Biswas <[EMAIL PROTECTED]>wrote: > hi! > > I was looking to upload gps traces via a plugin in josm the way we do > using openstreetmap api .. and curl . Is there any alternate way apart > from this .. involving curl will give rise to more dependencies . >

Re: [josm-dev] "add node" to split up way?

2008-08-12 Thread Maarten Deen
David Earl wrote: > On 12/08/2008 12:31, Maarten Deen wrote: >> On Tue, Aug 12, 2008 at 01:26:50PM +0200, Tobias Wendorff wrote: >> >>> I'm missing one important function in JOSM: "Add Node"! >>> >>> In CAD-software and other GIS-editors, you can add nodes to existing >>> ways in order to split th

Re: [josm-dev] "add node" to split up way?

2008-08-12 Thread David Earl
On 12/08/2008 12:31, Maarten Deen wrote: > On Tue, Aug 12, 2008 at 01:26:50PM +0200, Tobias Wendorff wrote: > >> I'm missing one important function in JOSM: "Add Node"! >> >> In CAD-software and other GIS-editors, you can add nodes to existing >> ways in order to split them up. >> >> Is this reall

[josm-dev] direct upload via josm

2008-08-12 Thread Subhodip Biswas
hi! I was looking to upload gps traces via a plugin in josm the way we do using openstreetmap api .. and curl . Is there any alternate way apart from this .. involving curl will give rise to more dependencies . please suggest . any links and pointers will be helpful . -- Regards Subhodip Biswas

Re: [josm-dev] "add node" to split up way?

2008-08-12 Thread Maarten Deen
On Tue, Aug 12, 2008 at 01:26:50PM +0200, Tobias Wendorff wrote: > I'm missing one important function in JOSM: "Add Node"! > > In CAD-software and other GIS-editors, you can add nodes to existing > ways in order to split them up. > > Is this really a missing feature or am I too stupid to find it

[josm-dev] "add node" to split up way?

2008-08-12 Thread Tobias Wendorff
Hi there, I'm missing one important function in JOSM: "Add Node"! In CAD-software and other GIS-editors, you can add nodes to existing ways in order to split them up. Is this really a missing feature or am I too stupid to find it? Best regards, Tobias __

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-12 Thread Till Amma
Hi, I don't see why this needs so much discussion. Everything has been said a good while ago in this thread. Now it seems to become more and more a discussion about taste. And as we all know taste is diffrent. It is good to know that there are two approaches right now. JOSM-ng for the guys liking

Re: [josm-dev] Ticket #488: Unnecessarily prompted to select way to split even though only one way extends through node

2008-08-12 Thread Dirk Stöcker
On Tue, 12 Aug 2008, Florian Heer wrote: > I think I have a solution for this nuisance, but first of all a question, as > I don't know the data structure by heart yet: > is the list of nodes of a way guaranteed to be sorted by their occurence in > the way? Meaning: is the first node in the list

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-12 Thread Dirk Stöcker
On Tue, 12 Aug 2008, Frederik Ramm wrote: > Gervase Markham wrote: >> standard Java-isms >> industry best practice > > Structural design patterns > > I, for one, would like to also attract developers for whom maybe Java > and OO are not the environment in which they spend all of their > programmin

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-12 Thread Frederik Ramm
Hi, Gervase Markham wrote: > standard Java-isms > industry best practice > Structural design patterns I, for one, would like to also attract developers for whom maybe Java and OO are not the environment in which they spend all of their programming lifes and for whom a comment like "using decor