Re: [JPP-Devel] SetAttributes extension
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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM
[JPP-Devel] SVN: [4433] plug-ins/SetAttributesPlugin/trunk
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: -- plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesExtension.java plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesToolbox.java plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetOfAttributes.java Added Paths: --- plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump.properties plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump_fr.properties Added: plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump.properties === --- plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump.properties (rev 0) +++ plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump.properties 2015-05-11 06:39:01 UTC (rev 4433) @@ -0,0 +1,3 @@ +SetAttributesPlugIn = SetAttributes +SetAttributesPlugIn.no-feature-found = No selected feature found in a matching editable layers +SetAttributesPlugIn.not-consistent-with-schema = Set Attributes : inconsistency between attribute ''{0}'' and feature ''{1}'' #{2} \ No newline at end of file Added: plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump_fr.properties === --- plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump_fr.properties (rev 0) +++ plug-ins/SetAttributesPlugin/trunk/resources/set_attributes/language/jump_fr.properties 2015-05-11 06:39:01 UTC (rev 4433) @@ -0,0 +1,3 @@ +SetAttributesPlugIn = Jeu d'attributs +SetAttributesPlugIn.no-feature-found = Aucun objet s\xE9lectionn\xE9 dans une couche modifiable \xE9ligible +SetAttributesPlugIn.not-consistent-with-schema = Jeu d''attributs : incoh\xE9rence entre l''attribut ''{0}'' et l''objet ''{1}'' #{2} \ No newline at end of file Modified: plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesExtension.java === --- plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesExtension.java 2015-05-10 11:31:55 UTC (rev 4432) +++ plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesExtension.java 2015-05-11 06:39:01 UTC (rev 4433) @@ -15,7 +15,7 @@ } public String getVersion() { -return 0.3 (2015-05-05); +return 0.4 (2015-05-11); } public void configure(PlugInContext context) throws Exception { Modified: plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesToolbox.java === --- plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesToolbox.java 2015-05-10 11:31:55 UTC (rev 4432) +++ plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetAttributesToolbox.java 2015-05-11 06:39:01 UTC (rev 4433) @@ -105,7 +105,7 @@ for (Feature feature : features) { srcLayerMap.put(feature, feature.clone(false)); } - tgtLayerMap.putAll(setOfAttributes.setAttributes(selectionManager.getFeaturesWithSelectedItems(lyr))); + tgtLayerMap.putAll(setOfAttributes.setAttributes(selectionManager.getFeaturesWithSelectedItems(lyr), lyr.getName())); mapSource.put(lyr,srcLayerMap); mapTarget.put(lyr,tgtLayerMap); } Modified: plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetOfAttributes.java === --- plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetOfAttributes.java 2015-05-10 11:31:55 UTC (rev 4432) +++ plug-ins/SetAttributesPlugin/trunk/src/org/openjump/ext/setattributes/SetOfAttributes.java 2015-05-11 06:39:01 UTC (rev 4433) @@ -25,6 +25,8 @@ final Logger LOG = Logger.getLogger(SetOfAttributes.class); +I18N I18N_ = I18N.getInstance(set_attributes); + FlexibleDateParser dateParser = new FlexibleDateParser(); @XmlAttribute @@ -70,7 +72,7 @@ * @param features to be modified * @throws Exception */ -public MapFeature,Feature setAttributes(CollectionFeature features) throws Exception { +public MapFeature,Feature setAttributes(CollectionFeature features, String layerName) throws Exception { // map original feature to modified features
Re: [JPP-Devel] SetAttributes extension
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=.../*. I modified* attribute=**Test_attribute*. For each lines I modified* value=**value1*,* value=**value2*, etc. Where *value1, value2*, etc are the values I want to use It works. Option* tooltip=* can to be set to recognize the values and attributes, for instance tooltip=*Test_attribute - value4* I agree with Jukka, we need a manual or a documented example. Wiki wil be a good idea. Best regards Peppe 2015-05-11 8:52 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/ ? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!
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 a problem when, like with this very TIFF, the two sizes differ, and the method GridExten#recalculateNXAndNY() calculates a wrong row count (because it uses the x cell size, the only one it knows, instead of the y cell size). In practice, it calculates 778 rows instead of 777. Using the right y cell size would lead to a correct result. I could try to amend the OpenJUMPSextanteRasterLayer (up to ISextanteLayer) and make them capable of handling two different cell sizes for x, and y (to be honest I don't know how many other classes will be involved...). What do you reckon? Alberto -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Proposal to change raster menu
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 raster. The new enhancement made some duplications on raster organization: This is my proposal a) Plugins for Single banded raster. I want to group those tools (and the other that will come) to a specific submenu: * RasterAnalysis on Single banded raster* or a more generic *RasterAnalysis on Raster grids. *The second name is more convenient by the time that those plugins will become from single banded to multiple banded The plugins I want to move are: *RasterStatisticsCompare selected grid raster layers* to *Raster**Analysis on Raster grids* *Compare statistics of selected layers* and *RasterManage NoData values[plugins]* *to* *Raster**Analysis on Raster gridsManage NoData values[plugins]* b) Duplicate functions. Remove *RasterStatisticsStatistics *plugin. This plugin is now added as a pane into Sextante Raster Layer *context menuRaster Layer Info plugin*. I think that this organization will make the raster plugins organization more comprehensible and easy to find I add this post on both Users and Developers lists. Peppe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!
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 count (because it uses the x cell size, the only one it knows, instead of the y cell size). In practice, it calculates 778 rows instead of 777. Using the right y cell size would lead to a correct result. I could try to amend the OpenJUMPSextanteRasterLayer (up to ISextanteLayer) and make them capable of handling two different cell sizes for x, and y (to be honest I don't know how many other classes will be involved...). What do you reckon? Alberto -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SetAttributes extension
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. Applied layer name mask: {0} where {0} would show the value of the layer attribute of the button if it is set and perhaps all otherwise. button icon=img/361[10].png text=10 atomic=true layer=layerName tooltip=10 km/h I played a bit and made a MaxSpeed set http://latuviitta.org/downloads/set_attributes.zip Traffic sign icons are from http://www.cs.helsinki.fi/u/ijjarvin/traffic_signs/fisigns.zip found through the OSM wiki page http://wiki.openstreetmap.org/wiki/Finland:Traffic_signs. The JOSM license (GPL2) apply for the icons but they may also be in public domain, I am not sure. I can check that but I do not mean that this toolset should be included with the SetAttributes extension but rather to tell that creating your own toolsets is simple and also that it is OK to use my toolset with OpenJUMP. As a possible enhancement for the future I wonder if it would make sense to add an option to set a geometry type constraint for the tools. For example max speed would be accepted for lines and for points because it can be an attribute of a road (line) or a traffic sign (point) but Stop would only make sense for points. -Jukka Rahkonen- Michaël Michaud wrote: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Proposal to change raster menu
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* -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SetAttributes extension
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 icon= text=... atomic=true layer=..., I modified layer=Test_Layer - On the lines attribute name=... value=.../. I modified attribute=Test_attribute. For each lines I modified value=value1, value=value2, etc. Where value1, value2, etc are the values I want to use It works. Option tooltip= can to be set to recognize the values and attributes, for instance tooltip=Test_attribute - value4 I agree with Jukka, we need a manual or a documented example. Wiki wil be a good idea. Best regards Peppe 2015-05-11 8:52 GMT+02:00 Michaël Michaud m.michael.mich...@orange.frmailto:m.michael.mich...@orange.fr: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net
[JPP-Devel] SVN: [4434] core/trunk
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: -- core/trunk/ChangeLog core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java core/trunk/src/org/openjump/core/rasterimage/WorldFileHandler.java core/trunk/src/org/openjump/core/rasterimage/sextante/AbstractSextanteRasterLayer.java core/trunk/src/org/openjump/core/rasterimage/sextante/ISextanteRasterLayer.java core/trunk/src/org/openjump/core/rasterimage/sextante/OpenJUMPSextanteRasterLayer.java core/trunk/src/org/openjump/core/rasterimage/sextante/rasterWrappers/GridExtent.java core/trunk/src/org/openjump/core/rasterimage/sextante/rasterWrappers/GridWrapper.java core/trunk/src/org/openjump/core/rasterimage/sextante/rasterWrappers/GridWrapperInterpolated.java core/trunk/src/org/openjump/core/rasterimage/sextante/rasterWrappers/GridWrapperNotInterpolated.java core/trunk/src/org/openjump/core/ui/plugin/raster/CreatePolygonGridFromSelectedImageLayerPlugIn.java core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileGraphTool.java core/trunk/src/org/openjump/core/ui/plugin/raster/RasterImageLayerPropertiesPlugIn.java Modified: core/trunk/ChangeLog === --- core/trunk/ChangeLog2015-05-11 06:39:01 UTC (rev 4433) +++ core/trunk/ChangeLog2015-05-11 15:52:42 UTC (rev 4434) @@ -1,5 +1,8 @@ # for display continuity sake please use 2 spaces instead of tabs +2015-05-11 bertaz + * Sextante raster layers: added ability to handle rasters with different x and y cell sizes. + 2015-05-10 mmichaud m.michael.mich...@orange.fr * Repair and improve SaveViewAsBeanTool Modified: core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java === --- core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java 2015-05-11 06:39:01 UTC (rev 4433) +++ core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java 2015-05-11 15:52:42 UTC (rev 4434) @@ -405,13 +405,13 @@ defaultNoData = rstLayer.getNoDataValue(); Double xcMin = Double.valueOf(rLayer.getActualImageEnvelope() -.getMinX() + 0.5D * rstLayer.getLayerCellSize()); +.getMinX() + 0.5D * rstLayer.getLayerCellSize().x); Double ycMin = Double.valueOf(rLayer.getActualImageEnvelope() -.getMinY() + 0.5D * rstLayer.getLayerCellSize()); +.getMinY() + 0.5D * rstLayer.getLayerCellSize().y); Double xcMax = Double.valueOf(rLayer.getActualImageEnvelope() -.getMaxX() - 0.5D * rstLayer.getLayerCellSize()); +.getMaxX() - 0.5D * rstLayer.getLayerCellSize().x); Double ycMax = Double.valueOf(rLayer.getActualImageEnvelope() -.getMaxY() - 0.5D * rstLayer.getLayerCellSize()); +.getMaxY() - 0.5D * rstLayer.getLayerCellSize().y); PrintStream po = new PrintStream(out); po.println(DSAA); Modified: core/trunk/src/org/openjump/core/rasterimage/WorldFileHandler.java === --- core/trunk/src/org/openjump/core/rasterimage/WorldFileHandler.java 2015-05-11 06:39:01 UTC (rev 4433) +++ core/trunk/src/org/openjump/core/rasterimage/WorldFileHandler.java 2015-05-11 15:52:42 UTC (rev 4434) @@ -44,6 +44,8 @@ import org.openjump.core.apitools.HandlerToMakeYourLifeEasier; import com.vividsolutions.jts.geom.Envelope; +import java.awt.geom.AffineTransform; +import java.awt.geom.Point2D; /** * @@ -165,20 +167,31 @@ //this.logger.printError(Can not read worldfile: + e.getMessage()); return null; } -//[sstein] Feb.2009 -- the use of CoordX (Easting) and CoordY (Northing) below does not -// respect that the coordinates are given for the -// center of the upper left pixel and not the corner. -minx = faktorA * 0. + faktorC * 0. + CoordX; -maxy = faktorB * 0. + faktorD * 0. + CoordY; -maxx = faktorA * imgWidth + faktorC * imgHeight + CoordX; -miny = faktorB * imgWidth + faktorD * imgHeight + CoordY; -//-- [sstein] Feb.2009 -- so we move the final envelope by 0.5 pixel -double px05x = ((maxx-minx) / imgWidth)*0.5; -double px05y = ((maxy-miny) / imgHeight)*0.5; // I am using different params for x,y due to possible image transforms -minx = minx-px05x; maxx = maxx-px05x; -miny = miny+px05y; maxy = maxy+px05y; -//-- sstein:end -return new Envelope(minx, maxx, miny,
Re: [JPP-Devel] Proposal to change raster menu
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 Single banded raster* or a more generic *RasterAnalysis on Raster grids* -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SetAttributes extension
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 Jukka (MML) wrote: 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 to the project window and added new layers for editing the geometries, the editing tool box had lost the focus. Switching from one tool to another and back helped: draw point - draw linestring - draw point and only then you can really draw a point. But I can't reproduce the behaviour. There should be quality control for the bugs, unreliable ones are irritating :) -Jukka- -- **Michaël Michaud wrote: 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. - 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=...//. I modified/attribute=/*Test_attribute*. For each lines I modified/value=/*value1*,/value=/*value2*, etc. Where *value1, value2*, etc are the values I want to use It works. Option/tooltip=/ can to be set to recognize the values and attributes, for instance tooltip=*Test_attribute - value4* I agree with Jukka, we need a manual or a documented example. Wiki wil be a good idea. Best regards Peppe 2015-05-11 8:52 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr mailto:m.michael.mich...@orange.fr: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new
Re: [JPP-Devel] SetAttributes extension
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 11/05/2015 22:44, Rahkonen Jukka (MML) a écrit : 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 to the project window and added new layers for editing the geometries, the editing tool box had lost the focus. Switching from one tool to another and back helped: draw point - draw linestring - draw point and only then you can really draw a point. But I can't reproduce the behaviour. There should be quality control for the bugs, unreliable ones are irritating :) -Jukka- Michaël Michaud wrote: 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. - 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=...//. I modified/attribute=/*Test_attribute*. For each lines I modified/value=/*value1*,/value=/*value2*, etc. Where *value1, value2*, etc are the values I want to use It works. Option/tooltip=/ can to be set to recognize the values and attributes, for instance tooltip=*Test_attribute - value4* I agree with Jukka, we need a manual or a documented example. Wiki wil be a good idea. Best regards Peppe 2015-05-11 8:52 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr mailto:m.michael.mich...@orange.fr: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this
Re: [JPP-Devel] SetAttributes extension
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 to the project window and added new layers for editing the geometries, the editing tool box had lost the focus. Switching from one tool to another and back helped: draw point - draw linestring - draw point and only then you can really draw a point. But I can't reproduce the behaviour. There should be quality control for the bugs, unreliable ones are irritating :) -Jukka- Michaël Michaud wrote: 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. - 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=.../. I modified attribute=Test_attribute. For each lines I modified value=value1, value=value2, etc. Where value1, value2, etc are the values I want to use It works. Option tooltip= can to be set to recognize the values and attributes, for instance tooltip=Test_attribute - value4 I agree with Jukka, we need a manual or a documented example. Wiki wil be a good idea. Best regards Peppe 2015-05-11 8:52 GMT+02:00 Michaël Michaud m.michael.mich...@orange.frmailto:m.michael.mich...@orange.fr: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight.
Re: [JPP-Devel] SetAttributes extension
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 types ? Nice set of icons with traffic signs. I'll use it to illustrate the wiki page if you don't mind. Michaël Le 11/05/2015 10:40, Rahkonen Jukka (MML) a écrit : 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. Applied layer name mask: {0} where {0} would show the value of the layer attribute of the button if it is set and perhaps all otherwise. button icon=img/361[10].png text=10 atomic=true layer=layerName tooltip=10 km/h I played a bit and made a MaxSpeed set http://latuviitta.org/downloads/set_attributes.zip Traffic sign icons are from http://www.cs.helsinki.fi/u/ijjarvin/traffic_signs/fisigns.zip found through the OSM wiki page http://wiki.openstreetmap.org/wiki/Finland:Traffic_signs. The JOSM license (GPL2) apply for the icons but they may also be in public domain, I am not sure. I can check that but I do not mean that this toolset should be included with the SetAttributes extension but rather to tell that creating your own toolsets is simple and also that it is OK to use my toolset with OpenJUMP. As a possible enhancement for the future I wonder if it would make sense to add an option to set a geometry type constraint for the tools. For example max speed would be accepted for lines and for points because it can be an attribute of a road (line) or a traffic sign (point) but Stop would only make sense for points. -Jukka Rahkonen- Michaël Michaud wrote: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud
Re: [JPP-Devel] SetAttributes extension
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. - 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=...//. I modified/attribute=/*Test_attribute*. For each lines I modified/value=/*value1*,/value=/*value2*, etc. Where *value1, value2*, etc are the values I want to use It works. Option/tooltip=/ can to be set to recognize the values and attributes, for instance tooltip=*Test_attribute - value4* I agree with Jukka, we need a manual or a documented example. Wiki wil be a good idea. Best regards Peppe 2015-05-11 8:52 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr mailto:m.michael.mich...@orange.fr: 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 less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net mailto:Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight.