[josm-dev] Graphics contest

2014-07-19 Thread Paul Hartmann
/Graphic_Contest We are looking forward to your contribution! Paul Hartmann (for the JOSM team) ___ josm-dev mailing list josm-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] Selection, purge and layer operations

2014-07-31 Thread Paul Hartmann
On 30.07.2014 15:28, Martin Koppenhoefer wrote: 2.0 select 2.1 select inverse (replace selection, string: -selected) 2.2 purge the inverted selection 1. search for selected | (type:way parent selected) 2. search for selected | (type:node child selected) 3. search for -selected 4. purge That

Re: [josm-dev] Fwd: Panning difficulty

2014-08-11 Thread Paul Hartmann
On 11.08.2014 07:14, Gavin Scott wrote: When I drag the map around I then click on an area of interest on the map. When I do this the map often jumps back to where I have started panning from. Please report this as a bug on http://josm.openstreetmap.de/ and include a status report:

[josm-dev] zoom dependent map rendering in JOSM latest

2014-08-12 Thread Paul Hartmann
Hi, there has been a major change in the JOSM map rendering since today's latest version (7377): We now gradually shrink and hide nodes and text labels as you zoom out. This should avoid the usual pile-up of yellow node squares and POI icons when looking at a larger region. To accommodate

Re: [josm-dev] Integrating notes into JOSM core

2014-08-24 Thread Paul Hartmann
Hi Toby, Great work so far by you and Ian Dees! You have full support for this plan of integration on my part. I would have pushed this earlier, but I would also like to see some improvements to the GUI integration. E.g. what is the reason to have a dedicated toggle dialog for notes? Close

Re: [josm-dev] Error when installing preset

2014-09-03 Thread Paul Hartmann
On 03.09.2014 11:34, Malcolm Herring wrote: I have a preset that produces an error message when I try to install it. It does not seem to like the fact that I have chunks that contain only list_entry items. However, if I click on Yes to accept the install, it the preset then works fine, with the

Re: [josm-dev] new confirmation dialog for presets

2014-09-13 Thread Paul Hartmann
On 13.09.2014 10:01, Jo wrote: Hi, I created some presets and added toolbar buttons for them to smoothen my workflow. I downloaded the latest version of JOSM and now a confirmation dialog appears each and every time. You may have to modify your one-click presets and remove all elements

Re: [josm-dev] Taginfo integration

2014-09-14 Thread Paul Hartmann
Hi, I've created a ticket to track the work on the JOSM side: http://josm.openstreetmap.de/ticket/10512 I think both the main map style and the presets are interesting for this. In the presets there are fields for technical attributes like voltage=* and frequency=* on a power=substation. These

Re: [josm-dev] Josm Plugin - add entry to Filterdialog

2014-12-05 Thread Paul Hartmann
On 05.12.2014 11:19, Möller, Matthias wrote: Hi @all I'am trying to expand an exsiting plugin for josm. So the basic plugin works. Now I want to create a filter and add it to the build-in FilterDialog. [...] So my question: is there a Way to add a Filter to the build-in FilterDialog? I

Re: [josm-dev] How to use DownloadTask in Python/Jython

