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

2015-05-08 Thread Rahkonen Jukka (MML)
Hi Uwe,

I can't reproduce with a vanilla r.4426 on Windows, jre 1.8.0_40 32-bit when I 
open the image into an empty project window. The bounding box dialogue appears, 
if I accept the defaults the image opens and raster info tool works. The 
envelope is: Env[0.0 : 838.0, 89.0 : 866.0]
Could you send the also the .tfw and .tif.aux.xml files which appear into the 
image directory so I can have a try with your values?

-Jukka Rahkonen-


Uwe Dalluege wrote:

Hi,

after loading a .tif file (OrthoFotoGC.tif) with OpenSextante Raster Image and 
try Raster Layer Info I receive the message:
Coordinate out of bounds!

java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
at java.awt.image.ComponentSampleModel.getSampleDouble(Unknown Source)
at java.awt.image.Raster.getSampleDouble(Unknown Source)
at
org.openjump.core.rasterimage.sextante.OpenJUMPSextanteRasterLayer.getCellValueInLayerCoords(OpenJUMPSextanteRasterLayer.java:178)
at
org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapper.getCellValueInLayerCoords(GridWrapper.java:86)
at
org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperNotInterpolated.getCellValueAsDouble(GridWrapperNotInterpolated.java:132)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getCellValueAsDouble(AbstractSextanteRasterLayer.java:112)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.calculateStatistics(AbstractSextanteRasterLayer.java:362)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:469)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:515)
at
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.InfoText(RasterImageLayerPropertiesPlugIn.java:432)
at
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.execute(RasterImageLayerPropertiesPlugIn.java:638)
at
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)



With OpenFile and then Layer Properties
it works.

I tested it with Version 20150507 snapshot rev.4426


Regards

Uwe
--
One dashboard for servers and applications across 

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

2015-05-08 Thread Rahkonen Jukka (MML)
Hi Uwe,

With the .tfw file I can reproduce. Unfortunately I do not know how to fix it. 
Issue has something to do with the accuracy of the pixel size. Original .tfw is

0.8353221957040573
0.0
0.0
-0.8365508365508365
63900.0
51800.0

You can test by editing it into:

0.8
0.0
0.0
-0.8
63900.0
51800.0

Now image info works and you can even add some more decimals and it still works.

-Jukka-




-Alkuperäinen viesti-
Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de] 
Lähetetty: 8. toukokuuta 2015 11:20
Vastaanottaja: Rahkonen Jukka (MML); OpenJump develop and use
Aihe: Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out 
of bounds!

Hi Jukka,

sorry, I forgot to send the .tfw file.

This is an air photo of my GeoCity examples for my tutorial (please see the 
.jml files, they must match for the picture).

Greetings from Hamburg

Uwe



Am 08.05.2015 um 10:01 schrieb Rahkonen Jukka (MML):
 Hi Uwe,

 I can't reproduce with a vanilla r.4426 on Windows, jre 1.8.0_40 
 32-bit when I open the image into an empty project window. The bounding box 
 dialogue appears, if I accept the defaults the image opens and raster info 
 tool works. The envelope is: Env[0.0 : 838.0, 89.0 : 866.0] Could you send 
 the also the .tfw and .tif.aux.xml files which appear into the image 
 directory so I can have a try with your values?

 -Jukka Rahkonen-


 Uwe Dalluege wrote:

 Hi,

 after loading a .tif file (OrthoFotoGC.tif) with OpenSextante Raster Image 
 and try Raster Layer Info I receive the message:
 Coordinate out of bounds!

 java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
   at java.awt.image.ComponentSampleModel.getSampleDouble(Unknown Source)
   at java.awt.image.Raster.getSampleDouble(Unknown Source)
   at
 org.openjump.core.rasterimage.sextante.OpenJUMPSextanteRasterLayer.getCellValueInLayerCoords(OpenJUMPSextanteRasterLayer.java:178)
   at
 org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapper.getCellValueInLayerCoords(GridWrapper.java:86)
   at
 org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperNotInterpolated.getCellValueAsDouble(GridWrapperNotInterpolated.java:132)
   at
 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getCellValueAsDouble(AbstractSextanteRasterLayer.java:112)
   at
 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.calculateStatistics(AbstractSextanteRasterLayer.java:362)
   at
 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:469)
   at
 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:515)
   at
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.InfoText(RasterImageLayerPropertiesPlugIn.java:432)
   at
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.execute(RasterImageLayerPropertiesPlugIn.java:638)
   at
 com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.AbstractButton.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   at 
 javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
 Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown 
 Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown 
 Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at 

