Re: [josm-dev] Some bugfixes

2008-06-27 Thread Dirk Stöcker
On Thu, 26 Jun 2008, Frederik Ramm wrote: as I start to JOSM more and more, I made some patches for bugs which disturb me. This is commendable and I'm sorry that I don't currently get to look through trac very often. I have committed your patches apart from 960 which I think requires a bit

[josm-dev] 2 more bug fixes in relation handling

2008-06-27 Thread Dirk Stöcker
Hello, two more fixes: 701 [PATCH] Bug in relation handling splitting up ways 637 [PATCH] JOSM allows duplicate members in relations These two are very annoying :-) Ciao -- http://www.dstoecker.eu/ (PGP key available) ___ josm-dev mailing

Re: [josm-dev] 2 more bug fixes in relation handling

2008-06-28 Thread Dirk Stöcker
On Sat, 28 Jun 2008, Frederik Ramm wrote: The new behaviour is only valid for *some* kinds of relations. Imagine for example a turn restriction - here it is absolutely wrong to make both parts of the split way part of the relation. This I don't understand at all. For me the relation concept

[josm-dev] Some relation handling stuff

2008-06-28 Thread Dirk Stöcker
Hello, two more patches. a) Add deleteselected functionality to RelationEditor. Also includes picture for this. This fixes #781. b) Allow to delete ways even if they are part of a relation. This fixes #779. The users gets a warning request for each element/relation pair and can select to

Re: [josm-dev] Presets

2008-07-01 Thread Dirk Stöcker
On Mon, 30 Jun 2008, Frederik Ramm wrote: attached a bit updated version of the I18n presets patch: Attached where? All missing patches in one: http://www.dstoecker.eu/josm.tbz2 Ciao -- http://www.dstoecker.eu/ (PGP key available) ___ josm-dev

Re: [josm-dev] Presets

2008-07-03 Thread Dirk Stöcker
On Tue, 1 Jul 2008, Christoph Eckert wrote: c) fix key bakery (bug #769) I did this intentional, following some discussion ages before. It led to non-native-speakers using the value butchery. This term is not known to native speakers at all. Now it is official, so a correction was

Re: [josm-dev] Presets

2008-07-03 Thread Dirk Stöcker
On Thu, 3 Jul 2008, dieter jasper wrote: Dirk Stöcker schrieb: nonsense :-) Hopefully the preset translation efforts will help a bit. BTW: Can somebody tell me (or update the wiki) to explain what access=destination and access=designated mean. http://wiki.openstreetmap.org/index.php

[josm-dev] Translation into german

2008-07-03 Thread Dirk Stöcker
Hello, the German translation gets to an end. Nearly 1000 strings translated, 129 missing for now. One string I have problems with: Amenities - I have no idea how to translate this in a sensible way. Are there any other English words, which would describe the same? Has any of the German

Re: [josm-dev] Presets

2008-07-04 Thread Dirk Stöcker
On Wed, 2 Jul 2008, Frederik Ramm wrote: All missing patches in one: All applied in r674. Please tell me which user name you would like and I'll create an JOSM SVN account for you so that I don't have to apply all your patches ;-) Did you get my answer to this I send you directly by mail?

Re: [josm-dev] Translation into german

2008-07-04 Thread Dirk Stöcker
On Fri, 4 Jul 2008, Bodo Meissner wrote: Translate Man made with Zivilisationsbauten is also not one of the best. maybe simply Bauwerke (or Bauten)? Well, that's the problem. I don't see a real difference to the buildings menu. :-) Ciao -- http://www.dstoecker.eu/ (PGP key available)

Re: [josm-dev] Translation into german

2008-07-04 Thread Dirk Stöcker
On Fri, 4 Jul 2008, Bodo Meissner wrote: gpg: Signature made Fr 04 Jul 2008 15:15:35 CEST using DSA key ID 0CC34AA7 gpg: BAD signature from Bodo Meissner [EMAIL PROTECTED] Is this my problem, or is was signature wrong? Well, that's the problem. I don't see a real difference to the buildings

Re: [josm-dev] Presets in toolbar broken

2008-07-05 Thread Dirk Stöcker
On Fri, 4 Jul 2008, Christoph Eckert wrote: appearently the introduction of submenus in the presets menu broke the capability to add presets into the toolbar. Can someone savvy have a look if we could reenable them? See also http://josm.openstreetmap.de/ticket/792 Ciao --