2015-01-16 Thread Paul Hartmann
On 16.01.2015 14:23, Jo wrote: Hi guys, Unfortunately I'm not smart enough to code in Java, so I use Python in the scripting plugin, which gets me quite far, but now I'm stuck: [...] dt = DownloadOsmTask() dt.loadUrl(False, 'http://overpass-api.de/api/interpreter?data=' +

Re: [josm-dev] How to use DownloadTask in Python/Jython

2015-01-17 Thread Paul Hartmann
On 17.01.2015 00:27, Jo wrote: Hi Paul, Many thanks for your help. f.get() makes the script hang forever. Maybe the script and the download are run by the same Executor (Main.worker). Then this would block. You can try to run your entire script in a new background thread. (Code example:

Re: [josm-dev] Plugin installation without restart

2015-02-12 Thread Paul Hartmann
On 12.02.2015 20:43, Malcolm Herring wrote: On 12/02/2015 18:59, Paul Hartmann wrote: There is a guide [1] on how to get your plugin ready to support this new feature. The good news is that there is usually nothing or very little to change, but it still needs to be tested. OK, I followed

[josm-dev] Plugin installation without restart

2015-02-12 Thread Paul Hartmann
Hi, Since version r8024, JOSM can load plugins at runtime. This means that after installation, there is no need to restart the application, but the plugins can be used immediately. There is a guide [1] on how to get your plugin ready to support this new feature. The good news is that there

Re: [josm-dev] icons for MapCSS for RoadSigns

2015-02-17 Thread Paul Hartmann
On 17.02.2015 17:20, Jo wrote: All png files together are 500k. Is it not a problem to include them twice? This is only for 1 country, what if the datasets become complete for several hundred countries? In my opinion it is better to have it foolproof. 500kB it not too much and I would worry

Re: [josm-dev] icons for MapCSS for RoadSigns

2015-02-18 Thread Paul Hartmann
On 18.02.2015 10:36, Marc Gemis wrote: BTW, the Dutch community uses the same technique as the Finnish. Do you have a link? Is there more to it than tagging for the renderer? ___ josm-dev mailing list josm-dev@openstreetmap.org

Re: [josm-dev] icons for MapCSS for RoadSigns

2015-02-17 Thread Paul Hartmann
On 17.02.2015 05:11, Jo wrote: Hi, I'm trying to create a style to visualize road signs. All the icons are already in the roadsigns plugin. Is there a way to access them? I've been trying all kinds of variations, but all I'm getting is a white square. node|z15-[traffic_sign=BE:B1] {

Re: [josm-dev] Mapillary

2015-01-27 Thread Paul Hartmann
On 27.01.2015 14:00, Jo wrote: I think I'd like to attempt it. The first question that comes to mind is: build further on the photo mapping plug in or fork it? A new plugin would be appropriate. The real photo mapping plugin (AgPifoJ) has been integrated into JOSM core years ago. Then there

Re: [josm-dev] Mapillary plugin for JOSM

2015-02-15 Thread Paul Hartmann
On 16.02.2015 00:17, Jo wrote: Hi, I'm proposing the development of a Mapillary plugin as a GSoC project. http://wiki.openstreetmap.org/wiki/Google_Summer_of_Code/2015/Mapillary_plugin_for_JOSM The question I get now from Ian Dees, is whether there is somebody from the JOSM developer team

Re: [josm-dev] Cache folder settings don't work anymore ?

2015-02-15 Thread Paul Hartmann
On 15.02.2015 19:18, hbogner wrote: Some time ago I set this up tag key='cache.folder' value='/home/hbogner/.josm-cache'/ for my cache folder, and it worked ok. Don't know when, but now I see it doesn’t work anymore. JOSM is run in with java -jar -Xmx2g -Djosm.home=/home/hbogner/Dropbox/josm

Re: [josm-dev] IDE files in plugins svn

2015-03-15 Thread Paul Hartmann
Hi Ilya, It is useful, to have the Eclipse / Netbeans project configuration in the repository. To avoid tree conflicts, you can commit it right away. Anyway, it's not particularly hard to resolve these. Just save your stuff outside of the JOSM directory, revert and copy it back. Paul On

Re: [josm-dev] Checking tags

2015-03-16 Thread Paul Hartmann
On 16.03.2015 18:02, Jochen Topf wrote: On Mo, Mär 16, 2015 at 05:13:51 +0100, Dirk Stöcker wrote: There are too many legitimate uses. And integrating the whole taginfo stats in JOSM is a bit much I think. We don't need all stats. Lets say to start we just make a list of keys that are okay,

Re: [josm-dev] GSoC: OpenGL view for JOSM

2015-03-12 Thread Paul Hartmann
On 10.03.2015 21:35, Michael Zangl wrote: Am 10.03.2015 um 16:42 schrieb Paul Hartmann: I would be very interested in a basic benchmark / proof of concept! Here you go. Some hours of work, and JOGl renders basic lines. To make it fair, I removed everything except the line rendering from

Re: [josm-dev] GSoC: OpenGL view for JOSM

2015-03-11 Thread Paul Hartmann
On 10.03.2015 20:13, Dirk Stöcker wrote: On Tue, 10 Mar 2015, Paul Hartmann wrote: Well, JOGL is a (relatively) thin wrapper to access the native OpenGL libs on all major OSs. This is as cross-plattform as it gets. It's pure Java? Well, that's really a different situation, I agree. For me

Re: [josm-dev] GSoC: OpenGL view for JOSM

2015-03-12 Thread Paul Hartmann
On 10.03.2015 14:06, Michael Zangl wrote: Hi, Thanks for the feedback. Am 10.03.2015 um 11:22 schrieb Dirk Stöcker: And now the bigger part with the BUT: I don't think that implementing OpenGL drawing interface will be a working solution. I would disagree, this sounds like a great project

Re: [josm-dev] Checking tags

2015-03-27 Thread Paul Hartmann
On 27.03.2015 09:07, Jochen Topf wrote: On Fri, Mar 27, 2015 at 12:51:12AM +0100, Paul Hartmann wrote: On 24.03.2015 09:50, Jochen Topf wrote: This way we have: light green means we know that tag and it's accepted. I would not require accepted but settle with documented. It should recognize

Re: [josm-dev] Checking tags

2015-03-27 Thread Paul Hartmann
On 27.03.2015 11:46, Jochen Topf wrote: On Fr, Mär 27, 2015 at 10:48:58 +0100, Paul Hartmann wrote: From my point of view, we can leave it up to the user to decide if a tag is accepted enough or not. What I'd find useful though, is some kind of quick spellchecking. This means it is enough

Re: [josm-dev] Fwd: GSoC: OpenGL view for JOSM

2015-03-23 Thread Paul Hartmann
On 17.03.2015 11:41, Michael Zangl wrote: Thanks for the feedback on my idea. Based on the feedback and the tests I made the past few days, I wrote a GSoC application. http://www.google-melange.com/gsoc/proposal/public/google/gsoc2015/michaelz/5750085036015616 Feel free to leave feedback/your

Re: [josm-dev] Checking tags

2015-03-26 Thread Paul Hartmann
On 24.03.2015 09:50, Jochen Topf wrote: This way we have: light green means we know that tag and it's accepted. I would not require accepted but settle with documented. It should recognize complicated tags like healthcare:speciality=ophthalmology and parking:lane:both:parallel=on_street

[josm-dev] Google Summer of Code - 3 JOSM related projects accepted

2015-04-27 Thread Paul Hartmann
Hi, the accepted students for this year's GSoC have been officially announced [1]. Congratulations to everyone who made it! Out of the 8 OpenStreetMap projects, 3 are directly related to JOSM: * Jorge López will create a Mapillary plugin (so we should be catching up with iD now ;) - mentor:

[josm-dev] point release

2015-05-06 Thread Paul Hartmann
Hi, the current release (8279) has more bugs than usual: * First, there is a memory leak in the TMS background imagery, which causes out-of-memory-exceptions for quite a few people. [1] * Next, a layout problem in the add-tag-dialog which can make the input fields invisible. [2] * Last but

Re: [josm-dev] Fwd: GSoC: OpenGL view for JOSM

2015-04-15 Thread Paul Hartmann
On 23.03.2015 17:32, Michael Zangl wrote: Hi, Thanks for the comment. The main problem I have with the Icons is the packing. I don't want to use a single texture for every icon, since a texture switch is expensive. Can't be that bad. Better start with something simple but working and leave

Re: [josm-dev] Toolbar customization by Plugin

2015-04-02 Thread Paul Hartmann
On 02.04.2015 12:00, Möller, Matthias wrote: I'am developing a plugin for josm. I want to rearrange the elements on the toolbar at the top, the edit toolbar on the left and en/disable the togglemenues by the plugin at startup. So far I couldn't find some easy access to those features in the

Re: [josm-dev] Banning plugins

2015-06-03 Thread Paul Hartmann
Hi, These belong to a group of plugins developed by students at University of Brasov (Romania) [1]: * DxfImport * ColorPlugin * kendzi3d_Improved_by_Andrei * BuildingGeneralization * ShapeTools * ContourOverlappingMerge * LanecConnectorPlugin * Remove.redundant.points My guess is, that the

Re: [josm-dev] Common presets for OSM editors?

2015-06-23 Thread Paul Hartmann
On 23.06.2015 09:03, Dirk Stöcker wrote: On Mon, 22 Jun 2015, Ian Dees wrote: I created a repo to keep track of this here: https://github.com/osmlab/editor-presets I understand Dirk and the JOSM team's position, so let's stop clogging up their inboxes and take further discussion to tickets on

Re: [josm-dev] JCS as optional dependency

2015-06-18 Thread Paul Hartmann
On 17.06.2015 00:21, Sebastiaan Couwenberg wrote: Would it be possible to make JCS an optional dependency and use the previous caching mechanism if it's not available? We switched to the JCS cache to address an issue we had with the old custom file based caching system: There was no global

Re: [josm-dev] Common presets for OSM editors?

2015-06-24 Thread Paul Hartmann
On 23.06.2015 17:23, Dirk Stöcker wrote: On Tue, 23 Jun 2015, Paul Hartmann wrote: We already have a mechanism to include previously defined chunks by reference in the defaultpresets.xml file. This could be used to include presets from the editor-presets.xml file at the correct place

Re: [josm-dev] WMTS scales - proper definition of 1m along meridian

2015-07-06 Thread Paul Hartmann
On 06.07.2015 21:15, Wiktor Niesiobedzki wrote: 2015-07-06 10:54 GMT+02:00 Paul Hartmann phaau...@gmail.com: Strange... It would be interesting to see how other projects are handling this, e.g. QGIS and GDAL. This is good hint. I've checked QGIS, but it actually uses GDAL definitions

Re: [josm-dev] WMTS scales - proper definition of 1m along meridian

2015-07-02 Thread Paul Hartmann
On 02.07.2015 21:47, Wiktor Niesiobedzki wrote: Currently I'm working on WMTS support. As some of you may know (and those who do not, I refer to http://www.opengeospatial.org/standards/wmts) uses notion of scaleDenominator that's crucial to tile positioning. More less - scaleDenominator tell how

Re: [josm-dev] WMTS scales - proper definition of 1m along meridian

2015-07-02 Thread Paul Hartmann
On 02.07.2015 23:33, Wiktor Niesiobedzki wrote: I understand, that how much real meters you get per unit of latitude as well as per unit of longitude differs for different part of the ellipsoid/sphere. But that's not what WMTS specification ask. The crucial part of spec says: pixelSpan =

Re: [josm-dev] Apache mpoved to git, broken SVN external

2015-08-28 Thread Paul Hartmann
On 28.08.2015 12:13, Dirk Stöcker wrote: Hello, Apache moved the compress stuff to git, so that the svn external breaks. There are two solutions: a) relink to the old unmaintained branch b) copy the git code into our SVN Option c) to use a Git/SVN interface seems not to exists for Apache Git.

