just a follow up.

as far i am concerned i will drop the issue for now. afaiu both Kosmo and GvSig 
CE use native gdal bindings to achieve this kind of performance. as we are an 
outspoken crossplatform project i do not want to follow a path which is 
dedicatedly based on native code.

i could imagine a workaround solution using ogr2ogr though. it'd would work 
similarily to the current MrSid code. it simply gives an envelope and tasks the 
native command line binaries to produce a temporary image file, which then is 
loaded and presented on every drag and zoom in OJ.
advantage is that command line binaries are easy to replace and work nearly 
identical (from an API point of view) on every platform. additionally this will 
never kill our jre on some error ;)

..ede


On 24.09.2013 13:37, Jukka Rahkonen wrote:
> Hi,
> 
> We have more supported image formats and more drivers now. What we still
> miss is speed.
> 
> I was testing with this image:
> http://datastore.hri.fi/Helsinki/kuvat/Helsinki_orto_1943.zip
> Kosmo 3.0 opens this image in a second and zoom in/out and panning is
> stable and fast. Kosmo was installed from
> http://www.opengis.es/index.php?option=com_docman&task=doc_download&gid=95&Itemid=42
> open this image in a second and zoom in/out and panning is stable and
> fast.
> 
> OpenJUMP with the same jre 1.6 (32 bit) as Kosmo and with ImageIO[ext],jai
> driver opens this image in 80 seconds. Zoom in is fast as well as panning
> when zoomed in. However, zoom to layer takes again about a minute. After
> playing some time by panning, zooming, closing and opening images OJ gets
> so slow that it takes a minute or two to open the syntax menu with mouse
> right click.
> 
> Perhaps we have not yet found the perfect driver for images even we have
> now more of those than any known GIS program. I think that Kosmo is using
> JGDAL boundings from gvSIG project but I was reading that gvSIG CE is
> using yet another solution, native GDAL java bindings as mentioned here
> http://gvsigce.blogspot.fi/2013/09/sqlite-support.html
> 
> -Jukka Rahkonen-
> 
> edgar.sol...@web.de wrote:
>> there we go,
>>
>> for everyone who wants to try the new support of GDAL image formats
> (e.g.
>> ECW, MRSID)
>> https://github.com/geosolutions-it/imageio-ext/wiki/ImageIOExt#gdal-supported-formats
>>
>> please download an OJ PLUS snapshot rev.3729 or newer
>>  http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/
>>
>> and the packaging of the needed native libraries (x86 and x64) needed
> can
>> be found here (installation instructions inside the zip file)
>>  
>> http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Drivers/GDAL-win-x86x64-1.11dev-20130918.zip
>>
>> regards.. ede
>>
>>
>> -------- Original Message --------
>> Subject: [openjump-users] enhanced image support
>> Date: Tue, 17 Sep 2013 21:20:05 +0200
>> From: edgar.sol...@web.de
>> Reply-To: openjump-us...@googlegroups.com
>> To: openjump-us...@googlegroups.com
>>
>> dear OpenJUMPers,
>>
>> i just committed a major change (rev.3727) to the raster support in OJ.
> main changes were
>>
>> - new "Referenced Image" reader (geoimg.GeoImage), based on GeoTIFF
> reader
>> but heavily enhanced
>>  * support for ImageIO[-ext] and JAI but still referenced via JAI *
> image rereferencing via geometry manipulation
>>  * support for layer transparency
>> - GeoTiff reader renamed to "Referenced Image [legacy]"
>> - new "Buffered Image (Commons)" reader supporting transparency
>> - properly dispose referenced/buffered image layers now, incl. native
> ecw
>> and mrsid loaders
>> - reuse OpenFileWizard limited to
> ReferencedImageFactoryFileLayerLoader's
>> in ImageManager, Add button
>> - layer tree icon for Referenced Image layers indicate if there is more
> than one image in that layer now
>> - statusbar: doubleclick on memory label starts garbage collection -
> Referenced Image layers can now be saved and opened as JML, in theory
> they can be saved in any format where the feature attributes are kept
> intact
>> - Dummy Reader now only appears in SelectFileLoaderPanel (second panel
> on
>> OpenFileWizard)
>> - DropDown list in SelectFileLoaderPanel is sorted by priorities and
> alphabetically, Dummy Reader is always the second entry after the loader
> with the highest priority
>> - LayerPropertiesPlugIn, Styles transparency panel slider labels are
> signed now to indicate more or less opacity
>>
>> if you are using and/or generally interested in OJ's raster support
> please
>> read the changes above and try (some of) the new features. HINT: the
> SelectFileLoaderPanel will allow you enforce specific readers, in case a
> specific one fails.
>>
>> the snapshots are as usual avail here
>>   https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/
>>
>> as usual, please come back with praise or criticism! ..ede
>>
>> PS: the gdal support still lacks the modification to the start scripts.
> so
>> imageio-ext gdal formats will not work out of the box with PLUS. i am
> working on that, at least for windows and linux, so kindly stay tuned ;)
>>
>> --
>> -- You received this message because you are subscribed to the Google
> Groups openjump-users group. To post to this group, send email to
> openjump-us...@googlegroups.com. To unsubscribe from this group, send
> email to openjump-users+unsubscr...@googlegroups.com. For more options,
> visit this group at
> https://groups.google.com/d/forum/openjump-users?hl=en
>> ---
>> You received this message because you are subscribed to the Google
> Groups
>> "openjump-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
> an
>> email to openjump-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>> --
>> -- You received this message because you are subscribed to the Google
> Groups openjump-users group. To post to this group, send email to
> openjump-us...@googlegroups.com. To unsubscribe from this group, send
> email to openjump-users+unsubscr...@googlegroups.com. For more options,
> visit this group at
> https://groups.google.com/d/forum/openjump-users?hl=en
>> ---
>> You received this message because you are subscribed to the Google
> Groups
>> "openjump-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
> an
>> email to openjump-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
> 

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to