Re: [josm-dev] Mail gefunden

2008-07-05 Thread Dirk Stöcker
On Sat, 5 Jul 2008, Frederik Ramm wrote: Mail gefunden Was war der Grund? Probieren wirs doch gleich nochmal :-) * Es wird naechtlich automatisch ein Build gemacht. Nichts einchecken, was nicht kompiliert (mit Java 5). Jup. Mach ich immer so. 1mal pro 1000 Commits geht es aber trotzdem

Re: [josm-dev] Presets in toolbar broken

2008-07-05 Thread Dirk Stöcker
On Fri, 4 Jul 2008, Christoph Eckert wrote: appearently the introduction of submenus in the presets menu broke the capability to add presets into the toolbar. Can someone savvy have a look if we could reenable them? Done. Martin Koppenhoefer wrote that he's missing this feature. He wonders

Re: [josm-dev] Automatic tag correction

2008-07-06 Thread Dirk Stöcker
On Sun, 6 Jul 2008, Robin Rattay wrote: I've attached a patch, with the hope that someone could give their opinion on the idea in general and my implementation in particular. Idea in general is very nice. Implementation probably has some problems to be fixed, but I'm not yet the one to

Re: [josm-dev] Clockwise coastline, anti-clockwise water

2008-07-07 Thread Dirk Stöcker
On Mon, 7 Jul 2008, Matthias Julius wrote: I thought the same. But the check anyway only tests closed ways (there is no real useable way to determine this issue for non-closed ways. Think of e.g. a U or J shaped way. How will you determine on which side water is (You can probably detect

Re: [josm-dev] Save file dialog

2008-07-08 Thread Dirk Stöcker
On Mon, 7 Jul 2008, Frederik Ramm wrote: I need to add osm/gpx file extension seperation (first three files). Why? Currently, you *can* save any OSM layer as a GPX file. It seems to me that your code would disable this feature, woudln't it? No. It wouldn't. Currently when you save a GPX

Re: [josm-dev] true/false against yes/no

2008-07-10 Thread Dirk Stöcker
On Thu, 10 Jul 2008, Roland Ramthun wrote: I would like to fix the code accordingly and switch to using yes/no. Objections against this? If you use true/false, everyone who didn't sleep at school knows that it is a boolean value with only two possible values. Well, but that's not true :-)

Re: [josm-dev] Unclosed ways

2008-07-12 Thread Dirk Stöcker
On Sat, 12 Jul 2008, Mark Williams wrote: Quite a few roundabouts aren't closed. Reason being, if it goes over one road then under another, you need different way sections to get layering bridge correct. An example: http://www.openstreetmap.org/?lat=51.49664lon=0.27121zoom=16layers=0B0FFF

Re: [josm-dev] Presets in toolbar broken

2008-07-12 Thread Dirk Stöcker
On Sat, 12 Jul 2008, Christoph Eckert wrote: http://josm.openstreetmap.de/ticket/1088 Checked in a fix for this. Not closing yet, as some stuff to do (mainly adding icons :-). When you add an item like this now item name=Streets de:name=Straßen icon=presets/motorway.png/item then it will

Re: [josm-dev] Automatic tag correction

2008-08-03 Thread Dirk Stöcker
On Sun, 3 Aug 2008, Robin Rattay wrote: here is a small update of the TagCorrector. Some code cleanup and addition of the key prefixes/suffixes forward and backward. This does not work: + return applyCorrections( + tagCorrections, +

Re: [josm-dev] i18n -- why not Locales Bundles?

2008-08-06 Thread Dirk Stöcker
On Tue, 5 Aug 2008, Jonathan Bennett wrote: Can anyone tell me why JOSM uses the xnap tools for i18n rather than the standard Java approach of Locales and StringBundles? My primary reason for asking is that I can't get JOSM to build under NetBeans -- the latest version of the xnap-commons

Re: [josm-dev] Request to apply a small patch about the alignment in circle and rotate objects functions

2008-08-06 Thread Dirk Stöcker
On Tue, 5 Aug 2008, Pieren wrote: Could someone commit the following two changes regarding the features align nodes in circle and rotate objects ? Applied. Please do never attach plain text in normal mail body. The patch will not succeed due to changes the mail program does to the text.

[josm-dev] Bug-fixing

2008-08-06 Thread Dirk Stöcker
Hello, probably some of you have seen, that in the last month I tried to reduce the entries in the bug-tracker. ATM there are 109 defect's left: http://josm.openstreetmap.de/query?status=newstatus=assignedstatus=reopenedtype=defectorder=iddesc=1 It would be nice, if others could check for

Re: [josm-dev] JOSM interface for Tagwatch, OSBugs etc.

2008-08-06 Thread Dirk Stöcker
On Tue, 5 Aug 2008, Frederik Ramm wrote: The tagwacht links contains only key/values. If this is just a typo, this is no problem. Otherwise I just download the surounding area with josm after opening the osm file downloaded from tagwatch via xapi. So ideally, the remote control plugin would

Re: [josm-dev] Bug-fixing

2008-08-08 Thread Dirk Stöcker
On Thu, 7 Aug 2008, Pieren wrote: I can verify some of them. But you should explain how to proceed. Shall we add a comment in the tracker entry saying e.g. Yes, I checked this and it is still an issue ? Still exists in Rev xxx Could not verify in Rev xxx Requires following to be reproduced

Re: [josm-dev] JOSM Ticket #263, cancelling an upload

2008-08-10 Thread Dirk Stöcker
On Sun, 10 Aug 2008, Florian Heer wrote: I hope ticket #263 can be closed with that (would have inserted in the svn, but apparently i have no access :-) ). Please supply a patch file. Sure, which format? And can svn create that directly? Sorry, all I have done with svn is to use it as a

Re: [josm-dev] JOSM Ticket #263, cancelling an upload

2008-08-10 Thread Dirk Stöcker
On Sun, 10 Aug 2008, Florian Heer wrote: Index: org/openstreetmap/josm/io/OsmConnection.java === --- org/openstreetmap/josm/io/OsmConnection.java(revision 761) +++ org/openstreetmap/josm/io/OsmConnection.java

Re: [josm-dev] JOSM Ticket #263, cancelling an upload

2008-08-10 Thread Dirk Stöcker
On Mon, 11 Aug 2008, Florian Heer wrote: Dirk Stöcker schrieb: 1 and a half minute is much to much for an cancel. Acceptable is anything That is not 100 seconds, it's 100 milliseconds. I added the higher timeout only to allow a _little_ more time to read a response instead of disconnecting

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

2008-08-11 Thread Dirk Stöcker
On Mon, 11 Aug 2008, [EMAIL PROTECTED] wrote: the main benefit of encapsulation is to make code more flexible for refactoring, internal changes, performance optimization through implementation hiding That is true for new developments. For existing code other rules apply. The main rule here

[josm-dev] JOSM Ubunbtu debugger searched

2008-08-11 Thread Dirk Stöcker
Hello, ATM there are 7 reports related to an excpetion when calling preferences dialog on Ubuntu http://josm.openstreetmap.de/search?q=ToolbarPreferenceswiki=onchangeset=onticket=on None of the systems I have show that error, so I can't debug it. It seems GTK+ style usage is required for

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 programming lifes

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] Patch for sorting members in the relation editor

2008-08-15 Thread Dirk Stöcker
Hello, since I was working with large relations I had the problem finding the right members in the relations editor. With the attached patch the member list gets sortable. Even relations with roles like stop_xx are sorted right. It would be great if someone would apply this patch. Nothing

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

2008-08-15 Thread Dirk Stöcker
On Tue, 12 Aug 2008, Florian Heer wrote: 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,

Re: [josm-dev] Patch for sorting members in the relation editor

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Juergen Buchner wrote: I changed the file layout in jar file a bit. Does ant clean (or whatever you use) help? I start it from within Eclipse. And a build clean doesn't help .. Even checking out in a new workspace didn't change the error message. Please send you

Re: [josm-dev] Validator

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Dermot McNally wrote: Basically, the config file as it currently stands knows that nodes tagged with highway types are bad and it knows that certain classes of highway way that lack a ref attribute _may_ be bad. The drawback of the current validator as implemented is that

Re: [josm-dev] Validator

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Dermot McNally wrote: This information is shown in the ToolTip. You get this when waiting a short time over the error message. Ah yes, so it is... It does force me to mouseover each violation, though. For a large or detailed area, this is going to be very impractical.

Re: [josm-dev] Small patch for Zoom to selection combined with projection Lambert

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Pieren wrote: could someone with a write access to the Josm core repository commit the following (small) patch fixing an issue when Lambert projection is enabled. Again, the problem is that the code uses an initial value with LatLon(0,0) when we execute the zoom to

Re: [josm-dev] Patch for sorting members in the relation editor

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Robin Rattay wrote: The image loader used to look for the icons in /styles/standard/icons. You changed it to /images/styles/styleName (with stylename == standard), which however doesn't exist (as far as I can say - the josm's image directories are a bit confusing :-)