[JPP-Devel] SVN: [4427] core/trunk/src/language/jump_fr.properties

2015-05-08 Thread jump-pilot-svn
Revision: 4427
  http://sourceforge.net/p/jump-pilot/code/4427
Author:   michaudm
Date: 2015-05-08 13:21:20 + (Fri, 08 May 2015)
Log Message:
---
complete french translation

Modified Paths:
--
core/trunk/src/language/jump_fr.properties

Modified: core/trunk/src/language/jump_fr.properties
===
--- core/trunk/src/language/jump_fr.properties  2015-05-07 08:28:34 UTC (rev 
4426)
+++ core/trunk/src/language/jump_fr.properties  2015-05-08 13:21:20 UTC (rev 
4427)
@@ -999,17 +999,17 @@
 org.openjump.core.ui.plugin.raster.ProfileGraphTool.values = Valeurs
 org.openjump.core.ui.plugin.raster.RasterQueryPlugIn = Valeur d'un pixel
 org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.value = valeur
-org.openjump.core.ui.plugin.raster.ProfileGraphTool.Profile= \#T\:Profile
-org.openjump.core.ui.plugin.raster.ProfileGraphTool.Profile-info= \#T\:Info 
Profile
-org.openjump.core.ui.plugin.raster.ProfileGraphTool.Profile-length= \#T\:Length
-org.openjump.core.ui.plugin.raster.ProfileGraphTool.starting-point= 
\#T\:Starting point
-org.openjump.core.ui.plugin.raster.ProfileGraphTool.ending-point= \#T\:Ending 
point
-org.openjump.core.ui.plugin.raster.ProfileGraphTool.mean-slope= \#T\:Mean slope
-org.openjump.core.ui.plugin.raster.ProfileGraphTool.cell-statistics= \#T\:Cell 
statistics
+org.openjump.core.ui.plugin.raster.ProfileGraphTool.Profile= Profil
+org.openjump.core.ui.plugin.raster.ProfileGraphTool.Profile-info= Info Profil
+org.openjump.core.ui.plugin.raster.ProfileGraphTool.Profile-length= Longueur
+org.openjump.core.ui.plugin.raster.ProfileGraphTool.starting-point= Premier 
point
+org.openjump.core.ui.plugin.raster.ProfileGraphTool.ending-point= Dernier point
+org.openjump.core.ui.plugin.raster.ProfileGraphTool.mean-slope= Pente moyenne
+org.openjump.core.ui.plugin.raster.ProfileGraphTool.cell-statistics= 
Statistiques sur les pixels
 org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.previous.value = valeur 
pr\u00e9c\u00e9dente
 org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.info = L'image 
s\u00e9lectionn\u00e9e n'est pas mono-bande
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn = 
Propri\u00e9t\u00e9s de la couche Raster
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.raster-statistics=
 \#T\:Raster statistics
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.raster-statistics=
 Statistiques raster
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands 
= Nombre de bandes
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.size 
= Taille du raster
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.size 
= Taille d'un pixel
@@ -1017,59 +1017,59 @@
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.max = 
max
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.min = 
min
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.mean 
= moyenne
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.nodata
 = pas d'info
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.nodata
 = valeurs No Data
 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer = 
Couche
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_name=
 \#T\:Layer name
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.namefile= 
\#T\:File
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.raster= 
\#T\:Raster
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.extent= 
\#T\:Extent
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_name=
 Couche
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.namefile= 
Fichier
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.raster= 
Raster
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.extent= 
Emprise
 
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.statistics= 
Statistiques
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.name= 
\#T\:name
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.type= 
\#T\:type
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.dimension= 
\#T\:dimension
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.directory= 
\#T\:directory
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.area= 
\#T\:area
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.xmin= 
\#T\:min X
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.ymin= 
\#T\:min Y
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.xmax= 
\#T\:max X
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.ymax= 
\#T\:max Y

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

2015-05-08 Thread jump-pilot-svn
Revision: 4428
  http://sourceforge.net/p/jump-pilot/code/4428
Author:   michaudm
Date: 2015-05-08 13:51:35 + (Fri, 08 May 2015)
Log Message:
---
Refactor ToggleVisiblityPlugIn to ToggleVisibilityPlugIn

