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

2013-09-16 Thread Holger Mappt
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 is added and removed by a

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

2013-09-20 Thread Holger Mappt
to the core. Thanks, Holger Am 16.09.2013 23:36, schrieb 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

[josm-dev] MapMode Button State

2013-10-24 Thread Holger Mappt
Hi, I created a map mode based on MapMode and an IconToggleButton that is added to the MapFrame. The map mode works with objects on an overlay layer (photos of the GeoImageLayer). The goal is to enable the button if there is at least one GeoImageLayer with at least one photo loaded and to

Re: [josm-dev] Wanted: Plugin Translation With Launchpad HowTo

2013-11-22 Thread Holger Mappt
On 22 Nov 2013 17:24, Simon Legner wrote: Which plugin are you referring to? The plugin implements ticket #7712 [1]. It's not yet released. [1] http://josm.openstreetmap.de/ticket/7712 See https://trac.openstreetmap.org/browser/subversion/applications/editors/josm/i18n/build.xml#L81 how

Re: [josm-dev] Wanted: Plugin Translation With Launchpad HowTo

2013-12-19 Thread Holger Mappt
/applications/editors/josm/plugins/photoadjust/ [8] http://svn.openstreetmap.org/applications/editors/josm/i18n/ Am 22.11.2013 14:02, schrieb Holger Mappt: Hi, JOSM core and all plugins from the JOSM plugins SVN repository are translated with Launchpad. There is documentation how to to work

Re: [josm-dev] Wanted: Plugin Translation With Launchpad HowTo

2013-12-23 Thread Holger Mappt
On 22.12.2013 13:19, Dirk Stöcker wrote: On Sat, 21 Dec 2013, Holger Mappt wrote: I copy the development.jar in the JOSM plugin directory (~/.josm/plugins) and JOSM extracts some data like the icon. It doesn't extract the translation (yet) if the plugin is not installed You need to supply

Re: [josm-dev] Wanted: Plugin Translation With Launchpad HowTo

2013-12-24 Thread Holger Mappt
On 24.12.2013 13:12, Dirk Stöcker wrote: The build.xml generates the manifest. To add translations to the manifest, the build.xml file must be changed to add or remove these lines. That is not so easy, as the build.xml files still do not follow a common style (although we try to unify them).

Re: [josm-dev] Wanted: Plugin Translation With Launchpad HowTo

2013-12-26 Thread Holger Mappt
On 25.12.2013 13:56, Dirk Stöcker wrote: How should changing the commons file help you to add other languages? I'm not sure if I understand your question. The only thing that is left to do is to add the translations of the plugin description to the plugin MANIFEST.

Re: [josm-dev] Request for a SVN access to publish my plugin

2014-03-13 Thread Holger Mappt
On 13.03.2014 18:15, Arnaud Vandecasteele wrote: Hello, For my research I've developed a plugin for JOSM. It's a recommender tags system that help contributors during the annotation process. Would it be possible to publish this plugin into the JOSM plugin repository ? Could you please let me

[josm-dev] Problem to compile JOSM since jaxb target exists

2014-05-25 Thread Holger Mappt
Hi, I use the command line to build JOSM from the SVN sources. Since rev. 7133 the build fails with this error: compile: Caught an exception while logging the end of the build. Exception was: java.lang.NoClassDefFoundError: org/apache/tools/ant/util/DateUtils at

Re: [josm-dev] Mapillary

2015-02-01 Thread Holger Mappt
Hi Jo, Do you still think about it or did you start already? I have some ideas for a Mapillary plugin. What would be a good place to share them? What is the intended functionality of the plugin? Everything that is available on the Mapillary website? Do you really want to write it in Python

[josm-dev] Filename path in dialog

2015-03-22 Thread Holger Mappt
Hi, I'm working on a photo property dialog. In that dialog I want to display the full file path. What is the best way to do that? A long path should be handled in a reasonable way. E.g. with dots in the path, wrapped into multiple lines, or something similar. It would be perfect if it