Re: [josm-dev] Validator

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Dermot McNally wrote: I'd still favour my original suggestion - rather than group all of these new errors under the single label they now occupy, group them instead under their respective, detailed, labels. That keeps un-reffed road errors away from, say, typoed landuse

Re: [josm-dev] Patch for sorting members in the relation editor

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Robin Rattay wrote: Ah. Ok. Now I'm sure the settings of eclipse can be changed accordingly. Mainly the change is to have the internal directory /styles/standard/icons in /images now as /images/styles/standard (mainly to allow accessing it from other places as well).

Re: [josm-dev] Patch for sorting members in the relation editor

2008-08-16 Thread Dirk Stöcker
On Sat, 16 Aug 2008, Robin Rattay wrote: Dirk Stöcker schrieb: How can eclipse assume the the local directory structure is equal to the final directory structure in the jar file. I can't believe that. Unfortunatly one of the biggest weaknesses of Eclipse is the poor ant building and jar file

[josm-dev] Color preferences for mappaint

2008-08-16 Thread Dirk Stöcker
Hello, to fix ticket 1177 http://josm.openstreetmap.de/ticket/1177 and because I also want to have the ability to change colors, I introduced a new feature into the mappaint file. Colors now can get names, which can be changed in the preferences of JOSM. Where it is now colour=#ff it can