Modified Paths:
--
core/trunk/ChangeLog
core/trunk/scripts/default-plugins.xml
core/trunk/src/language/jump.properties
core/trunk/src/language/jump_cz.properties
core/trunk/src/language/jump_de.properties
core/trunk/src/language/jump_es.properties
core/trunk/src/language/jump_fi.properties
core/trunk/src/language/jump_fr.properties
core/trunk/src/language/jump_hu.properties
core/trunk/src/language/jump_it.properties
core/trunk/src/language/jump_ja_JP.properties
core/trunk/src/language/jump_ml.properties
core/trunk/src/language/jump_pt.properties
core/trunk/src/language/jump_pt_BR.properties
core/trunk/src/language/jump_ta_IN.properties
core/trunk/src/language/jump_te.properties
core/trunk/src/language/jump_zh_CN.properties
core/trunk/src/language/jump_zh_HK.properties
core/trunk/src/org/openjump/OpenJumpConfiguration.java

Added Paths:
---
core/trunk/src/org/openjump/core/ui/plugin/layer/ToggleVisibilityPlugIn.java

Removed Paths:
-
core/trunk/src/org/openjump/core/ui/plugin/layer/ToggleVisiblityPlugIn.java

Modified: core/trunk/ChangeLog
===
--- core/trunk/ChangeLog2015-05-08 13:21:20 UTC (rev 4427)
+++ core/trunk/ChangeLog2015-05-08 13:51:35 UTC (rev 4428)
@@ -4204,7 +4204,7 @@
 2007-08-16 beckerl becker.la...@gmail.com
 * fixed a problem with the Toggle Visibility Layer Name
   popup menu item.  It was totally nonfunctional.
-  org.openjump.core.ui.plugin.layer.ToggleVisiblityPlugIn.java
+  org.openjump.core.ui.plugin.layer.ToggleVisibilityPlugIn.java
 
 2007-08-16 michaudm michael.mich...@free.fr
 
@@ -4316,7 +4316,7 @@
 2007-08-03 Andreas Schmitz schm...@lat-lon.de
 
 * src/org/openjump/OpenJumpConfiguration.java,
-  src/org/openjump/core/ui/plugin/layer/ToggleVisiblityPlugIn.java,
+  src/org/openjump/core/ui/plugin/layer/ToggleVisibilityPlugIn.java,
   src/org/openjump/core/ui/plugin/layer/ChangeLayerableNamePlugIn.java,
   
src/com/vividsolutions/jump/workbench/ui/plugin/wms/AddWMSQueryPlugIn.java:
   Added context menu entry on layer list that allows changing the 
layer name.
@@ -6977,7 +6977,7 @@
   edittoolbox/cursortools/CrossHairCursor.gif,
   edittoolbox/cursortools/RotateSelectedItemTool.java,
   edittoolbox/cursortools/ScaleSelectedItemsTool.java,
-  layer/AddSIDLayerPlugIn.java, layer/ToggleVisiblityPlugIn.java:
+  layer/AddSIDLayerPlugIn.java, layer/ToggleVisibilityPlugIn.java:
   update isa tools 1.1
 
 2006-02-12  mentaer sst...@geo.unizh.ch
@@ -7663,7 +7663,7 @@
   core/ui/plugin/edittoolbox/tab/absAngle.png,
   core/ui/plugin/edittoolbox/tab/relAngle.png,
   core/ui/plugin/layer/AddSIDLayerPlugIn.java,
-  core/ui/plugin/layer/ToggleVisiblityPlugIn.java,
+  core/ui/plugin/layer/ToggleVisibilityPlugIn.java,
   io/SIDLayer.java, io/SIDLayer.java2xml: adding isa plugin
   functionality (without string translation in all property files)
 

Modified: core/trunk/scripts/default-plugins.xml
===
--- core/trunk/scripts/default-plugins.xml  2015-05-08 13:21:20 UTC (rev 
4427)
+++ core/trunk/scripts/default-plugins.xml  2015-05-08 13:51:35 UTC (rev 
4428)
@@ -964,8 +964,8 @@
 
!--  LayerName Popup Menu 
=== --
plug-in
-   org.openjump.core.ui.plugin.layer.ToggleVisiblityPlugIn
-   /plug-in
+org.openjump.core.ui.plugin.layer.ToggleVisibilityPlugIn
+/plug-in
plug-in
com.vividsolutions.jump.workbench.ui.plugin.EditablePlugIn
menus
@@ -1195,7 +1195,7 @@
 