[josm-dev] Image extraction from TMS cache

2015-05-28 Thread Holger Mappt
Hi, I assume the new TMS cache with the files TMS.data and TMS.key uses some standard. What tools can I use to extract the images from that cache? I do some post-processing for offline mapping with Mapserver. Thanks, Holger ___ josm-dev mailing

Re: [josm-dev] Image extraction from TMS cache

2015-06-01 Thread Holger Mappt
in cache. Cheers, Wiktor 2015-05-28 20:30 GMT+02:00 Holger Mappt holger...@gmx.net: Hi, I assume the new TMS cache with the files TMS.data and TMS.key uses some standard. What tools can I use to extract the images from that cache? I do some post-processing for offline mapping with Mapserver

Re: [josm-dev] Mapillary plugin for JOSM

2015-06-01 Thread Holger Mappt
Hi, The plugin is in an early stage. Is there a way to exclude it from the build jobs and distribution for a while? Regards, Holger Am 31.05.2015 um 16:13 schrieb Vincent Privat: Hi, I see the mapillary plugin is now hosted on OSM SVN but it doesn't compile:

Re: [josm-dev] Translation discussions

2015-11-02 Thread Holger Mappt
Stöcker <openstreet...@dstoecker.de>: On Sun, 18 Oct 2015, Holger Mappt wrote: would be good, I think Transifex supports that. Dirk, do you still work on a Trac based system? Will it support translation discussions? To be able to discuss the source string would be good too. A little. It

[josm-dev] Translation discussions

2015-10-18 Thread Holger Mappt
Hi, There are sometimes strings used in the JOSM source, the presets, or a plugin that are hard to translate. What is the preferred way to discuss the translation of such strings? If the origin in the code should be changed then the JOSM tickets can be used. But what about the translation

Re: [josm-dev] Difference in geotagged icons between camera and 'phone?

2015-09-15 Thread Holger Mappt
On 2015-09-14 at 10:18 +0200 Bob Hawkins wrote: I had tried ‘Show thumbnails’ and, indeed, I see now that the image next to it actually illustrates a camera and a landscape with two red rotating arrows. Nothing changes, however, when I select that option. One further point: I have seen two

Re: [josm-dev] Image extraction from TMS cache

2015-12-12 Thread Holger Mappt
, that would extract all the files from JOSM cache, based on josm.jar. And further functionality just depends on what you want to do with cache content. 2015-06-01 20:45 GMT+02:00 Holger Mappt: Is this something I can do on the command line or do I need to write a Java program? What would

[josm-dev] Layer specific history

2015-12-29 Thread Holger Mappt
Hi, See https://josm.openstreetmap.de/ticket/11904. What is the recommended way to add a command history with undo/redo functionality to a layer that is not an OSM data layer? In this case the GeoImageLayer. The other software I know has one history stack. Every modification generates a

Re: [josm-dev] How to ask for confirmation at layer deletion or exit?

2016-01-02 Thread Holger Mappt
If we never ask for confirmations then you would be able to quit JOSM while it has modified data. There can be no notice about saved changes at that point. The earliest time to display that notice would be the next JOSM start. But the data might have changed on the server in the meantime. In

Re: [josm-dev] How to ask for confirmation at layer deletion or exit?

2015-12-31 Thread Holger Mappt
loadToServer() and isAbleToSaveToFile() sound fine. Concerning the "action" string I don't know: what would you propose as action in your case? 2015-12-28 16:44 GMT+01:00 Holger Mappt: Would it make sense to add something like requiresSomeAction() to AbstractModifiableLayer and Main

Re: [josm-dev] Layer specific history

2016-01-01 Thread Holger Mappt
wrote: I think 2) is the best solution. It remains simple for most users who work on a single modifiable layer at a time, but provides a nice flexibility for those who work on several layers. 3) is too complex. The less dialogs we have the best it is. 2015-12-29 17:16 GMT+01:00 Holger Mappt

[josm-dev] How to ask for confirmation at layer deletion or exit?

