[JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-16 Thread SourceForge . net
Bugs item #3608038, was opened at 2013-03-14 09:59
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Menu - File 
Group: Windows
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: TIF image fails to add with error

Initial Comment:
Using the latest OpenJump 1.6.0RC1 PLUS version, I am trying to add a TIF image 
to a project using File-Add image layer and the application fails with the 
following error:

com.vividsolutions.jump.JUMPException: There were errors loading some images. 
Please check for imageless features with error attributes for details.
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageFeatureCreator.getImages(ImageFeatureCreator.java:91)
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn.execute(AddImageLayerPlugIn.java:54)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)


--

Comment By: https://www.google.com/accounts ()
Date: 2013-03-16 08:57

Message:
What about inside OJ? Is there a way to release the file in GeoTIFFImage or
GeoReferencedRaster or in ImageFeatureCreator when creating the features or
after creating them?
Or is the image locked by JAI itself?

--

Comment By: ede (edso)
Date: 2013-03-16 08:39

Message:
aside from closing OJ probably nothing you can do. probably a bug where the
resource is not released properly.

..ede

--

Comment By: https://www.google.com/accounts ()
Date: 2013-03-16 08:25

Message:
Regarding this issue, I have another problem, after throwing the error when
adding an image layer, OJ seems to lock the file so that when I try 
JAI.create(fileload, filepath) or JAI.create(stream, filepath) I get an
error are you missing JAI

Does anyone have any idea on how to unlock the file or avoid this error?

[JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-16 Thread SourceForge . net
Bugs item #3608038, was opened at 2013-03-14 09:59
Message generated for change (Comment added) made by edso
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Menu - File 
Group: Windows
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: TIF image fails to add with error

Initial Comment:
Using the latest OpenJump 1.6.0RC1 PLUS version, I am trying to add a TIF image 
to a project using File-Add image layer and the application fails with the 
following error:

com.vividsolutions.jump.JUMPException: There were errors loading some images. 
Please check for imageless features with error attributes for details.
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageFeatureCreator.getImages(ImageFeatureCreator.java:91)
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn.execute(AddImageLayerPlugIn.java:54)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)


--

Comment By: ede (edso)
Date: 2013-03-16 10:00

Message:
it's a major task. generally implementing cleanup methods to interfaces and
implementations down to the actual image loading algorithm. 

..ede

--

Comment By: https://www.google.com/accounts ()
Date: 2013-03-16 09:13

Message:
How can it be implemented? Do you have any idea what/where should I add?

--

Comment By: ede (edso)
Date: 2013-03-16 09:01

Message:
just had a look, seems like cleaning up was never implemented ;(.. and i
remember we have a general issue, read memleak, with image layers in
general, as they are not properly cleaned up.

..ede

--

Comment By: https://www.google.com/accounts ()
Date: 2013-03-16 08:57

Message:
What about inside OJ? Is there a way to release the file in GeoTIFFImage or
GeoReferencedRaster or 

[JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread SourceForge . net
Bugs item #3608038, was opened at 2013-03-14 09:59
Message generated for change (Comment added) made by edso
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Menu - File 
Group: Windows
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: TIF image fails to add with error

Initial Comment:
Using the latest OpenJump 1.6.0RC1 PLUS version, I am trying to add a TIF image 
to a project using File-Add image layer and the application fails with the 
following error:

com.vividsolutions.jump.JUMPException: There were errors loading some images. 
Please check for imageless features with error attributes for details.
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageFeatureCreator.getImages(ImageFeatureCreator.java:91)
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn.execute(AddImageLayerPlugIn.java:54)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)


--

Comment By: ede (edso)
Date: 2013-03-15 04:29

Message:
as you have a worldfile accompanying the tiff file, you can as well use the
image editor of your choice to open and save an uncompressed tiff file.

a quick test using irfanview worked flawlessly. open via
Add image layer
Sextante image
worked fine with the latest snapshot.

..ede

--

Comment By: Jukka Rahkonen (jratike80)
Date: 2013-03-14 14:01

Message:
This is the gdalinfo report of the image

C:\temp\crop_production_valuegdalinfo act2000_all_2000_val.tif
Driver: GTiff/GeoTIFF
Files: act2000_all_2000_val.tif
Size is 4320, 2160
Coordinate System is:
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]]
Origin = (-180.000,90.000)
Pixel Size = 

Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread edgar . soldin
On 15.03.2013 12:20, Chris Warner wrote:
 Tried this  below  how do you add a Sextant Image - this is not a 
 plus edition?

