Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Hi Jukka, Thanks for the tests. Here is a version 0.4 with better messages (and resources for translation). https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/ Note that the xml attribute atomic in button element makes the plugin more or

[JPP-Devel] SVN: [4433] plug-ins/SetAttributesPlugin/trunk

2015-05-11 Thread jump-pilot-svn
Revision: 4433 http://sourceforge.net/p/jump-pilot/code/4433 Author: michaudm Date: 2015-05-11 06:39:01 + (Mon, 11 May 2015) Log Message: --- Improve error messages Modified Paths: --

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Giuseppe Aruta
Hi Michael, I tested your plugin. - I create a new layer and called *Test_Layer* - Add an attribute to the layer, called *Test_attribute* - Open XML file. On lines *button icon= text=... atomic=true layer=...*, I modified *layer=**Test_Layer* - On the lines *attribute name=... value=.../*.

Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!

2015-05-11 Thread Giuseppe Aruta
It sounds to me a good idea, Alberto Peppe 2015-05-11 12:05 GMT+02:00 Alberto De Luca - GeA alberto.del...@geomaticaeambiente.com: Hi everyone! It appears to me that the issue is due to the fact that OpenJUMPSextanteRasterLayer and GridExtent assume X and Y cell sizes to be equal. This is

[JPP-Devel] Proposal to change raster menu

2015-05-11 Thread Giuseppe Aruta
I recently added on OpenJUMP Night Snapshot some new plugins for Sextante raster. Some of them are specifically used for analysis on Single banded raster (I added also an enable check option to deactivate those plugins if a multiple banded raster is selected) Other plugins work for all type of

Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!

2015-05-11 Thread Alberto De Luca - GeA
Hi everyone! It appears to me that the issue is due to the fact that OpenJUMPSextanteRasterLayer and GridExtent assume X and Y cell sizes to be equal. This is a problem when, like with this very TIFF, the two sizes differ, and the method GridExten#recalculateNXAndNY() calculates a wrong row

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
Hi Michaël, I think that the inconsistency message is useful. About the other message: SetAttributesPlugIn.no-feature-found = No selected feature found in a matching editable layers What if to tell also which layers are searched for No selected feature found in a matching editable layers.

Re: [JPP-Devel] Proposal to change raster menu

2015-05-11 Thread Stefan Steiniger
Hi Peppe, Ok, but I prefer as name: *RasterAnalysis on Single Band Raster.* vs. multi band stefan On 05/11/2015 06:49 AM, Giuseppe Aruta wrote: *RasterAnalysis on Single banded raster* or a more generic *RasterAnalysis on Raster grids*

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
Hi, Is there a way to make a button that sets the attribute value into “NULL” ? -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Michael, I tested your plugin. - I create a new layer and called Test_Layer - Add an attribute to the layer, called Test_attribute - Open XML file. On lines button

[JPP-Devel] SVN: [4434] core/trunk

2015-05-11 Thread jump-pilot-svn
Revision: 4434 http://sourceforge.net/p/jump-pilot/code/4434 Author: bertazza Date: 2015-05-11 15:52:42 + (Mon, 11 May 2015) Log Message: --- Sextante raster layers: added ability to handle rasters with different x and y cell sizes. Modified Paths: --

Re: [JPP-Devel] Proposal to change raster menu

2015-05-11 Thread Michaël Michaud
Hi Peppe, This is also OK for me, with the correction from Stefan, Michaël Le 11/05/2015 15:27, Stefan Steiniger a écrit : Hi Peppe, Ok, but I prefer as name: *RasterAnalysis on Single Band Raster.* vs. multi band stefan On 05/11/2015 06:49 AM, Giuseppe Aruta wrote: *RasterAnalysis on

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread edgar . soldin
Mike, you could make it intuitively working by filling in the text 'NULL' in gray letters as a default when the field is empty. see how it's done in Open Declaration com.vividsolutions.jump.workbench.ui.network.ProxySettingsOptionsPanel around line 205. ..ede On 11.05.2015 22:44, Rahkonen

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Here is the documentation. Feel free to improve it. http://ojwiki.soldin.de/index.php?title=Set_Attributes_extension No idea what can happen with the editing tools as this extension has nothing to do with cursor tool. If you find something reproducible, please fill a bug report. Michaël Le

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
Confirmed, that't worth documenting as well. There may be some buggy interaction between the plugin and the normal operations but I haven't yet found a way to reproduce. I believe that for couple of times after using the SetAttribute boxes for the first time in a new project, if I went back

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Hi Jukka, Peppe, Thanks again for the feedback, I'll try to follow you suggestion about error message. Constraining a button to work only on a certain type of geometry is a bit more work, but it seems feasable. What do you think about using geometry dimension (0,1,2) instead of the 7 geometry

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Hi, You should be able to achieve this by omitting the value attribute. Michaël Le 11/05/2015 16:03, Rahkonen Jukka (MML) a écrit : Hi, Is there a way to make a button that sets the attribute value into “NULL” ? -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Michael, I tested your plugin.