!--  WMS LayerName Popup Menu 
=== --
plug-in
-   org.openjump.core.ui.plugin.layer.ToggleVisiblityPlugIn
+   org.openjump.core.ui.plugin.layer.ToggleVisibilityPlugIn
menus
layername-popup-wms /
/menus
@@ -1258,7 +1258,7 @@
 
!--  Sextante Raster LayerName Popup Menu 
=== --
plug-in
-   org.openjump.core.ui.plugin.layer.ToggleVisiblityPlugIn
+   org.openjump.core.ui.plugin.layer.ToggleVisibilityPlugIn
menus
layername-popup-raster install=true checkbox=true 
/
/menus

Modified: core/trunk/src/language/jump.properties
===
--- 

[JPP-Devel] SVN: [4430] plug-ins/SetAttributesPlugin/

2015-05-08 Thread jump-pilot-svn
Revision: 4430
  http://sourceforge.net/p/jump-pilot/code/4430
Author:   michaudm
Date: 2015-05-08 17:28:20 + (Fri, 08 May 2015)
Log Message:
---
Initial commit of SetAttributes extension (v0.3)

Added Paths:
---
plug-ins/SetAttributesPlugin/


--
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] SVN: [4429] core/trunk/src/language

2015-05-08 Thread jump-pilot-svn
Revision: 4429
  http://sourceforge.net/p/jump-pilot/code/4429
Author:   ma15569
Date: 2015-05-08 16:00:46 + (Fri, 08 May 2015)
Log Message:
---
Updated Language files

Modified Paths:
--
core/trunk/src/language/jump.properties
core/trunk/src/language/jump_cz.properties
core/trunk/src/language/jump_de.properties
core/trunk/src/language/jump_es.properties
core/trunk/src/language/jump_fi.properties
core/trunk/src/language/jump_fr.properties
core/trunk/src/language/jump_hu.properties
core/trunk/src/language/jump_it.properties
core/trunk/src/language/jump_ja_JP.properties
core/trunk/src/language/jump_ml.properties
core/trunk/src/language/jump_pt.properties
core/trunk/src/language/jump_pt_BR.properties
core/trunk/src/language/jump_ta_IN.properties
core/trunk/src/language/jump_te.properties
core/trunk/src/language/jump_zh_CN.properties
core/trunk/src/language/jump_zh_HK.properties

Modified: core/trunk/src/language/jump.properties
===
--- core/trunk/src/language/jump.properties 2015-05-08 13:51:35 UTC (rev 
4428)
+++ core/trunk/src/language/jump.properties 2015-05-08 16:00:46 UTC (rev 
4429)
@@ -818,6 +818,8 @@
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.west-coordinate
 = west coordinate
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.worldfile-dialog
 = worldfile dialog
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.optimizedworldfile
 = (the following coordinates are optimized for the current view)
+org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.warp=Warp 
image to current view
+org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.warp-tooltip=
 Image proportion will be lost.To restore it delete world file and reopen the 
image
 
org.openjump.core.ui.plugin.layer.pirolraster.RemoveSelectedRasterImageLayersPlugIn.Remove-Selected-Raster-Image-Layers
 = Remove Selected Raster Image Layers
 
org.openjump.core.ui.plugin.layer.pirolraster.SaveRasterImageAsImagePlugIn.File-not-found
 = File not found
 
org.openjump.core.ui.plugin.layer.pirolraster.SaveRasterImageAsImagePlugIn.Save-Raster-Image-As-Image
 = Save Raster Image As Image

Modified: core/trunk/src/language/jump_cz.properties
===
--- core/trunk/src/language/jump_cz.properties  2015-05-08 13:51:35 UTC (rev 
4428)
+++ core/trunk/src/language/jump_cz.properties  2015-05-08 16:00:46 UTC (rev 
4429)
@@ -796,6 +796,8 @@
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.west-coordinate
 = z\u00E1padn\u00ED sou\u0159adnice
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.worldfile-dialog
 = dialog pro worldfile
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.optimizedworldfile
 =\#T\: (the following coordinates are optimized for the current view)
+org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.warp=\#T\:
 Warp image to current view
+org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.warp-tooltip=
 \#T\: Image width/height proportion will be lost.To restore it delete world 
file and reopen the image
 
org.openjump.core.ui.plugin.layer.pirolraster.RemoveSelectedRasterImageLayersPlugIn.Remove-Selected-Raster-Image-Layers
 = Odstranit rastrov\u00E9 vrstvy
 