2015-12-28 Thread Holger Mappt
Hi, See https://josm.openstreetmap.de/ticket/12075. The idea is to ask for confirmation if a GeoImageLayer with modified image properties is deleted. What is the best/right way to do that? The AbstractModifiableLayer seems to serve that purpose. GeoImageLayer could extend

Re: [josm-dev] Image extraction from TMS cache

2015-12-20 Thread Holger Mappt
GMT+01:00 Holger Mappt: My idea was to write a small program that calls TMSLayer.getCache() to get the TMS cache. But to do that I need to initialize JOSM (preferences, TMS layer, and tile cache). How would I do that? Is there something like a headless mode where I can hook into? I tried to

Re: JOSM Translations

2017-02-19 Thread Holger Mappt
On 2017-02-19 at 14:19 +0100 Dirk Stöcker wrote: I had a look at our translation statistics recently and I find it awful, that there is no real progress to see, compared to the situation a few years ago. Does anybody have ideas how more translators could be attracted for the languages which

How-To Progress Monitor

2016-10-22 Thread Holger Mappt
Hi, I'm writing a plugin that processes a number of images after a menu item was selected. What is the right way to do that in a way that doesn't block the GUI with an indication of the progress? I guess I have to run some kind of task that updates the progress after every image. Then

Re: How-To Progress Monitor

2016-10-22 Thread Holger Mappt
of work is done, use progressMonitor.worked(1) to notify, that one unit is already done (ex. one image is processed) You should also watch progressMonitor.isCancelled() to shut down your background work if user cancels it. I guess this has helped you. Cheers, Wiktor 2016-10-22 17:07 GMT+02:00 Holger Mappt <

Clustering of overlapping features

2017-01-01 Thread Holger Mappt
Hi, This question originates from ticket #11189 ([1]): Is there a way or are there plans to support some kind of clustering of data in dense regions with overlapping features like photos on the map in JOSM? The idea is to display the number of overlapping features instead of the actual

Compile problem: package com.sun.javafx.application does not exist

2017-07-16 Thread Holger Mappt
Hi, I guess something is missing in my Java installation, who can point me into the right direction? javac is 1.8.0_131 (OpenJDK), Apache Ant(TM) version 1.9.4. Thanks, Holger > cd /home/josm/core && ant Buildfile: /home/josm/core/build.xml init-properties: init: [mkdir] Created dir:

Re: Compile problem: package com.sun.javafx.application does not exist

2017-07-17 Thread Holger Mappt
include JavaFX. It would have to be installed separately. e.g. "sudo apt install openjfx" on Debian based systems. On Sun, Jul 16, 2017 at 11:02 AM Holger Mappt wrote: Hi, I guess something is missing in my Java installation, who can point me into the right direct

Re: Compile problem: package com.sun.javafx.application does not exist

2017-07-19 Thread Holger Mappt
On 2017-07-18 at 10:29 +0200 Dirk Stöcker wrote: On Mon, 17 Jul 2017, Holger Mappt wrote: Thank you for the package name. For openSUSE it is java-openjfx. I was searching for javafx before, but that results in netbeans-javafx, which is not the right thing. I'm able to compile now. Which RPM

Re: Plugins: deprecated API to be removed

2017-10-21 Thread Holger Mappt
Hi, Is the sonar the right place to see what is deprecated, i.e. what needs to be changed? [1] Can someone who was/is involved in the API update please update the plugin developers guide to reflect the changes (e.g. "The JOSM API")? [2] Thanks, Holger [1]

Re: Plugins: deprecated API to be removed

2017-10-30 Thread Holger Mappt
On 2017-10-23 at 00:15 +0200 Paul Hartmann wrote: On 21.10.2017 17:49, Holger Mappt wrote: Is the sonar the right place to see what is deprecated, i.e. what needs to be changed? [1] [1] https://josm.openstreetmap.de/sonar/project/issues?id=josm-plugins=false=squid%3ACallToDeprecatedMethod

Re: Publish plugin issue