Re: [josm-dev] Color preferences for mappaint

2008-08-17 Thread Dirk Stöcker
On Sun, 17 Aug 2008, Martin Koppenhoefer wrote: would it also be possible to have /one/ setting for /all/ POI-layers (marker-layers)? At the moment it is possible to set a colour for each marker-layer in the layer-menu, but everytime the name of the layer changes (what means for me every time

Re: [josm-dev] Validator

2008-08-17 Thread Dirk Stöcker
On Sun, 17 Aug 2008, Pierre-André Jacquod wrote: have selected. In any case, some violations are things that you care about (like missing refs) but can't always do anything about. (like tertiaries, where it can be difficult to determine the correct ref). Not in Germany. Here it is easy :-)

Re: [josm-dev] Patch for remembering last download area

2008-08-17 Thread Dirk Stöcker
On Sun, 17 Aug 2008, Rainer Rothkegel wrote: Please find attached a patch that makes josm remember the bounding box of the download area across sessions. Upon a download, the bounding box is stored in the preferences file. This information is used to pre-populate the download dialog when

[josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-17 Thread Dirk Stöcker
Hello, in revision 805 I implemented a new feature I want to know your opinions about: Virtual nodes. When in select mode and the displayed way is long enough, in the middle of the way a little + is added. When clicking this, a new node is created, which can be used immediately. This makes

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, David Earl wrote: That would have been high on my list to implement as well... Why would you want it, when SHIFT+CLICK does this? Or do you want it *exactly* half way? If you add a new node, I guess there are two things you might want to do next - extend a way from the

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dirk Stöcker
Nice, quoting myself :-) On Mon, 18 Aug 2008, David Earl wrote: That would have been high on my list to implement as well... Why would you want it, when SHIFT+CLICK does this? Or do you want it *exactly* half way? If you add a new node, I guess there are two things you might want to do

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Matthias Julius wrote: Dirk Stöcker [EMAIL PROTECTED] writes: After a bit of thinking it is much easier: Adding a listener, which checks ESC presses in Add-Modus and switches back to Select-Mode in case ESC was pressed. You still have the modes, but that would not affect

Re: [josm-dev] Update Plugins fails

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Frederik Ramm wrote: Other plugins are again one step more complex. They use the SVN revision number as their version and thus make manual intervention unnecessary. There is a catch, however, at least with subversion under Linux. If you make a change to the plugin, then

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Henry Loenwind wrote: who had the brain-dead idea to put add-node hotspots into SELECT mode, exactly where we used to click to SELECT ways before---and to leave out a configuration setting to turn it off? First: You should learn to behave. Second: It can be turned off,

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Dermot McNally wrote: PS: pissed, because I just found a couple of added nodes in my command stack and have to redo my last 20 minutes of work because I don't know where they are and don't want to upload bogus nodes... And that excuses rudeness on this scale directed

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Bodo Meissner wrote: I cannot see any crosses when I select a GPX layer in the layers list. I often use this because all ways will be displayed in dark gray colour which makes it easier to see the GPX tracks. Need to test if the element is in active layer. Display is

Re: [josm-dev] add-node idioticy

2008-08-20 Thread Dirk Stöcker
On Wed, 20 Aug 2008, Bodo Meissner wrote: | I would suggest to restrict adding nodes to click | and drag and not to a simple click. The click without dragging the | plus should remain select way as it was before. It will not be | necessary to add a node and leave it where it was, so click and

Re: [josm-dev] Validator - layer for waterway

2008-08-20 Thread Dirk Stöcker
On Wed, 20 Aug 2008, Bodo Meissner wrote: I tried this once. After having added layer=-1 to the stream the it was partially no longer visible on the rendered map. Probably there were additional problems like the river not sharing the nodes of the forest or overlapping forest polygon and

Re: [josm-dev] Small patch for Lambert projection

2008-08-20 Thread Dirk Stöcker
On Wed, 20 Aug 2008, Pieren wrote: Note that this time, I renamed the patch with the extension .TXT hoping that it will not be filterer by the ML. Maybe you will be able to see it. In the case not, I also copy it below. Seems .txt is a good idea. The attachement is encoded as TEXT/PLAIN and

[josm-dev] HTML entities

2008-08-20 Thread Dirk Stöcker
Hello, I wanted to introduce a JOSM validator check, which checks for HTML entities in the tags and automatically fixes these. Now my question: Is there a Java function, which can can convert the HTML amp;, apos; and so on into UTF8? I did not find anything. Ciao -- http://www.dstoecker.eu/

Re: [josm-dev] HTML entities

2008-08-20 Thread Dirk Stöcker
On Wed, 20 Aug 2008, Bodo Meissner wrote: Is there a Java function, which can can convert the HTML amp;, apos; and so on into UTF8? I did not find anything. I found a reference to this but didn't try it myself. http://mindprod.com/products1.html#ENTITIES It is can be used for any

[josm-dev] JOSM Bug Tracker

2008-08-21 Thread Dirk Stöcker
Hello, well, the josm bugtracker spam protection seems to work: --- Internal Server Error 500 Internal Server Error (Submission rejected as potential spam (Maximum number of posts per hour for this IP exceeded)) --- That's the result if you change too many bugs at once :-) Ciao --

Re: [josm-dev] Small patch for Lambert projection

2008-08-21 Thread Dirk Stöcker
On Wed, 20 Aug 2008, Pieren wrote: Dear Josm-dev, Could one of the Josm developers having write access to the repository submit the following small patch for the Lambert projection class ? It's to avoid an unnecessery warning message when MAX_LAT / MAX_LON are used. Note that this time, I

[josm-dev] Layer order and active layer

2008-08-22 Thread Dirk Stöcker
Hello, I closed bug 371. Now it is no longer possible to change an inactive layer. As some mappers probably rely on this feature, I also did some other modifications: a) The layer list order is now really 100%. This means active layer is no longer drawn on top. b) The order in the layer list

