Re: [josm-dev] License Change Phase III

2011-04-12 Thread Paul Hartmann
Frederik Ramm wrote: Hi, when the API is switched to license change phase 3, any attempt to open a changeset by someone who hasn't yet either agreed to, or rejected, the contributor terms will be met with a 403 Forbidden error code. Will JOSM display the content of that error message to

[josm-dev] JOSM tested

2011-04-14 Thread Paul Hartmann
Hi, We have released 4021 as a new tested version. The problem regarding the Licence Change Phase III is (hopefully) fixed. Please keep the repository stable until the changes to the server are implemented, so we can add a point release if necessary. Paul

Re: [josm-dev] Scripting plugin

2011-04-14 Thread Paul Hartmann
Jo wrote: I'm back on track with the scripting plugin. I created a Jython script that helps to find probable spelling errors in street names. It's quite specific in that it supports the bilingual status of Brussels. #!/bin/jython # # Spell checking.py - Helps to locate probable spell errors #

Re: [josm-dev] recent modification on snapping?

2011-05-07 Thread Paul Hartmann
M∡rtin Koppenhoefer wrote: Has there been recently a modification on the snapping code? I have a really annoying problem drawing ways in r.4074 which does sometimes not allow me to draw another node close to an existing one. Is it possible that there was a new bug introduced (because otherwise

Re: [josm-dev] New plugin followline

2011-05-08 Thread Paul Hartmann
Germán Márquez Mejía wrote: Hi list, I've made a plugin [0] that draws a line over the path of another. Pretty much like the F shortcut in Potlatch2. It's not awfully good, but I myself find it really useful. Do you know this patch? http://josm.openstreetmap.de/ticket/4190 It works quite

Re: [josm-dev] Reusing conflict panels for conflation plugin

2011-05-18 Thread Paul Hartmann
Josh Doe wrote: I'm back to working on a UI for performing conflation as I've mentioned on this list before. Right now I've got a series of tabs, the first allows the user to freeze/restore two selections (Mine and Theirs), the next configures the matching options, and the third presents the

Re: [josm-dev] Plugin images from osm in JOSM wiki

2011-05-24 Thread Paul Hartmann
colliar wrote: Hi I tried to add the utils2 icon on the JOSM wiki, but I did not get around using a path including a revision. Is there a possibility without a revision in the path ? cu colliar You can replace version number by HEAD (upper case, without the quotes). Btw., there are 2 places

[josm-dev] [PATCH] OsmPrimitive / PrimitiveData refactoring

2011-05-26 Thread Paul Hartmann
Hi, There are two structures OsmPrimitive / Node / Way / Relation and PrimitiveData / NodeData / WayData / RelationData. Both have much in common, however, the class trees are unrelated at the moment. In order to avoid code duplication when it really doesn't matter if you have an object

Re: [josm-dev] [PATCH] OsmPrimitive / PrimitiveData refactoring

2011-05-29 Thread Paul Hartmann
Paul Hartmann wrote: [1] https://github.com/bastik/josm/commit/a91ea53 [2] https://github.com/bastik/josm/commit/780d186 [3] https://github.com/bastik/josm/commit/7b1d245 Applied (4098-4100). I was prepared to recompile most of the plugins, but it seems to be no problem to move methods

Re: [josm-dev] License change plugin

2011-07-02 Thread Paul Hartmann
On 07/02/2011 06:11 PM, Frederik Ramm wrote: Maybe we should do away with the distinction between non-agreeing and undecided users; anyone who is still undecided today is probably very likely to be unreachable and thus this would be a clear data loss. There are imports, where the license

Re: [josm-dev] addr mask / last tag takeover / dysfunctional when building=yes on way

2011-07-07 Thread Paul Hartmann
On 07/07/2011 11:57 AM, Kay Drangmeister wrote: Am 07.07.2011, 10:04 Uhr, schrieb Dirk Stöcker openstreet...@dstoecker.de: The defaults do not work. refusing an obvious choice of offering the last city/postcode/street the user entered is - oem - a strange decision. Thus we have choosen

Re: [josm-dev] Customizable name formatter

2011-07-20 Thread Paul Hartmann
On 07/19/2011 09:40 PM, Jiri Klement wrote: Hi, I think it would be useful to make formating of primitives configurable (ie modify DefaultNameFormater class). For example we use special tagging for hiking routes in Czech Republic and it would be nice to have these routes displayed

Re: [josm-dev] MapCSS selector operators

2011-07-26 Thread Paul Hartmann
On 07/26/2011 09:51 AM, Malcolm Herring wrote: On 25/07/2011 19:41, Paul Hartmann wrote: I'd call it a missing feature. There is no != or =~ operator for eval expressions [1]. You can work around the first limitation like this: I was not using it within an eval expression

Re: [josm-dev] Autogenerated JAXB files in JOSM SVN

2011-08-20 Thread Paul Hartmann
On 08/20/2011 09:58 AM, Giovanni Mascellani wrote: On 15/08/2011 19:14, Jiri Klement wrote: Hi, The files were generated using xjc tool from wms-cache.xsd file. JAXB is used to simplify reading of xml files - xml is automatically transformed into java objects that are easier to process than

Re: [josm-dev] r4188 - removal of debug code

2011-08-21 Thread Paul Hartmann
On 08/21/2011 02:21 PM, Dirk Stöcker wrote: On Sun, 21 Aug 2011, Stefan Breunig wrote: I'd have a really hard time believing that the JVM can't optimize stuff like this: and right you are; http://stackoverflow.com/questions/1813853/ifdef-ifndef-in-java/1813871#1813871 It's compiled out,

Re: [josm-dev] implementing a windows menu (bug #59)

2011-08-27 Thread Paul Hartmann
On 08/27/2011 11:02 AM, Dirk Stöcker wrote: On Sat, 27 Aug 2011, Stefan Breunig wrote: More important though: to achieve this I create the map frame once on start and never destroy it. Is there any disadvantage I missed? I know about the bug where the view in the download diag is reset to

Re: [josm-dev] implementing a windows menu (bug #59)

2011-08-27 Thread Paul Hartmann
On 08/27/2011 01:03 PM, Stefan Breunig wrote: Basically all plugins implement mapFrameInitialized. Does this method with two arguments still make sense, when your patch is applied? No, my plan was to get rid of it altogether so plugins can simply use Main.map or similar to get the MapFrame.

Re: [josm-dev] Version 4327 is from 32nd of July.

2011-08-30 Thread Paul Hartmann
On 08/30/2011 12:13 PM, Martin Koppenhoefer wrote: the startpage shows this: 2011-07-32 (4327) Select and delete mode now have better visual indication what the next action will do (highlighting, cursor changes). can this be changed to 2011-08-21 ? You can fix this yourself, it's a wiki.

Re: [josm-dev] perform GET from Jython script

2011-09-17 Thread Paul Hartmann
On 09/15/2011 08:08 PM, Jo wrote: Hi Paul, I know how to set something selected, but now I'd like to also zoom into this selection automatically. Could you point me in the right direction for accomplishing that? Open MainMenu and look for these Actions in the View menu (that's how I would

Re: [josm-dev] perform GET from Jython script

2011-09-17 Thread Paul Hartmann
On 09/17/2011 04:19 PM, Jo wrote: I don't get any further than this: from javax.swing import JOptionPane from org.openstreetmap.josm import Main import org.openstreetmap.josm.data.osm.Node as Node import org.openstreetmap.josm.data.osm.Way as Way import

[josm-dev] pixel per degree

2011-09-19 Thread Paul Hartmann
Hi, Why is it called pixelPerDegree in ImageryInfo? Apparently, the value is in pixels per unit in projected space (pixelPerEastNorth). There is an interesting bug in ImageryLayer.getPPD(), line 86: It returns Main.getProjection().getDefaultZoomInPPD() when mapframe is null. However the

Re: [josm-dev] pixel per degree

2011-09-21 Thread Paul Hartmann
On 09/19/2011 05:33 PM, Dirk Stöcker wrote: On Mon, 19 Sep 2011, Paul Hartmann wrote: Why is it called pixelPerDegree in ImageryInfo? Apparently, the value is in pixels per unit in projected space (pixelPerEastNorth). Which is nonsense as well. It should not be relative to projected

Re: [josm-dev] updating mappaint styles

2011-09-22 Thread Paul Hartmann
On 09/22/2011 01:20 PM, Martin Koppenhoefer wrote: How / when are mappaint-styles updated? I did some updates to the mappaint-style for maxspeed signs (on its wikipage on josm.osm.de) but I don't get the modifications locally. I incremented the version number from 1.0 to 1.1 (now I discovered

Re: [josm-dev] downloading referrers and incomplete relation members from a script

2011-10-04 Thread Paul Hartmann
On 10/04/2011 07:21 AM, Jo wrote: And it works... asynchronously. If I use this code in a larger script, the code following it gets executed before the download is ready. This, of course, creates problems since the rest of the code depends on what was being downloaded. Is there a way to

Re: [josm-dev] Dynamic buttons in side menus

2011-10-15 Thread Paul Hartmann
On 10/15/2011 05:50 PM, Dirk Stöcker wrote: On Sat, 15 Oct 2011, Ilya Zverev wrote: On Sat, 15 Oct 2011 17:11:42 +0300, Komяpa wrote: I got used to dynamic buttons almost immediately. Just clicked where they usually were, and they appeared right under mouse cursor. The key word being

Re: [josm-dev] composing display name for relations from operator ref name from via to

2011-10-20 Thread Paul Hartmann
On 10/21/2011 12:00 AM, Jo wrote: Hi Paul, He created a wiki page: http://josm.openstreetmap.de/wiki/NameTemplate Which I took the liberty to correct and beef up a little. I have no idea if the order of items is still logically built up though, but it should clarify the usage of the

Re: [josm-dev] Simple Addr Interpolation / utilsplugin2

2011-10-31 Thread Paul Hartmann
On 10/31/2011 05:34 PM, Werner Horsch wrote: thanks to Paul my Netbeans is up and running and I've started coding this plugin questions 1) to the utilsplugin2 coders. do you mind if I add this functionality to this plugin? Please extend the plugin AddrInterpolation. (Add another menu item

Re: [josm-dev] MapCSS selector to match way in multiple relations

2011-11-03 Thread Paul Hartmann
On 11/03/2011 08:44 AM, Martin Ždila wrote: Hello I'd like to create a MapCSS for hiking trails. In our country we use 4 colours to mark hiking trails. Some ways may be parts of multiple trails. What I want is to draw parallel lines to such ways but not with fixed offset for each color.

Re: [josm-dev] rendering maps to tiles

2011-11-03 Thread Paul Hartmann
On 11/03/2011 08:51 AM, Martin Ždila wrote: Hello Is there any plan to develop a feature of rendering map to image tiles? I think that rendering part JOSM is so feature rich that is is very near to include features of Maperitive. It would be great to have multiplatform map2tile rendering

Re: [josm-dev] Print plugin

2011-11-13 Thread Paul Hartmann
On 11/13/2011 12:04 PM, Kai Pastor wrote: Hello, I've just published a plugin print which adds a basic map print capability to JOSM. The source code is in OSM SVN. It's great! Feel free to send patches, if you need some refactoring for JOSM core. (Interesting you got it working without

Re: [josm-dev] PicLayer - modification

2011-11-23 Thread Paul Hartmann
On 11/18/2011 05:11 PM, Valeriy Pekarskyy wrote: And again - Hello! I have the next version for the testing :) may be anyone interested. http://dl.dropbox.com/u/11265861/PicLayer.jar - here is plugin jar http://dl.dropbox.com/u/11265861/piclayer.7z - compressed sources. Lot of

Re: [josm-dev] PicLayer - modification

2011-11-25 Thread Paul Hartmann
On 11/24/2011 10:44 AM, Valeriy Pekarskyy wrote: I set snap radius to 10px now, so it should be easier to adjust. I snap radius seems to depend on zoom scale. World files work now, I have commited my changes to svn so anyone who wants to see the functionality in action can now update plugin

Re: [josm-dev] PicLayer - modification

2011-11-25 Thread Paul Hartmann
On 11/25/2011 12:07 PM, Valeriy Pekarskyy wrote: That are 10 px of the image. Will look what can be done with it. It is a problem for high resolution images. Distance in screen pixels would be better IMO. 2011/11/25 Paul Hartmann phaau...@googlemail.com: On 11/24/2011 10:44 AM, Valeriy

Re: [josm-dev] JOSM API

2011-12-12 Thread Paul Hartmann
On 12/12/2011 06:23 PM, Frans Thamura wrote: hi all i am seeking doc related to JSOM API, and how JOSM communicate with OSM API There is no doc, but all the calls to the OSM API are printed to the command line, if you start JOSM from a console window. what happen if OSM API patched. As

Re: [josm-dev] JOSM API

2011-12-13 Thread Paul Hartmann
Hi Frans, where i can get information regarding to 0.7 development? The OpenStreetMap API v. 0.7 is far in the future, so I think there is no serious information at the moment. When there is development, there will probably be an update on this page: http://wiki.openstreetmap.org/wiki/API

[josm-dev] new package repository for Ubuntu

2011-12-13 Thread Paul Hartmann
Hi, there's now a JOSM apt repository for Ubuntu. It provides two packages: josm The tested version Replaces the package from the official Ubuntu repository. josm-latest The development version (nightly build) Can be installed parallel to the josm package. For details, see

Re: [josm-dev] Stabilization ends

2011-12-18 Thread Paul Hartmann
On 12/18/2011 02:57 PM, Dirk Stöcker wrote: Hi, stabilization phase ended today. So patches accumulated over the last week may be integrated. We had a very long stabilization phase caused by Paul's idea to improve the preferences :-) I know this delay is one of the drawbacks of our

Re: [josm-dev] share resources with other editors

2011-12-18 Thread Paul Hartmann
On 12/18/2011 04:04 PM, Jonathan Bennett wrote: On 18/12/2011 13:46, Dirk Stöcker wrote: Working together with the autors of other editors also would be a good idea, but until today all such tries failed miserably. I suspect what this needs is for one person to just go ahead and implement

Re: [josm-dev] new package repository for Ubuntu

2011-12-24 Thread Paul Hartmann
On 12/25/2011 02:01 AM, David Paleino wrote: On Tue, 13 Dec 2011 14:19:25 +0100, Paul Hartmann wrote: there's now a JOSM apt repository for Ubuntu. It provides two packages: josm The tested version Replaces the package from the official Ubuntu repository. Why would one need

Re: [josm-dev] Created a plugin, want to distribute it.

2012-01-08 Thread Paul Hartmann
On 01/08/2012 03:04 PM, Josh Doe wrote: On Jan 8, 2012 8:31 AM, Morten Olsen Lysgaard mor...@lysgaard.no wrote: Hi guys. I've created a plugin that lets you create geometry based on lat lon coordinates. It's like a beefed up version of the Add Node tool. It takes a list of coordinates in

Re: [josm-dev] License Change Plugin slows down drawing

2012-01-11 Thread Paul Hartmann
On 01/10/2012 11:23 PM, Frederik Ramm wrote: Hi, whenver a license change layer is active and you have lots of objects loaded, JOSM becomes noticeably slower. I could use a little help here. Since many of you have tweaked JOSM's drawing performance in the past, maybe you only need to

Re: [josm-dev] Bug or Intentional

2012-01-24 Thread Paul Hartmann
On 01/24/2012 11:49 AM, Kate Chapman wrote: Yeah, I don't think I changed it. I was leading a workshop teaching 8 other people (this is our 4th trip working with them) and all of us lost the setting when we upgraded. This is a known problem and was fixed in version 4658. Paul

Re: [josm-dev] Does presets automatically update?

2012-02-04 Thread Paul Hartmann
On 02/04/2012 10:41 AM, Morten Olsen lysgaard wrote: I've got a preset. Yesterday I updated it and uploaded it to my server. I took it from version 0.0.1 to 0.0.2 On the JOSM projects preset page the new version number was shown minutes later, indicating that the JOSM page had read my

Re: [josm-dev] Creating a user-friendly changelog for tested release

2012-02-09 Thread Paul Hartmann
On 02/07/2012 02:23 PM, Simon Legner wrote: Hi, On 30/01/12 15:07, Josh Doe wrote: I would suggest that we create a single set of changes between each tested release, separating the changes by major/minor enhancements, and major bugs (leaving minor bugs to be found via tickets). I believe

Re: [josm-dev] Shortcuts

2012-02-16 Thread Paul Hartmann
On 02/15/2012 10:38 PM, Pieren wrote: On Wed, Feb 15, 2012 at 6:12 PM, Dirk Stöcker openstreet...@dstoecker.de wrote: If the default would be to keep everything as is, we copy all these troubles a long time into the future. So we have one break now and later on wikis and forums on docs

Re: [josm-dev] Shortcuts

2012-02-17 Thread Paul Hartmann
On 02/16/2012 07:58 PM, Pieren wrote: On Thu, Feb 16, 2012 at 6:41 PM, Paul Hartmann phaau...@googlemail.com wrote: As plugin developer, you can basically do what you like, also claim a shortcut like I for Utilsplugin2/IntersectedWaysAction. But you shouldn't be surprised if we need I

Re: [josm-dev] Shortcuts

2012-02-17 Thread Paul Hartmann
On 02/17/2012 02:49 PM, Martin Koppenhoefer wrote: 2012/2/15 Dirk Stöcker openstreet...@dstoecker.de: On Wed, 15 Feb 2012, Martin Koppenhoefer wrote: this rant, then from someone beeing not even a code contributor, but I really suffered hard from the recent change of shortcut w (before

Re: [josm-dev] WikiStart

2012-04-03 Thread Paul Hartmann
The new design for the main page is good, I would simplify the list of download options even more: * OS independent * Windows installer * Mac OS Package (and maybe the webstart option, but I'm not sure it needs to be recommended that much) - other [[Download]] options Then move all other

Re: [josm-dev] WikiStart

2012-04-04 Thread Paul Hartmann
On 04/03/2012 04:34 PM, Simon Legner wrote: Hi! On 03/04/12 16:25, Paul Hartmann wrote: (and maybe the webstart option, but I'm not sure it needs to be recommended that much) I think it should. On the FOSSGIS I met a few people using a very outdated version of JOSM (half to one year old

Re: [josm-dev] WikiStart

2012-04-06 Thread Paul Hartmann
On 04/05/2012 12:48 PM, Simon Legner wrote: Hi all, I think the current version of the new(?) WikiStart page [1] offers a concise introduction to the JOSM website. Thanks to all contributors. :-) Do you think it's ready to replace the current WikiStart page? Yes, it's much better than the

Re: [josm-dev] WikiStart

2012-04-07 Thread Paul Hartmann
On 04/07/2012 12:07 AM, Simon Legner wrote: On 07/04/12 00:02, Paul Hartmann wrote: Do you think it's ready to replace the current WikiStart page? Yes, it's much better than the current page... Is there a Trac Wiki copy mechanism (to keep the history), or has one to use copypaste? I'd

Re: [josm-dev] WikiStart

2012-04-08 Thread Paul Hartmann
2012/4/8, Simon Legner simon.leg...@gmail.com: On 05/04/12 13:27, Holger Jeromin wrote: I would like to have a webstart for the latest josm. I build it for my own (edited the jnlp), but a link in the table of http://josm.openstreetmap.de/wiki/Download would be very nice. I would like to

Re: [josm-dev] Why 5174 ?

2012-04-12 Thread Paul Hartmann
2012/4/12, Vincent Privat vincent.pri...@gmail.com: Hi, I'm a bit surprised in the choice of publishing 5174 as the tested version. Is there something wrong with 5177 ? As far as I see it does only contain bugfixes. OK, updated to 5177. Shouldn't we update translations by the way ? They

Re: [josm-dev] Style: Icon depending on way tag?

2012-04-18 Thread Paul Hartmann
On 04/18/2012 03:14 PM, Frederik Ramm wrote: Hi, there was a little edit war recently where one mapper put maxheight on a river node under a bridge, and another mapper removed that again on the grounds that JOSM used a road traffic sign icon to display it (which made no sense on water).

[josm-dev] next tested version - skip stabilization?

2012-04-30 Thread Paul Hartmann
Hi, most of the commits in the last weeks have been bug fixing, so I'd suggest we skip the stabilization period and release tomorrow's version as next tested. The only recent change that could break something is [5206], but I hope it's Ok. :) Paul

Re: [josm-dev] Selecting a line nearest a point

2012-05-28 Thread Paul Hartmann
2012/5/28 Josh Doe j...@joshdoe.com: I have a plugin (conflation) with a custom layer which draws arrows between matched pairs of objects, and I'd like to enable these to be clicked to select the match so it can be merged or deleted. I'm not familiar with JOSM's map display code, so I'm not

[josm-dev] New tested version after API change fix?

2012-07-12 Thread Paul Hartmann
Hi, In the process of the license switch, there has been a small change of the OSM API [1]. This causes JOSM to crash in certain situations [2][3]. A fix has been committed (v. 5326), so as a user you might want to update JOSM or at least save often, especially before upload and data update.

Re: [josm-dev] Validator

2012-07-12 Thread Paul Hartmann
2012/7/11 Frederik Ramm frede...@remote.org: Do you think it would be possible to run the validator after data has been downloaded and record the list of problems, and then when someone uploads, only check for *newly added* problems instead of everything? Of course the validator would still,

Re: [josm-dev] New tested version after API change fix?

2012-07-13 Thread Paul Hartmann
2012/7/13 Dirk Stöcker openstreet...@dstoecker.de: On Fri, 13 Jul 2012, Vincent Privat wrote: I think we should enter in stabilization phase ASAP. I should have some time this week-end to run extensive tests, so a stable version released next week sounds a good idea to me. Volunteers are

Re: [josm-dev] OsmChange

2012-07-14 Thread Paul Hartmann
2012/7/14 Martin Guttesen mgutte...@hotmail.com: JOSM should auto internaly mark all nodes inside a modify as dirty Yes, it should. This is most likely a bug; you can report it at http://josm.openstreetmap.de/newticket the excamples on http://wiki.openstreetmap.org/wiki/OsmChange have

Re: [josm-dev] JMapViewerTiles location?

2012-08-24 Thread Paul Hartmann
On 08/24/2012 01:48 PM, hbogner wrote: Is there a way to change the place where tiles are cached from /tmp/JMapViewerTiles_user/ to folder of own choosing? Yes, edit the property imagery.tms.tilecache_path in the advanced preferences. (F12, make sure expert mode is enabled at bottom left,

Re: [josm-dev] JMapViewerTiles location?

2012-08-24 Thread Paul Hartmann
On 08/24/2012 02:15 PM, hbogner wrote: Yes, edit the property imagery.tms.tilecache_path in the advanced preferences. (F12, make sure expert mode is enabled at bottom left, then select last tab) Couldnt fint that string. A property is only displayed, if JOSM has retrieved it in the current

Re: [josm-dev] JMapViewerTiles folder in my Temp folder

2012-08-28 Thread Paul Hartmann
On 08/27/2012 03:04 PM, Bob Hawkins wrote: I use Microsoft Windows on my PC. I discovered a folder this morning in my Local SettingsTemp folder titled JMapViewerTiles_Bob in which there were a further six folders: Bing Aerial Maps, ITO OSL, Mapnik, OOC OS 1_25K, OpenStreetMap and OS OpenData

Re: [josm-dev] JMapViewerTiles folder in my Temp folder

2012-08-28 Thread Paul Hartmann
On 08/28/2012 11:37 AM, Vincent Privat wrote: Should we also introduce a maximum cache size ? Or consider the maximum age is enough ? Sure, as long as it is configurable in the preferences. The default value shouldn't be too low in my opinion. Paul PS: Good luck with i18n update. If you

Re: [josm-dev] MapMode - MouseWheelListener and KeyListener?

2012-09-19 Thread Paul Hartmann
On 09/19/2012 03:55 PM, Russell Edwards wrote: Hello, Apologies for asking a beginner's question. I am writing a plugin which has its own MapMode. I need to catch mouse wheel and key press events. How can I do this? I have tried ... extends MapMode implements MouseWheelListener, KeyListener

Re: [josm-dev] MapMode - MouseWheelListener and KeyListener?

2012-09-20 Thread Paul Hartmann
On 09/20/2012 08:25 AM, Russell Edwards wrote: On 20/09/12 04:41, Paul Hartmann wrote: I put your code in SelectAction and MouseWheelListener worked directly. Not sure if you can easily suppress zoom, though. What is your mapmode about? Other plugins have a similar similar setup, e.g

Re: [josm-dev] JOSM Plugin no_more_mapping

2012-10-20 Thread Paul Hartmann
On 10/19/2012 10:36 PM, Frederik Ramm wrote: Hi, Someone noticed that there is a plugin called no more mapping which claims to stop JOSM from working forever. The plugin has been added to SVN by user zverik and it seems to be a relatively harmless prank. I don't know the motivation but if the

Re: [josm-dev] JOSM Plugin no_more_mapping

2012-10-20 Thread Paul Hartmann
On 10/20/2012 03:35 PM, Ilya Zverev wrote: Hi. Paul got it right, I've made this plugin just because there has to be an option. It even counted days without mapping. My record is a week. As for installing without reading, I've made all the precautions possible. There was a big warning in plugin

Re: [josm-dev] Ubuntu package Depends

2012-10-20 Thread Paul Hartmann
On 10/20/2012 10:07 PM, Stefan wrote: Hello, as far I see has the josm Package from the Ubuntu repository at http://josm.openstreetmap.de/apt has a Depends on java 6, but it uses a java 7 if installed. As far this is the only program I had installed that depends on java 6, I could not uninstall

Re: [josm-dev] Find bus stops along a way

2012-11-08 Thread Paul Hartmann
On 11/08/2012 08:51 AM, Maarten Deen wrote: On 2012-11-08 08:14, Jo wrote: Hi, I want to find all bus stops along a side of the road. So I'm looking for functions in JOSM to: Define a rectangle a few meters to one side of the (section of a) road. Get all nodes within this rectangle as a list.

Re: [josm-dev] Missing keys/tags on JOSM

2012-11-08 Thread Paul Hartmann
On 11/08/2012 05:03 AM, Nelson A. de Oliveira wrote: Hi! While validating some places I usually see JOSM saying that presets do not contain property value when I am sure that the values are valid. For example: key 'abandoned' not in presets (http://wiki.openstreetmap.org/wiki/Key:abandoned)

Re: [josm-dev] Missing keys/tags on JOSM

2012-11-08 Thread Paul Hartmann
On 11/08/2012 08:36 PM, Nelson A. de Oliveira wrote: Hi! On Thu, Nov 8, 2012 at 5:10 PM, Paul Hartmann phaau...@googlemail.com wrote: There are no long-term plans that I'm aware of. Tagging and Mapstyle related tasks sometimes get neglected, if no one from the team is interested in this topic

Re: [josm-dev] Building plugins

2012-11-08 Thread Paul Hartmann
On 11/09/2012 07:32 AM, Paul Norman wrote: I've been trying to compile the mirrored_download plugin so I can fix bugs http://josm.openstreetmap.de/ticket/7660 and http://josm.openstreetmap.de/ticket/7661 as well as add jxapi.openstreetmap.org to the list. I checked out the plugin environment as

Re: [josm-dev] Disabling parts of internal style

2012-11-18 Thread Paul Hartmann
On 11/17/2012 02:22 PM, Jiri Klement wrote: Hi, is there a way to do small custom modifications to internal element style? I know I can copy elemstyles.xml and do my modifications but I would prefer to have my own little style file that contains only changes I don't like in elemstyles.xml. To

Re: [josm-dev] Example for pattern-image?

2013-02-06 Thread Paul Hartmann
On 02/06/2013 03:09 PM, Martin Vonwald wrote: Hi! I wanted to try pattern-image which is mentioned in [1]. The link there seems to be dead and I couldnt find any examples for it. Can someone please provide a simple example on how to use pattern-image? Thanks, Martin [1]

Re: [josm-dev] JOSM Remote Control API and external tools

2013-02-15 Thread Paul Hartmann
On 02/15/2013 05:21 PM, the Old Topo Depot wrote: At present, tools such as MapRoulette (maproulette.org) rely on users to add a string to changeset comment to assist tracking editing activities associated with said tool. It would be useful and convenient to allow external tools to specify a

Re: [josm-dev] Fwd: My First Preset - Translation issue

2013-02-16 Thread Paul Hartmann
On 02/16/2013 10:40 AM, Marc Gemis wrote: Hallo, I'm working on my first preset targetted to beginning mappers in Belgium. With the help of a more experienced OSM'er it was put on https://josm.openstreetmap.de/wiki/Presets/BENELUX yesterday. So it was available for download this morning.

[josm-dev] new server

2013-03-18 Thread Paul Hartmann
Hi all, you may be wondering why there is a new sponsor logo on the front page of the JOSM website and why there has been some downtime lately. Let me give you some updates. In the last few days, we moved to a new server which is kindly sponsored by the web hoster Hetzner [1]. The offer

Re: [josm-dev] JOSM Server and Database

2013-03-18 Thread Paul Hartmann
On 03/18/2013 12:38 AM, Vincent Privat wrote: Is this big and ugly new sponsor logo really needed as it ? I find very disturbing to display such a large commercial logo without any discussion first ? I've slightly adapted the size and position: from

Re: [josm-dev] MapCSS: Substitute characters in a text

2013-04-06 Thread Paul Hartmann
Hi, this should work: *[name=~/-/]{ _match: regexp_match((.*?)-(.*), tag(name)); text: concat(get(prop(_match), 1), -#x3E;, get(prop(_match), 2)); } Paul On 04/06/2013 12:21 PM, Martin Vonwald wrote: Hi! I already tried that before asking on this list. But maybe I didn't use it correct, so

Re: [josm-dev] How to override default styling of name=* within josm

2013-07-28 Thread Paul Hartmann
On 07/27/2013 10:41 PM, william skora wrote: I'm wondering where are the default style settings stored for josm. Using all of the map paint styles filter on the right-hand side of the screen, I've turned off all of my map styling, including josm's internal style. I ask because I'm trying to

Re: [josm-dev] MapMode, GeoImageLayer, mouseAdapter, Flags, Undo

2013-09-16 Thread Paul Hartmann
On 09/16/2013 10:31 PM, Holger Mappt wrote: Hi, I have a proof of concept for my ticket 7712. Until now I changed the GeoImageLayer directly to keeps things simple. Now I want to move the additional code into a plug-in. That raises a few questions. The GeoImageLayer uses a MouseAdapter that

Re: [josm-dev] josm-latest debian package

2013-10-23 Thread Paul Hartmann
On 10/17/2013 01:12 AM, Paul Johnson wrote: Needs to allow oracle java 7 as a viable alternative dependency to the other JDKs. Please check your update-alternatives configuration and open a ticket on the bug tracker if it still does not work. Paul

Re: [josm-dev] JOSM und Ubuntu-Repository

2013-10-23 Thread Paul Hartmann
On 10/19/2013 11:29 AM, Jörg Frings-Fürst wrote: Hi, the Ubuntu Repositories for josm have the format URL version. Isn't it better to make it in the form URL all. The required Java JRE is specified by the requirements. So should not cause any problems and is easier to maintain. It is true

Re: [josm-dev] Cardinal Directions Changes

2013-12-19 Thread Paul Hartmann
2013/12/19 Locke, Jonathan jonath...@telenav.com Could someone give me a list of classes and/or methods that would need to be changed to support this feature? Could you be more specific? What are the features that you like to implement? The tag correction when reversing way direction is

Re: [josm-dev] Projection problem with Import Image plugin

2014-01-23 Thread Paul Hartmann
Hi Irene, please use this website to report and discuss software bugs: http://josm.openstreetmap.de/newticket In order to identify the problem, it would help, if you could describe the issues in more detail (step by step). Also: do you remember which version you used before? Best, Paul On

Re: [josm-dev] MapCSS: Replacing of text / Escaping special characters

2014-02-03 Thread Paul Hartmann
On 02/03/2014 01:35 PM, Martin Vonwald wrote: Hi! Is there any known way in a MapCSS style to either escape special characters (regarding SVG) or replace some characters within a text? I want to build an embedded svg containing text from a tag. I need to escape special characters from the

Re: [josm-dev] Request for review of plugins

2014-02-27 Thread Paul Hartmann
On 02/26/2014 10:08 PM, Simon Legner wrote: On 26/02/14 21:58, Marián Kyral wrote: Thanks Simon. It fixes the first case (when there is a local git repository inside the plugin folder). But it still fails when there is no .git folder at all. Right, but what should be the outcome? How to

Re: [josm-dev] Installation of josm plugin via eclipse

2014-03-25 Thread Paul Hartmann
On 03/25/2014 04:48 PM, Jochen Willig wrote: dist: BUILD SUCCESSFUL Congratulations, you just build your first JOSM plugin. The error is shown, because the program svn is not installed or not in execution PATH. Apparently it works anyway. Paul

Re: [josm-dev] Plugin: Access layer pixel data

2014-04-15 Thread Paul Hartmann
On 15.04.2014 18:24, Nick Ma. wrote: I'm working on a plugin like Tracer2[1] but which should run entirely embedded into JOSM. Therefore I'm asking for the best way to access pixel color shown in an active Layer[2] or ImageryLayer? Like this (gets the pixels in the current view):

Re: [josm-dev] Progress monitor not being closed

2014-04-15 Thread Paul Hartmann
On 15.04.2014 18:16, Marián Kyral wrote: There is no close() method on PleaseWaitRunnable class. Did I miss something? I was not referring to the PleaseWaitProgressMonitor class in this sentence, your problem is unrelated. There are dozens of PleaseWaitRunnable usages both in JOSM core and

Re: [josm-dev] Relative links in preferences.xml

2014-05-04 Thread Paul Hartmann
On 03.05.2014 14:16, Alex Rollin wrote: Hello, I am trying to distribute JOSM with the HDM Presets and Paint Styles for offline survey. That means I can't rely on JOSM to be able to pull the presets down, and links should be relative so that they work no matter where a user places the JOSM

Re: [josm-dev] deactivate finishing way drawing by double click

2014-05-04 Thread Paul Hartmann
On 02.05.2014 15:20, Martin Koppenhoefer wrote: I am not sure when exactly this was introduced and if it was on purpose, but for some months I strongly suffer from interruptions because JOSM stops drawing the current way and starts a new one (with a gap). This because it perceives a double click

[josm-dev] JOSM main map style converted to MapCSS format

2014-05-19 Thread Paul Hartmann
Hi everyone, I have completed the conversion of the main map style in JOSM to the MapCSS format [1]. The new style (which should ideally look about the same as the old one) is activated by default since version 7139. For comparison, the original XML style is still available in the map paint

Re: [josm-dev] JOSM 7182 released (first Java 7 version)

2014-05-28 Thread Paul Hartmann
On 28.05.2014 20:53, Maarten Deen wrote: And now there is this strange N next to a node, it seems to be related to a node having a note. How can I remove this N? You can revert this new feature by adding a style that overrides the corresponding map paint rule. Paul

Re: [josm-dev] JOSM plugin development - How to avoid duplicate additional library

2014-06-21 Thread Paul Hartmann
On 21.06.2014 15:24, Beata Jancso wrote: Hi, Perhaps to create another new plugin that gives access for both plugins to the additional library? Exactly. See [1], field 'Plugin-Requires'. E.g. ImportImagePlugin and opendata plugin both depend on the geotools plugin. If you need more

Re: [josm-dev] How to get selected relations in JOSM?

2014-07-07 Thread Paul Hartmann
On 05.07.2014 16:45, Jochen Willig wrote: Dear JOSM-Developers, I am developing a Plugin to set automatically a relation with other selected relations. Therefore I thought I can use the method getSelectedRelations(). Unfortunatley it returns nothing. The method getRelations() returns all

Re: [josm-dev] Custom K/V Tags in MAPCSS?

2014-07-16 Thread Paul Hartmann
On 16.07.2014 11:45, Alex Rollin wrote: I am just trying to get some nodes to show with an icon. I don't quite understand the rest of your mail, but here is how you create a custom map style: http://josm.openstreetmap.de/wiki/Styles Best, Paul

Re: [josm-dev] prop()/is_prop_set() on left side of sign

2014-07-17 Thread Paul Hartmann
On 17.07.2014 09:16, Martin Vonwald wrote: Hi! On [1] it says in the section Child selector in one of the notes: The functions prop() and is_prop_set() are only supported on the right side of the sign. Right now I'm under the impression that this is not true and in fact at least is_prop_set

Re: [josm-dev] JOSM wants to add a certificate?

2014-07-18 Thread Paul Hartmann
On 18.07.2014 21:35, Paul Johnson wrote: Could it be a ca-cert.org so there's some kind of authority that people might have a root cert already installed for? The browser connects to localhost aka. 127.0.0.1. I doubt you can get a certificate for that _and_ distribute the private key in plain

  1   2   >