Re: [josm-dev] Layer specific history

2015-12-31 Thread Paul Hartmann
Option 1) is the way, the undo/redo stack works at the moment, when you have multiple data layers. I like this, as it is the simplest and most conventional. Option 2) isn't too bad either. Paul ___ josm-dev mailing list josm-dev@openstreetmap.org

Re: [josm-dev] JosmPlugin, Catching the DataDelete Event

2015-11-25 Thread Paul Hartmann
On 25.11.2015 13:18, Möller, Matthias wrote: Hello, currently i'am working on a plugin for JOSM and i want to prevent the user from deleting special Nodes. So the Idea is to catch the Delete Event and display a warning(or a userchoise). Could you give a little more context, what the plugin

Re: [josm-dev] Latest josm seems to be crashing Xorg

2016-02-08 Thread Paul Hartmann
On 08.02.2016 21:14, ael wrote: I might try to open a ticket, but the last time I tried that, it seemed to vanish :-( Thanks for reporting the problem! This list is dedicated to developer discussion and meta-issues. Please open a ticket on https://josm.openstreetmap.de/ for JOSM bug reports

Re: [josm-dev] New Server

2016-02-14 Thread Paul Hartmann
On 13.02.2016 15:11, Dirk Stöcker wrote: Hello, I'll do the final switch of the server today approx between 17:00 and 19:00 CET. Jenkins and Sonar probably will take a bit longer to work 100 %again, but all the major parts visible for users should be back at 19:00 CET. Thanks for your server

Re: [josm-dev] Styling of selected ways?

2016-03-19 Thread Paul Hartmann
On 19.03.2016 13:11, Tobias Wendorff wrote: Am Fr, 18.03.2016, 20:53 schrieb Tobias Wendorff: I've generated a style for JOSM with very wide lines (width=40). It looks very well, but whenever I'm selecting a way, I'm getting a big fat (non-greek) red line. Dirk just pointed me here:

Re: [josm-dev] Multiline labels in JOSM?

2016-03-19 Thread Paul Hartmann
On 19.03.2016 20:40, Tobias Wendorff wrote: Hi there, is it possible to place multiline labels in MapPaint unsing MapCSS? I've played around with eval(replace()) and \n in every variation (\\n, "\n", '\n', "\\n", '\\n' etc.), but can't get the label to break :( No, automatic line break

[josm-dev] GSoC 2016

2016-04-25 Thread Paul Hartmann
Hi, The accepted projects for Google Summer of Code 2016 have been announced [1]. As in previous years, we can participate as part of the OpenStreetMap "umbrella organization". This year, two of the six successful applications are for JOSM related topics: - Improving the Public Transport

Re: [josm-dev] i18n for release

2016-04-28 Thread Paul Hartmann
On 28.04.2016 11:05, Dirk Stöcker wrote: On Tue, 26 Apr 2016, Paul Hartmann wrote: what are the required steps for i18n update before a release? Is it enough to do the following? $ cd josm/i18n $ ant updatecore $ svn ci ../core Yes. That's one of the possibilities. Great, that's a whole

Re: Changeset IDs and versions as Long?

2016-07-26 Thread Paul Hartmann
On 25.07.2016 23:01, Toby Murray wrote: I'm at the SOTM-US hack day. Someone heard I've tinkered with JOSM and asked some questions. They are trying to work on making an OSM API but with peer-to-peer functionality instead of only talking to a single API endpoint. Their plan is to use changeset

Re: Help using zoom command

2017-04-14 Thread Paul Hartmann
On 14.04.2017 12:09, Ian Feeney wrote: If I open JOSM and leave it on the initial start up/welcome screen, then call the zoom remote control command as follows:

Re: Cross Plugin use of classes

2017-07-15 Thread Paul Hartmann
One problem, you might be having, is that JOSM ignores the Manifest of the compiled plugin and still uses the stale information from the downloaded plugin list. One way around would be to temporarily rename the plugin (or bump the version number). It this doesn't help, you can open a ticket

JCS log output

2017-04-29 Thread Paul Hartmann
Hi, when running the JOSM-latest build downloaded from the website [1], there is plenty of log output from JCS, such as: [INFO] BlockDiskCache - Region [TMS_BLOCK_v2] Cache file root But with a local ant build, it doesn't show at all. Any idea why this is the case? [1]

Re: Remote Control - Add data layer but not download data?

2017-06-01 Thread Paul Hartmann
On 01.06.2017 18:00, Blake Girardot wrote: Dear JOSM Developers, HOT is redeveloping our OSM Tasking Manager software and trying to improve the osm data validation step in our process. Of course JOSM is the preferred editor for OSM data validation so we are really trying to get our process

Re: JOSM 12914

2017-10-03 Thread Paul Hartmann
On 03.10.2017 17:32, Tod Fitch wrote: Got a notice to upgrade JOSM today so I downloaded the latest josm-tested.jar Issues: This apparently needs a whole new setup. There was a major bug in that Mac OS X was not recognized correctly and JOSM behaved as if it runs on a Linux computer

Re: Intent of NavigatableComponent$isVisibleOnScreen()

2017-11-20 Thread Paul Hartmann
On 20.11.2017 00:09, Robert Scott wrote: Hi, Just trying to decode some of the reasoning behind bits of NavigatableComponent - was wondering what case exactly NavigatableComponent $isVisibleOnScreen() is intended to protect updateLocationState() from. I'm looking at it thinking whether it's

Plugins: deprecated API to be removed

2017-10-19 Thread Paul Hartmann
Dear plugin developers, Recently we have started an effort to make the JOSM source code more modular. [1] This requires a lot of refactoring and many of the original methods and classes have been deprecated. The work is not finished by any means, but we would like to make a cut and remove

Re: Plugins: deprecated API to be removed

2017-10-22 Thread Paul Hartmann
On 21.10.2017 18:46, Holger Mappt wrote: Hi, Is there a plugin that is updated already? I need some examples to see what I should do with the deprecated items. E.g. I have Main.map.mapView.addMouseListener(mouseAdapter); in my plugin. Main.map is a deprecated field and should be changed to

Re: Plugins: deprecated API to be removed

2017-10-22 Thread Paul Hartmann
On 21.10.2017 17:49, Holger Mappt wrote: Hi, 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 Possible, but the normal way would be

<    1   2