Re: [josm-dev] Performance optimizations

2008-08-23 Thread Dirk Stöcker
On Sat, 23 Aug 2008, Tobias Wendorff wrote: Dirk Stöcker schrieb: I compiled it for you: http://www.dstoecker.eu/josm-custom.jar Thanks a lot! I would love to read a HowTo someday :-) www.google.com If you have specific problems, you need to ask these directly. Ciao -- http

Re: [josm-dev] Performance optimizations

2008-08-23 Thread Dirk Stöcker
On Sat, 23 Aug 2008, Tobias Wendorff wrote: Dirk Stöcker schrieb: www.google.com If you have specific problems, you need to ask these directly. Ah ... that's why I love OpenSource: You need support? Sorry, no support ... Google for it! Yes. That's the way it goes. When I think

Re: [josm-dev] patch for JOSM runtime error on MacOS

2008-08-23 Thread Dirk Stöcker
On Sat, 23 Aug 2008, A Morris wrote: I am trying to run the latest SVN revision of JOSM in eclipse on a Mac. The code builds, but does not run; it hangs inside the native method Object.wait() in ElemStyleHandler. The offending line is: curIcon = new

Re: [josm-dev] patch for JOSM runtime error on MacOS

2008-08-23 Thread Dirk Stöcker
On Sat, 23 Aug 2008, A Morris wrote: I don't knowingly use an external styles file - I simply tried to build and run the latest JOSM revision. I fixed that access. Should work now for you too. a) Could you paste any lines with mappaint in your josm-preferences here. b) Please list the whole

