Re: utils2 enhancements

2017-06-21 Thread Bjoern Hassler
Hi Pierre, Thanks for the feedback. Yes, replace geometry is great. We'll take that approach, but have a single-action replace. E.g. we are looking at buildings in Africa, with some 60k node-buildings. So we have a single-action (eg. Keyboard shortcut) to turn the node (e.g. selected by to-do

Re: utils2 enhancements

2017-06-21 Thread Pierre BĂ©land
Hi Bjoern Actions on objects can come from the core or various Plugins. It is possible to replace a building node by a way by simply using the Replace geometry. A Contextual menu would greatly help to summarize possible actions when pressing the left mouse button. For example, the Replace

Re: utils2 enhancements

2017-06-21 Thread Bjoern Hassler
Hi Vincent, At the moment the buildings plugin doesn't have a menu presence. So I'm less confident about how the UI might work. Many plugins take up smenu space, so would not want to clutter it more. Any thoughts? Bjoern On Wed, 21 Jun 2017 at 13:46, Vincent Privat

Re: utils2 enhancements

2017-06-21 Thread Vincent Privat
If it's specific to buildings it might be better to enhance the building_tools plugin: http://wiki.openstreetmap.org/wiki/JOSM/Plugins/BuildingsTools You can then submit a patch on the JOSM bugtracker for review. Cheers, Vincent 2017-06-21 13:44 GMT+02:00 Bjoern Hassler :

utils2 enhancements

2017-06-21 Thread Bjoern Hassler
Dear friends, we've been looking at developing some plugins for JOSM, e.g. to facilitate fixing certain issues (e.g. assistance in replacing node-buildings by way-buildings, similar to 'replace geometry') as well as assistance adjusting residential areas (e.g. setting an arbitrary but consistent

Fwd: file caching (in scripting plugin)

2017-06-21 Thread Bjoern Hassler
Dear all, just wondering whether there's any thoughts on this! Basically it seems that the object persists beyond running the script, so e.g. running var a=require("something.js") means that a is now defined, and if something.js changes, this is not picked up. "delete a" doesn't work though.