org.openjump.core.ui.plugin.layer.pirolraster.SaveRasterImageAsImagePlugIn.File-not-found
 = Soubor nebyl nalezen
 
org.openjump.core.ui.plugin.layer.pirolraster.SaveRasterImageAsImagePlugIn.Save-Raster-Image-As-Image
 = Ulo\u017Eit rastr jako obr\u00E1zek

Modified: core/trunk/src/language/jump_de.properties
===
--- core/trunk/src/language/jump_de.properties  2015-05-08 13:51:35 UTC (rev 
4428)
+++ core/trunk/src/language/jump_de.properties  2015-05-08 16:00:46 UTC (rev 
4429)
@@ -797,6 +797,8 @@
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.west-coordinate
 = West-Koordinate
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.worldfile-dialog
 = Worldfile Dialog
 
org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.optimizedworldfile
 =\#T\: (the following coordinates are optimized for the current view)
+org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.warp=\#T\:
 Warp image to current view
+org.openjump.core.ui.plugin.layer.pirolraster.RasterImageWizardPanel.warp-tooltip=
 \#T\: Image width/height proportion will be lost.To restore it delete world 
file and reopen the image
 
org.openjump.core.ui.plugin.layer.pirolraster.RemoveSelectedRasterImageLayersPlugIn.Remove-Selected-Raster-Image-Layers
 = Ausgew\u00e4hlte Rasterbilder l\u00f6schen
 

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

2015-05-08 Thread Giuseppe Aruta
Hi Uwe and Jukka,
I reproduced the same error message.
I checked the Raster Info class and tried to find a solution with no
success. I will see on next days.
As far as I remember I had the same problem with raster images saved by
openjump (like save view as image).

I will write a note about Jukka'ss test on our wiki on-line manual.

--

I tested that reducing the decimals to 2:

0.83
0.0
0.0
-0.83
63900.0
51800.0

the Layer info works. The difference in Easting/Northing (at that position)
between the original worldfile and the new one is only of few millimtres.
See the following screenshot.




Peppe

2015-05-08 13:59 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de:

 Hi Jukka,

 if you use the .tfw world-file calculated by OpenJUMP with

 minx = 63900
 maxx = 64600
 miny = 51150
 maxy = 51800

 the Raster Layer Info also does not work :-(

 By the way:

 The JTextFields of the worldfile dialog
 first are too short. After I extend the dialog-window
 in y the JTextFields grow bigger.

 I use the metal-look-and-feel for OJ.

 Have a nice weekend!

 Uwe




 Am 08.05.2015 um 10:49 schrieb Rahkonen Jukka (MML):

 Hi Uwe,

 With the .tfw file I can reproduce. Unfortunately I do not know how to
 fix it. Issue has something to do with the accuracy of the pixel size.
 Original .tfw is

 0.8353221957040573
 0.0
 0.0
 -0.8365508365508365
 63900.0
 51800.0

 You can test by editing it into:

 0.8
 0.0
 0.0
 -0.8
 63900.0
 51800.0

 Now image info works and you can even add some more decimals and it still
 works.

 -Jukka-




 -Alkuperäinen viesti-
 Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de]
 Lähetetty: 8. toukokuuta 2015 11:20
 Vastaanottaja: Rahkonen Jukka (MML); OpenJump develop and use
 Aihe: Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info;
 Coordinate out of bounds!

 Hi Jukka,

 sorry, I forgot to send the .tfw file.

 This is an air photo of my GeoCity examples for my tutorial (please
 see the .jml files, they must match for the picture).

 Greetings from Hamburg

 Uwe



 Am 08.05.2015 um 10:01 schrieb Rahkonen Jukka (MML):

 Hi Uwe,

 I can't reproduce with a vanilla r.4426 on Windows, jre 1.8.0_40
 32-bit when I open the image into an empty project window. The bounding
 box dialogue appears, if I accept the defaults the image opens and raster
 info tool works. The envelope is: Env[0.0 : 838.0, 89.0 : 866.0] Could you
 send the also the .tfw and .tif.aux.xml files which appear into the image
 directory so I can have a try with your values?

 -Jukka Rahkonen-


 Uwe Dalluege wrote:

 Hi,

 after loading a .tif file (OrthoFotoGC.tif) with OpenSextante Raster
 Image and try Raster Layer Info I receive the message:
 Coordinate out of bounds!

 java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
 at java.awt.image.ComponentSampleModel.getSampleDouble(Unknown
 Source)
 at java.awt.image.Raster.getSampleDouble(Unknown Source)
 at

 org.openjump.core.rasterimage.sextante.OpenJUMPSextanteRasterLayer.getCellValueInLayerCoords(OpenJUMPSextanteRasterLayer.java:178)
 at

 org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapper.getCellValueInLayerCoords(GridWrapper.java:86)
 at

 org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperNotInterpolated.getCellValueAsDouble(GridWrapperNotInterpolated.java:132)
 at

 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getCellValueAsDouble(AbstractSextanteRasterLayer.java:112)
 at

 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.calculateStatistics(AbstractSextanteRasterLayer.java:362)
 at

 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:469)
 at

 org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:515)
 at

 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.InfoText(RasterImageLayerPropertiesPlugIn.java:432)
 at

 org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.execute(RasterImageLayerPropertiesPlugIn.java:638)
 at

 com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)
 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
 Source)
 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
 Source)
 at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
 at javax.swing.AbstractButton.doClick(Unknown Source)
 at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
 at
 javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
 Source)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at javax.swing.JComponent.processMouseEvent(Unknown Source)
 