Re: [josm-dev] Layer order and active layer

2008-08-23 Thread Dirk Stöcker
On Sat, 23 Aug 2008, Bodo Meissner wrote: | I closed bug 371. Now it is no longer possible to change an inactive | layer. I don't like this change. I often select a GPX layer when drawing new ways or moving existing ways to my tracks. When the OSM data layer is active it is often difficult

[josm-dev] Reworked virtual nodes

2008-08-23 Thread Dirk Stöcker
Hello, I reworked the virtual nodes in revision 853. The virtual nodes are no longer created on clicking a node, but only when you click the virtual node and also drag it. This should reduce the existing problems a lot and make the feature as intended originally. This means a single click now

Re: [josm-dev] Reworked virtual nodes

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Robin Rattay wrote: - The virtual nodes cover the segment numbers, which are IMHO quite important. Yes. Need to shift the segment numbers a bit, when drawing the virtual nodes. I don't use that option, :-) What is it good for? - When there are two ways sharing the same

Re: [josm-dev] Reworked virtual nodes

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Robin Rattay wrote: - When there are two ways sharing the same segment there is no way to choose into which way the new node is inserted. Actually the node probably should be inserted in all ways. Handling here is same as for nodes, which means you always get the topmost

Re: [josm-dev] Reworked virtual nodes

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Robin Rattay wrote: Good point. I think we need to find a better way to handle overlapping elements. The middle-click/ctrl/left-click combination is a useablity nightmare and doesn't allow things like moving the selected element. I changed that lately. Now when you

Re: [josm-dev] Selecting objects in JOSM

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Raphael Mack wrote: There is still some work left to get the latest features like virtual nodes in, but I'd be glad to hear, that you are interested in my changes, else I just stop working on it. I would like to have the ability to clean out GPX files without the current

Re: [josm-dev] Reworked virtual nodes

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Robin Rattay wrote: However there is one bug: the stroke thickness isn't drawn anymore. Fixed. BTW, you can get the real size of the string with g.getFontMetrics().stringWidth(...) and g.getFontMetrics().getHeight() (if performance allows it). IMHO that's better than

Re: [josm-dev] Small patch for Lambert projection

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Pieren wrote: I created a patch to fix this issue. First, it will not raise an exception anymore if the nodes are outside the Lambert zones. Second, it will display once an error message if someone tries to use this Lambert projection beyond the latitudes it was designed

Re: [josm-dev] Selecting objects in JOSM

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Raphael Mack wrote: Am Sonntag, 24. August 2008 schrieb Dirk Stöcker: On Sun, 24 Aug 2008, Raphael Mack wrote: There is still some work left to get the latest features like virtual nodes in, but I'd be glad to hear, that you are interested in my changes, else I just stop

Re: [josm-dev] Selecting objects in JOSM

2008-08-24 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Frederik Ramm wrote: Wow. Major changes. Can we break these into smaller pieces? I had a look at the whole diff and all the modifications seem to go into the right direction, but I would not like to introduce them in such a large pack. A step-by-step integration would be

[josm-dev] 865 as tested

