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

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

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: 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: [OSM-dev] XAPI

2017-08-08 Thread Paul Hartmann
On 07.08.2017 18:08, Simon Poole wrote: There are multiple reasons why this is not going to work, not the least that there have been no public native XAPI servers available for a very long time. See http://wiki.openstreetmap.org/wiki/Xapi The new query system is Overpass API, which has

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

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

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: 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: 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: [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

[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: [OSM-dev] SSL-Certificate for osm.org

2016-03-21 Thread Paul Hartmann
On 21.03.2016 10:26, Frederik Ramm wrote: Hi, On 03/21/2016 09:22 AM, Tom Hughes wrote: The horribly backward Java certificate root authority list is the main obstacle to most of our attempts to improve https support in fact. Perhaps we could just ignore that? I'm a JOSM user myself but I

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

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: [OSM-dev] GSOC: JOSM Plugin to assist with adding public transport routes

2016-02-15 Thread Paul Hartmann
On 14.02.2016 22:17, Vishal vijayvargiya wrote: Hi all, I came across GSOC project of "JOSM Plugin to assist with adding public transport routes". [...] The aforementioned project interests me the most [...] Hi Vishal, if you are interested in this project, it might be a good idea to write

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] 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] 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] 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] 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] 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] 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] 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

[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

[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:

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] 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] 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

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-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] 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] 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-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] 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] 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 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-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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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:

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

[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] 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

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] 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] 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] 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] 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: [OSM-dev] OSM software repositories -- git and svn

2014-05-23 Thread Paul Hartmann
Hi, I just like to point out, that there is already a dedicated github account: https://github.com/openstreetmap It hosts for example iD, osm2pgsql, mod_tile and lots of mirrors. Technically, openstreetmap is a github Organization. This means, not a single person owns the account, but a

[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] 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

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] 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: [OSM-dev] JOSM plugin public transport update (Google Summer of Code program)

2014-03-14 Thread Paul Hartmann
If you are interested in the project, it might be a good idea to contact Roland directly (email see http://overpass-api.de/). 4. Where can I find bug tracker for this tool? This is the same as the bug tracker for JOSM core (component Plugin public_transport):

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] 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] 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] 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] 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] 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] 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] 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

[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] 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.

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] 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] 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] 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] 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: [OSM-dev] OSM API Improvements work

2012-10-12 Thread Paul Hartmann
On 10/11/2012 09:26 PM, Tom MacWright wrote: Hey dev, Just posted the first few issues of the work that I can deem 'stuff that we're doing as part of the Knight iniative'. They consist of API-related tasks, some of which have had prior art but haven't been tested/completed enough to ship. I'd

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] 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

  1   2   >