[JPP-Devel] SetAttributes extension

2015-05-08 Thread Michaël Michaud
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] SetAttributes extension

2015-05-08 Thread Giuseppe Aruta
Hi Michaël,
it sounds interesting. Thank you. I will test and give a feedback.
Peppe

2015-05-08 21:06 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr:

 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!

2015-05-08 Thread Uwe Dalluege

Hi Jukka,

if you use the .tfw world-file calculated by OpenJUMP with

minx = 63900
maxx = 64600
miny = 51150
maxy = 51800

the Raster Layer Info also does not work :-(

By the way:

The JTextFields of the worldfile dialog
first are too short. After I extend the dialog-window
in y the JTextFields grow bigger.

I use the metal-look-and-feel for OJ.

Have a nice weekend!

Uwe



Am 08.05.2015 um 10:49 schrieb Rahkonen Jukka (MML):

Hi Uwe,

With the .tfw file I can reproduce. Unfortunately I do not know how to fix it. 
Issue has something to do with the accuracy of the pixel size. Original .tfw is

0.8353221957040573
0.0
0.0
-0.8365508365508365
63900.0
51800.0

You can test by editing it into:

0.8
0.0
0.0
-0.8
63900.0
51800.0

Now image info works and you can even add some more decimals and it still works.

-Jukka-




-Alkuperäinen viesti-
Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de]
Lähetetty: 8. toukokuuta 2015 11:20
Vastaanottaja: Rahkonen Jukka (MML); OpenJump develop and use
Aihe: Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out 
of bounds!

Hi Jukka,

sorry, I forgot to send the .tfw file.

This is an air photo of my GeoCity examples for my tutorial (please see the 
.jml files, they must match for the picture).

Greetings from Hamburg

Uwe



Am 08.05.2015 um 10:01 schrieb Rahkonen Jukka (MML):

Hi Uwe,

I can't reproduce with a vanilla r.4426 on Windows, jre 1.8.0_40
32-bit when I open the image into an empty project window. The bounding box 
dialogue appears, if I accept the defaults the image opens and raster info tool 
works. The envelope is: Env[0.0 : 838.0, 89.0 : 866.0] Could you send the also 
the .tfw and .tif.aux.xml files which appear into the image directory so I can 
have a try with your values?

-Jukka Rahkonen-


Uwe Dalluege wrote:

Hi,

after loading a .tif file (OrthoFotoGC.tif) with OpenSextante Raster Image and try 
Raster Layer Info I receive the message:
Coordinate out of bounds!

java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
at java.awt.image.ComponentSampleModel.getSampleDouble(Unknown Source)
at java.awt.image.Raster.getSampleDouble(Unknown Source)
at
org.openjump.core.rasterimage.sextante.OpenJUMPSextanteRasterLayer.getCellValueInLayerCoords(OpenJUMPSextanteRasterLayer.java:178)
at
org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapper.getCellValueInLayerCoords(GridWrapper.java:86)
at
org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperNotInterpolated.getCellValueAsDouble(GridWrapperNotInterpolated.java:132)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getCellValueAsDouble(AbstractSextanteRasterLayer.java:112)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.calculateStatistics(AbstractSextanteRasterLayer.java:362)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:469)
at
org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:515)
at
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.InfoText(RasterImageLayerPropertiesPlugIn.java:432)
at
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.execute(RasterImageLayerPropertiesPlugIn.java:638)
at
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at