2008-08-25 Thread Dirk Stöcker
Hello, Tuesday evening I will set revision 865 as tested if there no objections before. And then start to integrate Raphaels changes if I find no big problems with these :-) Ciao -- http://www.dstoecker.eu/ (PGP key available) ___ josm-dev mailing

Re: [josm-dev] Selecting objects in JOSM

2008-08-25 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Raphael Mack wrote: Am Sonntag, 24. August 2008 schrieb Dirk Stöcker: On Sun, 24 Aug 2008, Raphael Mack wrote: There is still some work left to get the latest features like virtual nodes in, but I'd be glad to hear, that you are interested in my changes, else I just stop

Re: [josm-dev] Reworked virtual nodes

2008-08-25 Thread Dirk Stöcker
On Sun, 24 Aug 2008, Robin Rattay wrote: - When quickly clicking and dragging a virtual node, then the mouse cursor is not directly on the new node, but slightly offset - the less time the is between pushing mouse button down and starting the dragging, the bigger the offset. Yes. This is

Re: [josm-dev] Selecting objects in JOSM

2008-08-25 Thread Dirk Stöcker
On Mon, 25 Aug 2008, Raphael Mack wrote: Ooops, I wanted to make a patch against the latest revision in svn and did a svn up before making the patch. And I forgot to recompile... should be better now. (its a patch against r868 now) The deprecation messages are trivial to resolve and I'll do it

Re: [josm-dev] slippymap plugin not wanting to make render requests

2008-08-25 Thread Dirk Stöcker
On Mon, 25 Aug 2008, Maarten Deen wrote: The automatic update from within JOSM doesn't work. It keeps saying there is a new version of the slippymap plugin and appears to download it, but it isn't updated. I've downloaded it manually and JOSM still says there is a new version of the

Re: [josm-dev] slippymap plugin not wanting to make render requests

2008-08-25 Thread Dirk Stöcker
On Mon, 25 Aug 2008, Robin Rattay wrote: Dirk Stöcker schrieb: On Mon, 25 Aug 2008, Robin Rattay wrote: Has this actually worked at all or only on specific environments? It seems that the update mechanism needs to be changed. Works on Linux, but probably you're right and it wont work

Re: [josm-dev] slippymap plugin not wanting to make render requests

2008-08-26 Thread Dirk Stöcker
On Tue, 26 Aug 2008, Robin Rattay wrote: Dirk Stöcker schrieb: a) Temporary filename is final name+.tmp. b) Do the move as is done now. When move fails, leave the tmp file. c) On start check if there is a temp file and move it when possible. If not, inform the user. I've done it over. I

[josm-dev] Combining mappaint styles

2008-08-26 Thread Dirk Stöcker
Hello, I introduced the possibility to combine an area and an line style in current josm (thus reenabling the roundabout display). To combine two line styles (e.g. bridge, tunnel and street) someone needs to present an idea, how the displaying could be done for this. Ciao --

Re: [josm-dev] Combining mappaint styles

2008-08-27 Thread Dirk Stöcker
On Wed, 27 Aug 2008, Ulf Lamping wrote: I was thinking about the representation, and the best idea I got aware of was to display the part of the way being a bridge (or tunnel) simply a little bit (1/2px?) wider than the normally used width. Don't think that is visible enough. My first

Re: [josm-dev] Source code formatting template?

2008-08-27 Thread Dirk Stöcker
On Wed, 27 Aug 2008, Frederik Ramm wrote: As tr() is a static function that is called at runtime this should not make any difference. No. The translations are extracted from the sources, so the source design is important. You can't use whatever methods to join a string, as these will not be

Re: [josm-dev] Combining mappaint styles

2008-08-28 Thread Dirk Stöcker
Hello, as there have been no comments, I did what I want. So it is now implemented as follows: a) in style files there is a new type linemod b) this types parameters are equal to line. Only one additional type is mode. It may be over or under. Width also supports -x, +x and x% for

Re: [josm-dev] how to create icons?

2008-08-30 Thread Dirk Stöcker
On Sat, 30 Aug 2008, A Morris wrote: I have implemented a new 'action' in josm, but it needs an icon in the menu. What is the preferred way to create these icons? a) You don't need an icon. Pass null and it works without. b) I use gimp to create icons. Ciao -- http://www.dstoecker.eu/ (PGP

Re: [josm-dev] how to create icons?