dunno when this was added. but it is available in 
- the latest snapshots
 or
- 1.5.2 both editions (CORE/PLUS)

somebody wrote it is the streamlined pirol plugin included and renamed and 
added to the OpenWizard.

..ede

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Rahkonen Jukka
Oh yes, Sextante image loader in in File - Open - Sextante Raster Image (in the 
left panel icons(. Not in File - Open file.
We have some menu troubles.

-Jukka-

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Chris Warner

On 15/03/2013 12:06, Rahkonen Jukka wrote:

  You need to use Sextante image loader (or Pirol plugin) if you want to use 
32-bit images is OpenJUMP. If images are your main point, I would recommend to 
use Saga GIS or Quantum GIS instead.
Hi Jukka, thanks for the quick response - you're a  nice guy, really 
appreciate it.


I am a GIS developer -  I was thinking about helping to code a GDAL 
plug-in, because OJ (or our implementation at least) could really use 
some advanced raster functions.
I came across this thread below and agree with both you and Landon, this 
would help OJ compete with the likes of QGIS etc.


What do you, or others think - any ideas suggestions?

I really think integration of C libraries directly into OJ is a bad
thing. Incorporating native libraries can be a real challenge when
your distributing a Java program for MS Windows, Linux, and Mac. It
also requires that at least some of our Java programmers deal with C
code when building and distributing OpenJUMP.

If GDAL was incorporated, I'd like to see that done as a plug-in if
possible, and not in the core.

*If GeoTools already wraps GDAL, that is certainly something that is**
**worth investigating.*

Landon


Megabytes do not have so big meaning nowadays but I like still a lot that
OpenJUMP takes only about 20 MB on the disk and it starts very fast. Kosmo
comes with 26 dlls (17 MB) and gvSIG with 32 dlls (18 MB). It looks like
most dlls are needed for GDAL and support of different image formats.



*It might be good idea to have the OpenJUMP advanced imagery support as a**
**separate plugin.*  Compressed tiff files cannot be opened at all. And for
some reason the Sextante raster option does not open our aerial images at
all, not even as untiled and uncompressed. *It would be very nice to get**
**better support for different tiff variants.*

-Jukka Rahkonen-


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Larry Becker
SkyJUMP has some limited support for GDAL via the OGR2OGR file conversion
utility.  I recommend the FWTools http://fwtools.maptools.org/binaries
which support windows and linux.  If you stick to command line stuff JNI is
not needed.

regards,

Larry Becker

On Fri, Mar 15, 2013 at 9:25 AM, Chris Warner chriswarne...@gmail.comwrote:

  On 15/03/2013 12:06, Rahkonen Jukka wrote:

  You need to use Sextante image loader (or Pirol plugin) if you want to use 
 32-bit images is OpenJUMP. If images are your main point, I would recommend 
 to use Saga GIS or Quantum GIS instead.

  Hi Jukka, thanks for the quick response - you're a  nice guy, really
 appreciate it.

 I am a GIS developer -  I was thinking about helping to code a GDAL
 plug-in, because OJ (or our implementation at least) could really use some
 advanced raster functions.
 I came across this thread below and agree with both you and Landon, this
 would help OJ compete with the likes of QGIS etc.

 What do you, or others think - any ideas suggestions?

 I really think integration of C libraries directly into OJ is a bad
 thing. Incorporating native libraries can be a real challenge when
 your distributing a Java program for MS Windows, Linux, and Mac. It
 also requires that at least some of our Java programmers deal with C
 code when building and distributing OpenJUMP.

 If GDAL was incorporated, I'd like to see that done as a plug-in if
 possible, and not in the core.

 *If GeoTools already wraps GDAL, that is certainly something that is**
 **worth investigating.*

 Landon

 Megabytes do not have so big meaning nowadays but I like still a lot that
 OpenJUMP takes only about 20 MB on the disk and it starts very fast. Kosmo
 comes with 26 dlls (17 MB) and gvSIG with 32 dlls (18 MB). It looks like
 most dlls are needed for GDAL and support of different image formats.

 

 *It might be good idea to have the OpenJUMP advanced imagery support as a*
 *
 **separate plugin.*  Compressed tiff files cannot be opened at all. And
 for
 some reason the Sextante raster option does not open our aerial images at
 all, not even as untiled and uncompressed. *It would be very nice to get**
 **better support for different tiff variants.*

 -Jukka Rahkonen-



 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread edgar . soldin
we talked about using native libs before here on the list. there JNA came up 
http://en.wikipedia.org/wiki/Java_Native_Access

and i already have a loader for native libraries in the back pocket, with some 
logic to traverse through folders to find the correct library for the platform.

having our reader support compressed tiffs shouldn't be the big issue by the 
way. it's just, somebody has to hack it in.

..ede

On 15.03.2013 15:55, Larry Becker wrote:
 SkyJUMP has some limited support for GDAL via the OGR2OGR file conversion 
 utility.  I recommend the FWTools http://fwtools.maptools.org/binaries 
 which support windows and linux.  If you stick to command line stuff JNI is 
 not needed. 
 
 regards,
 
 Larry Becker
 
 On Fri, Mar 15, 2013 at 9:25 AM, Chris Warner chriswarne...@gmail.com 
 mailto:chriswarne...@gmail.com wrote:
 
 On 15/03/2013 12:06, Rahkonen Jukka wrote:
  You need to use Sextante image loader (or Pirol plugin) if you want to 
 use 32-bit images is OpenJUMP. If images are your main point, I would 
 recommend to use Saga GIS or Quantum GIS instead. 
 Hi Jukka, thanks for the quick response - you're a  nice guy, really 
 appreciate it.
 
 I am a GIS developer -  I was thinking about helping to code a GDAL 
 plug-in, because OJ (or our implementation at least) could really use some 
 advanced raster functions.
 I came across this thread below and agree with both you and Landon, this 
 would help OJ compete with the likes of QGIS etc.
 
 What do you, or others think - any ideas suggestions?
 
 I really think integration of C libraries directly into OJ is a bad
 thing. Incorporating native libraries can be a real challenge when
 your distributing a Java program for MS Windows, Linux, and Mac. It
 also requires that at least some of our Java programmers deal with C
 code when building and distributing OpenJUMP.
 
 If GDAL was incorporated, I'd like to see that done as a plug-in if
 possible, and not in the core.
 
 *If GeoTools already wraps GDAL, that is certainly something that is**
 **worth investigating.*
 
 Landon
 
 
 Megabytes do not have so big meaning nowadays but I like still a lot that
 OpenJUMP takes only about 20 MB on the disk and it starts very fast. Kosmo
 comes with 26 dlls (17 MB) and gvSIG with 32 dlls (18 MB). It looks like
 most dlls are needed for GDAL and support of different image formats.
 
 
 
 *It might be good idea to have the OpenJUMP advanced imagery support as 
 a**
 **separate plugin.*  Compressed tiff files cannot be opened at all. And 
 for
 some reason the Sextante raster option does not open our aerial images at
 all, not even as untiled and uncompressed. *It would be very nice to get**
 **better support for different tiff variants.*
 
 -Jukka Rahkonen-
 
 
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 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
 
 
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-15 Thread Chris Warner
On 15/03/2013 15:33, edgar.sol...@web.de wrote:
 we talked about using native libs before here on the list. there JNA came up
 http://en.wikipedia.org/wiki/Java_Native_Access

 and i already have a loader for native libraries in the back pocket, with 
 some logic to traverse through folders to find the correct library for the 
 platform.

 having our reader support compressed tiffs shouldn't be the big issue by the 
 way. it's just, somebody has to hack it in.

 ..ede
Thanks for the link Ede - I will look at this - I'm quite happy to 
contribute.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-14 Thread SourceForge . net
Bugs item #3608038, was opened at 2013-03-14 09:59
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Menu - File 
Group: Windows
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: TIF image fails to add with error

Initial Comment:
Using the latest OpenJump 1.6.0RC1 PLUS version, I am trying to add a TIF image 
to a project using File-Add image layer and the application fails with the 
following error:

com.vividsolutions.jump.JUMPException: There were errors loading some images. 
Please check for imageless features with error attributes for details.
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageFeatureCreator.getImages(ImageFeatureCreator.java:91)
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn.execute(AddImageLayerPlugIn.java:54)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)


--

Comment By: https://www.google.com/accounts ()
Date: 2013-03-14 12:04

Message:
The image that throws the error is larger than the maximum allowed size for
uploading so I have uploaded it at this link:

https://www.dropbox.com/s/6nxysqnju2g6jjs/crop_production_value.zip

--

Comment By: Jukka Rahkonen (jratike80)
Date: 2013-03-14 11:25

Message:
There are many kind of tiff files and OpenJUMP cannot open all variants. It
would help to get a sample image or image info created with the gdalinfo
utility
http://www.gdal.org/gdalinfo.html

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:

[JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-14 Thread SourceForge . net
Bugs item #3608038, was opened at 2013-03-14 09:59
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Menu - File 
Group: Windows
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: TIF image fails to add with error

Initial Comment:
Using the latest OpenJump 1.6.0RC1 PLUS version, I am trying to add a TIF image 
to a project using File-Add image layer and the application fails with the 
following error:

com.vividsolutions.jump.JUMPException: There were errors loading some images. 
Please check for imageless features with error attributes for details.
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageFeatureCreator.getImages(ImageFeatureCreator.java:91)
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn.execute(AddImageLayerPlugIn.java:54)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)


--

Comment By: https://www.google.com/accounts ()
Date: 2013-03-14 12:36

Message:
If I use the pirol raster image plugin, it works fine, but I encountered
the following scenarios:

Open OJ, Layers - Add raster image layer works fine - close OJ

Open OK, File - Add image layer - error occurs - Layers - Add raster
image layer - error:  you`re missing JAI? all factories fail for the
operation fileload

So apparently, when the Add image layer failed, it locked the JAI maybe,
somehow, so that the pirol plugin cannot access it anymore

--

Comment By: https://www.google.com/accounts ()
Date: 2013-03-14 12:04

Message:
The image that throws the error is larger than the maximum allowed size for
uploading so I have uploaded it at this link:

https://www.dropbox.com/s/6nxysqnju2g6jjs/crop_production_value.zip

--

Comment By: Jukka Rahkonen (jratike80)
Date: 2013-03-14 

[JPP-Devel] [ jump-pilot-Bugs-3608038 ] TIF image fails to add with error

2013-03-14 Thread SourceForge . net
Bugs item #3608038, was opened at 2013-03-14 09:59
Message generated for change (Comment added) made by jratike80
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3608038group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Menu - File 
Group: Windows
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: TIF image fails to add with error

Initial Comment:
Using the latest OpenJump 1.6.0RC1 PLUS version, I am trying to add a TIF image 
to a project using File-Add image layer and the application fails with the 
following error:

com.vividsolutions.jump.JUMPException: There were errors loading some images. 
Please check for imageless features with error attributes for details.
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageFeatureCreator.getImages(ImageFeatureCreator.java:91)
at 
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn.execute(AddImageLayerPlugIn.java:54)
at 
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)


--

Comment By: Jukka Rahkonen (jratike80)
Date: 2013-03-14 14:01

Message:
This is the gdalinfo report of the image

C:\temp\crop_production_valuegdalinfo act2000_all_2000_val.tif
Driver: GTiff/GeoTIFF
Files: act2000_all_2000_val.tif
Size is 4320, 2160
Coordinate System is:
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]]
Origin = (-180.000,90.000)
Pixel Size = (0.083,-0.083)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (-180.000,  90.000) (180d 0' 0.00W, 90d 0' 0.00N)
Lower Left  (-180.000, -90.000) (180d 0' 0.00W, 90d 0' 0.00S)
Upper Right ( 180.000,  90.000) (180d 0' 0.00E, 90d 0' 0.00N)
Lower Right ( 180.000, -90.000) (180d 0' 0.00E, 90d 0'