[josm-dev] few questions about plugin development

2010-05-05 Thread Matthias Meißer
Hi, just a few questions concerning about JOSM plugin development: Why is my main menu entry 'video' translated to 'Videoverleih' even if I don't use tr() ? How can I debug my plugin? I tried to append to a JOSM process but this doesn't seem to work :( How can I upload my plugin to SVN

[josm-dev] Get GPS point below a mouseclick

2010-05-11 Thread Matthias Meißer
Hi, I'm looking for a method that gives me the GPS informations to a specific point that somebody clicks on a GPS layer, especially the time. Sry but I don't if this functionality is allready implemented or if I had to scan the GPS list by hand :-( Matthias

[josm-dev] External libraries and ANT

2010-05-14 Thread Matthias Meißer
Hi, I have a lot of problems getting my plugin (that refers external libs) compiled using ANT. I tried to put the lib .jar everywehere within my dirs but ANT doesn't recognize it and allways shows: Package does not exist. Then I tried to list this jar in the classpath entry of the build.xml

[josm-dev] Refactroring JOSM Dev help

2010-05-14 Thread Matthias Meißer
Hi everybody, during the last weeks I recognize a massive lack in the wiki docs for JOSM developer. I would like to refactor and extend the docs, would anybody else interested ? Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org

[josm-dev] Register for keys/shortcuts

2010-05-16 Thread Matthias Meißer
Hi, I try to register for keyevents for my plugin/layer but this doesn't seem to work :( Main.map.mapView.addKeyListener(this); Is there a good way to get notified for the cursor keys? Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org

[josm-dev] Set Date of a Waypoing

2010-05-30 Thread Matthias Meißer
Hi, I try to create a Waypoint with a custom time, this seems to be impossible, right? No way to patch the date object If nobody has an idea, I recommed to add a second constructor, asking for the date, too. This would be usefull for the editgpx plugin and for my videomapping plugin

Re: [josm-dev] Register for keys/shortcuts

2010-05-30 Thread Matthias Meißer
Hi, sry it's me again with this annoying issue :( Can anybody help me with a good snippet to register Keys as JOSM plugin, please? I'm not sure if it is a problem cause I haven't got the focus as layer or if I use the wrong techniques. I tried: Main.panel.addKeyListener(this);

Re: [josm-dev] [Fwd: Re: Register for keys/shortcuts]

2010-05-31 Thread Matthias Meißer
Hi Sebastian, no sry missed your mail. Your code doesn't work cause in Main (and in every published method) is no possibility to .registerActionShortcut(a, KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0)); Damn I didn't expected that such an easy thing would make so much trouble :(

Re: [josm-dev] [Fwd: Re: Register for keys/shortcuts]

2010-05-31 Thread Matthias Meißer
Hi Sebastian, yes my SVN is up to date. Could you have a look in PositionLayer.java, please? My aim is to get the controls to control my video in main window. of course I will add menu entries but they can't register for keys like cursor keys, right? Matthias

Re: [josm-dev] [Fwd: Re: Register for keys/shortcuts]

2010-05-31 Thread Matthias Meißer
Thx to Sebastian my problem is solved. My JOSM was out of date :( Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

[josm-dev] detect focused layer

2010-06-12 Thread Matthias Meißer
Hi devs, I would like to know how I can get notified if the user has picked another layer from the list to disable a menu. The LayerChangeListener fires only, if you add a layer but not if the focus changes :( BTW does anybody know why my shortcuts doesn't appeare on hte right side of a

[josm-dev] Where are the SVG base icons?

2010-07-25 Thread Matthias Meißer
Hi everybody, I will get the next 'project of the week' and try to initiate a icon design competition for Mapnik symbols. http://wiki.openstreetmap.org/wiki/User:!i!/potw Therefore Im looking for the basic .SVG for the feature icons used by JOSM. Where can I find them in the SVN? Or

[josm-dev] Deploying third party libraries

2010-08-18 Thread Matthias Meißer
Hi everybody, I'd like to know how the deployment system works for external libraries. I added them in Eclipse and build.xml as external .jar libs. So what can I do to make sure that they get installed to the users computer? Or does they already become part of my package? cu Matthias

[josm-dev] Attaching to JOSM's log4j

2010-08-19 Thread Matthias Meißer
Good mornig everybody, I already searched other plugins but didn't find an hint, how I can add my logger to JOSMs internal log4j Appender? greets Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org

[josm-dev] Recentering without zooming out

2010-09-15 Thread Matthias Meißer
Hi, well I try to implement a 'keep focused' option to my layer animations. I checked out remote-control plugin and it uses Main.map.mapView.recalculateCenterScale(bbox); to set the center. But I just want to focus a single point without resizing/zooming the area, so i have no clue how to

Re: [josm-dev] Register for keys/shortcuts

2010-09-15 Thread Matthias Meißer
Hi Folks, I'm still working on the Videomapping Plugin and it seems to work. But there is still a problem with the shortcuts: I register them by passing it to my JosmAction for the menu entry: VStart = new JosmAction(tr(play/pause), audio-playpause, tr(starts/pauses video playback),

Re: [josm-dev] Recentering without zooming out

2010-09-15 Thread Matthias Meißer
Hi Maria, thank you but I'm actually talking about JOSM internals. There is no panning function :( Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

[josm-dev] Shortcut Manager - Reassigned Items get different order

2010-10-10 Thread Matthias Meißer
Hi, for my plugin I use shortcuts. Within Settings-Shortcuts the user can reconfigure all shortcuts within JOSM. But if so the corresponding entry gets listed on the very top far away from the remaining entries e.g. for my plugin. So can we resort the list please to avoid confusing the

[josm-dev] Collecting OSM related frameworks, components, libraries

2010-10-30 Thread Matthias Meißer
Hi, I would like to collect as much ready to use frameworks for new devs at one single place: http://wiki.openstreetmap.org/wiki/Develop/Frameworks But I'm not that familiar with all ongoing OSM projects so I please you to help me :) Please add to this list components that are helpful when

Re: [josm-dev] Fwd: Filter Google from Imagery?

2011-01-27 Thread Matthias Meißer
I agree that this isn't a good way to deal with the problem. Now with Bing there is a good alternative, so only a few 'hardliners' would like to do so, to make the current ultimate map of their area, with fresh material. I guess this guys are able to setup a proxy to do so. It's IMHO not on

Re: [josm-dev] Optimized data structures

2011-02-23 Thread Matthias Meißer
Realy no one has an idea or is experienced in using this classes? Oh come on ;) cya Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] Google Summer of Code

2011-03-03 Thread Matthias Meißer
Hi, this might be a reposity for ideas even for OSM as a whole http://wiki.openstreetmap.org/wiki/Research/Ideas cya Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] Publishing a plugin with external dependency

2011-03-07 Thread Matthias Meißer
For my plugin (Videomapping) I decided to bundle all external jars. Even this isn't that nice from a package management view, it is the easiest way to deploy it with less troubles on versioning etc. I guess autoupdating isn't nescessary cause the release cycles of OSM are pretty short. But I'm

[josm-dev] Secrets of quadtiles

2011-03-21 Thread Matthias Meißer
Hi, as I wrote a few weeks ago, I'm still looking for a mechanism to speed up drawing in my plugin. So I want to filter out waypoints that aren't in the current viewbox. I saw the org.openstreetmap.josm.data.coor QuadTilling class implementing somewhat quadtile like concept. Unfortuunatly

Re: [josm-dev] TEST

2011-04-01 Thread Matthias Meißer
Your mail isnt filtered Martin :) cu Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] JOSM wiki: screenshots in translated pages

2011-07-06 Thread Matthias Meißer
Am 06.07.2011 14:33, schrieb colliar: Hi Screenshot are often added to the wiki. Should they be included in translated pages or is it nicer to upload a new one in the translated language ? I did upload translated screenshots for some German page but it will be quite a lot of extra data. What

Re: [josm-dev] videomapping plugin - how to?

2011-10-02 Thread Matthias Meißer
Am 02.10.2011 02:31, schrieb Iván Sánchez Ortega: Hi all, I'm trying to put my cheap-o (40€) windshield-mounted camera to good use, with JOSM and the videomapping plugin. However, whenever I launch JOSM with that plugin active, it crashes with a message like: Unable to load library