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 Open>Sextante 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 Open>File and then "Layer Properties"
it works.

I tested it with Version 20150507 snapshot rev.4426


Regards

Uwe
------------------------------------------------------------------------------
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

Reply via email to