2008-08-31 Thread Dirk Stöcker
On Sun, 31 Aug 2008, Christoph Eckert wrote: I have implemented a new 'action' in josm, but it needs an icon in the menu. What is the preferred way to create these icons? instead of Dirk, I try to get modify some SVG in Inkscape. Then I export it as png. Are there SVG's of the internal

Re: [josm-dev] Patch for Align nodes straight and parallel action

2008-08-31 Thread Dirk Stöcker
On Sun, 31 Aug 2008, A Morris wrote: if you want to make, for example, 4 ways straight and parallel using this action, you would simply shift-click 4 times, then press equals. If there was a method that made ways parallel (but did not automatically straighten them), then you would need click

Re: [josm-dev] Patch for Align nodes straight and parallel action

2008-09-01 Thread Dirk Stöcker
On Sun, 31 Aug 2008, A Morris wrote: You're right, that the action probably needs more clicks. but making ways straight and aligned is not such an often done task, so for me the negative fact to have more different tools counts more :-) I'm not sure how having additional tools is a negative?

[josm-dev] JOSM charset

2008-09-02 Thread Dirk Stöcker
Hello, now that I found a charset conflict in measurement plugin: Is there any definition in which charset the jar files are? Could we agree to use UTF-8 here or only plain ASCII? Ciao -- http://www.dstoecker.eu/ (PGP key available) ___ josm-dev

Re: [josm-dev] Various problems with josm

2008-09-05 Thread Dirk Stöcker
On Fri, 5 Sep 2008, Rainer Rothkegel wrote: [... lots of tram realted stuff snipped] That's all one problem. The tram-style is overlayed with the tram-overlay style and thus makes it nearly invisible. I will fix this soon by removing overlays for identical base types. (Problem 3)

Re: [josm-dev] Automatic tiles downloading in WMSPlugin

2008-09-06 Thread Dirk Stöcker
On Tue, 2 Sep 2008, Petr Dlouhý wrote: so the plugin is in josm like ewmsplugin. You can test the plugin easily now. I have a Yahoo display problem. The tiles are not scaled correctly: http://www.dstoecker.eu/ewms.png Ciao -- http://www.dstoecker.eu/ (PGP key

Re: [josm-dev] Automatic tiles downloading in WMSPlugin

2008-09-06 Thread Dirk Stöcker
On Sat, 6 Sep 2008, Dirk Stöcker wrote: so the plugin is in josm like ewmsplugin. You can test the plugin easily now. I have a Yahoo display problem. The tiles are not scaled correctly: http://www.dstoecker.eu/ewms.png A second comment. Instead of two menu entries to start and stop

Re: [josm-dev] Automatic tiles downloading in WMSPlugin

2008-09-07 Thread Dirk Stöcker
On Sat, 6 Sep 2008, Dirk Stöcker wrote: so the plugin is in josm like ewmsplugin. You can test the plugin easily now. I have a Yahoo display problem. The tiles are not scaled correctly: http://www.dstoecker.eu/ewms.png Another error. The ewmsplugin adds an Yahoo-URL entry each time

Re: [josm-dev] How to contribute changes to JOSM?

2008-09-07 Thread Dirk Stöcker
On Sun, 7 Sep 2008, Jan Peter Stotz wrote: I have just created a small patch for a JOSM class - how to I contribute it? I did not found where to create a JOSM-trac account that could be used for SVN access... Either post the patch here or make a new TRAC request containing a useful subject

Re: [josm-dev] Still looking for patch review

2008-09-08 Thread Dirk Stöcker
On Mon, 8 Sep 2008, [EMAIL PROTECTED] wrote: I'm still looking for someone to look at the patch I submitted to ticket 682[1] to add proxy server configuration to JOSM. I really like to see this patch included into JOSM so please let me know if anything is wrong with it and what I could do to

Re: [josm-dev] Bug in the Preferences (rev. 935)

2008-09-09 Thread Dirk Stöcker
On Tue, 9 Sep 2008, Christoph Seitz wrote: Today I found a bug in the Preferences. If you have no plugins, you get an NullPointerException. I described it on the josm-page. http://josm.openstreetmap.de/ticket/1520 Also added a patch for this problem :) But it would not work. null deletes

  1   2   3   4   5   6   7   8   9   10   >