2018-05-17 Thread Holger Mappt
Hi Marián, Looks like you managed to publish the PointInfo plugin in the meantime (r34195). An SVN status with ! is never good. I assume there was a newer version in the repo that was not fetched because you had a modified dist/pointInfo.jar. Run svn status with option -u (to see what updates

Re: Publish plugin issue

2018-05-26 Thread Holger Mappt
s to build-common.xml: * Remove ../dist/ from update-current * Do not update/publish/commit plugin.sources.jar and plugin.javadoc.jar Regards, Holger On 2018-05-23 at 22:31 +0200 Marián Kyral wrote: Hi, sorry for the late reply. Dne 17.5.2018 v 22:03 Holger Mappt napsal(a): Hi Ma

Re: Publish plugin issue

2018-05-29 Thread Holger Mappt
: No objections:) Le sam. 26 mai 2018 à 22:54, Holger Mappt a écrit : Hi Marián, There are two problems and I can confirm your issue. Problem one is "ant update-current" which expands ../dist/${plugin.jar} to ../dist/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar instead

Re: Publish plugin issue

2018-05-30 Thread Holger Mappt
On 2018-05-30 at 11:57 +0200 Dirk Stöcker wrote: On Wed, 30 May 2018, Holger Mappt wrote: I don't see how that can be done without conflicts. If the sources and javadoc JARs are generated but not svn added and svn committed then those JARs are SVN private files. Everyone who runs

Re: Publish plugin issue

2018-05-30 Thread Holger Mappt
-30 at 01:36 +0200 Vincent Privat wrote: Ah sorry I totally misunderstood your change. Please restore what I did, I thought you would only modify the "publish" target to ignore the files when committing to SVN, not delete the targets! 2018-05-29 22:03 GMT+02:00 Holger Mappt <

Re: Error while updating svn repository

2018-05-29 Thread Holger Mappt
Hi Biswesh, Was that all you got, no other messages which external has the problem? What does a "svn status" show? Without more context it is not possible to know what the problem is. Externals are links to other repositories or paths in the same repository. The plugins tree has many

Re: Publish plugin issue

2018-06-03 Thread Holger Mappt
for Nexus, and simply make sure only the plugin jar is commited, this is the only change that is required. Best regards, Vincent 2018-06-01 11:07 GMT+02:00 Holger Mappt: On 2018-05-31 at 21:00 +0200 Dirk Stöcker wrote: On Thu, 31 May 2018, Michael Zangl wrote: We currently

Re: Publish plugin issue

2018-06-02 Thread Holger Mappt
On 2018-05-31 at 21:00 +0200 Dirk Stöcker wrote: On Thu, 31 May 2018, Michael Zangl wrote: We currently have all snapshot plugin jars including source/javadoc on the nexus server: https://josm.openstreetmap.de/nexus/content/groups/public/org/openstreetmap/josm/plugins/ You can pull them

Re: JOSM developers meetup at Karlsruhe?

2018-09-09 Thread Holger Mappt
Hi, I don't consider myself a real JOSM developer and I didn't have much time to contribute lately. But I would like to spend more time working on the project, so that's a good reason to get it started. Count me in. Regards, Holger On 03.09.18 at 22:36 Vincent Privat wrote: Hello, I was

Re: Call to plugin authors: svgs in JOSM

2020-10-17 Thread Holger Mappt
10.2020 um 18:09 schrieb Holger Mappt via josm-dev: What are recommended page sizes for map mode icons and menu icons? For map view icons 16px, for gui icons usually 24px (which is the size in the toolbar). A short review results in these typical "sizes": Map view icons and main toolbar

Re: Call to plugin authors: svgs in JOSM

2020-10-11 Thread Holger Mappt via josm-dev
Hi, Is there a JOSM icon style guide? What elements should be used to depict different actions? E.g. I want to express move, that would be crossed arrows like in the move map mode icon, right? Arrows in all directions is zoom in/out or full screen. Do colors have a meaning? What are recommended