Hi,

KLEM offers about 24 raster tools in a small footprint. Most of them seem to 
have equivalent tools in Sextante toolbox so I made a few pairwise comparisons 
and my first feeling is that KLEM is faster, even I do understand that the 
algorithms are not equal. I also tested re-classification and polygonizing 
tools. With the latter KLEM created huge but still valid multipolygons, 
something that tends to be problem with gdal_polygonize and QGIS. I do not 
really know what these tools do but I think that they have more value for OJ 
Plus than the 1 MB that they weight.

-Jukka Rahkonen-



Lähettäjä: Giuseppe Aruta [mailto:giuseppe.ar...@gmail.com]
Lähetetty: 28. elokuuta 2018 14:36
Vastaanottaja: Michaël Michaud <m.michael.mich...@orange.fr>
Kopio: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>; 
Roberto Rossi <roberto.ro...@unipd.it>; Alberto De Luca 
<albertodelu...@gmail.com>
Aihe: Re: [JPP-Devel] Proposal to integrate OpenKLEM plugin in OpenJUMP PLUS

Hi
sorry if I resume  the topic.
I would like to have also the opinion of Alberto, Ede, Jukka, Stefan and 
possible other members about it.
- Add OpenKLEM plugin into OpenJUMP PLUS distribution (no depency required) -
Thanks again
Peppe

2018-08-25 9:35 GMT+02:00 Giuseppe Aruta 
<giuseppe.ar...@gmail.com<mailto:giuseppe.ar...@gmail.com>>:
Hi Michael
thanks for the answer
Yes. I your right. I was wrong to make a comparision. Indeed my idea was to 
only to demostrate that OpenKLEM can be
a good integration of Sextante.

Sextante still is a valid set of tools for raster analysis. The problems are 
only to some tools which are bugged
(strangely only with OpenJUMP, neither Kosmo nor GvSIG - the same Sextante 
version)

Regarding OpenKLEM tools,.
A good 50% are generic raster tools that should be used together/before any 
analysis (raster calculator, vector to raster, hystogram, etc)
We have them in Sextante but, as I wrote, some of them in Sextante are buggy 
and some in OpenKLEM are more evident and easy to use

Regarding raster capability.
Both OpenKLEM and Sextante rely on RasterImageLayer and use the same 
corresponding low level jars.
The difference comes from the wrappers of the raster data to a grid model and 
the algorithms for analysis:
Sextante uses  wrappers and algorithms located into the distribution 
(sextante.jar
and sextante-algorithms.jar) (*)
OpenKLEM has its own raster wrappers and algorithms (**)

Best regards



(*) Stefan did a good job to port  Sextante raster wrapper structure in OJ 
(OpenJUMPSextanteRasterLayer).
It should be refine in some point.
For Instance an year ago some users observed a shift of the point coordinates 
of the profile tool integrated into OJ base (which was using
OpenJUMPSextanteRasterLayer ). The plugin had to be rewritten in order to use 
RasterImageLayer class
(**) OpenKLEM wrappers/algorithms development traces back from the experience 
of raster tools in AdbToolbox, a project derived from OpenJUMP,
which is still sponsorized by the Italian m inistry of the environment 
http://www.pcn.minambiente.it/mattm/adb-toolbox/ (in Italian)

2018-08-24 23:36 GMT+02:00 Michaël Michaud 
<m.michael.mich...@orange.fr<mailto:m.michael.mich...@orange.fr>>:

Hi Peppe,

It is very promising. OpenKLEM seems a good extension for OpenJUMP.

Also it is nice that you could reduce dependencies. I think that a separate 
extension could be OK as it offers quite specialized methods (compared to my 
usage), but as we do not have an easy plugin mechanism to add extensions 
through the GUI, I'm fine if you include it in the PLUS distro.

Not sure I understand correctly the comparison with Sextante : do you suggest 
to replace Sextante ? Or is it just to demonstrate that OpenKLEM adds new 
useful capabilities compared to Sextant.

I'm a bit lost when it comes to raster capabilities. Does OpenKLEM relies on 
the same low-level libraries as Sextante (jai ? common-imaging ? imageio ?), 
does it rely on the same raster driver as Sextante (RasterImageLayer ?) or does 
it has its own ?

Thanks,

Michaël



Le 24/08/2018 à 18:40, Giuseppe Aruta a écrit :
Hi Jumpers
OpenKLEM is a set of tools for basic raster and hydrological analysis
http://ojwiki.soldin.de/index.php?title=Plugins_for_OpenJUMP#Raster_Analysis.

One of our member, Alberto De Luca, has been involved on OpenKLEM development. 
The software is used by Prof. Roberto Rossi in his course  Gis Applications in 
Hydrogeology (University of Padua - 
https://didattica.unipd.it/off/2017/LM/AV/AG0062/000ZZ/AG01122459/N0).

In the last 2 months,  in agreement with Alberto and Roberto, I reworked 
OpenKLEM source code to reduce the depencies of OpenKLEM to external libraries 
(mostly OpenDocumet ones). And to make a copy of working OpenKLEM smaller in 
size and connected only to OpenJUMP plus libraries.

This reduced OpenKLEM setup from 8 files(2 core files + 6 OpenDocuments onse)-7 
Mb to 2 core files-1 Mb.

My proposal in this mail  is to integrate OpenKLEM to OpenJUMP PLUS.

These are the advantages and integration with OpenJUMP. And a comparison 
Sextante:

1) Raster instrumentation enrichment
the hydrographic analysis tools in OpenKLEM increases the offer of Sextante's 
raster instrumentation

2) Basic raster tools:
Sextante has a more extensive set of basic raster instrumentation. But some of 
these have unresolved bugs (due to scarce users). Such as the "Sextante> Basic 
Hydrological Analysis> Sink Fill" tool. The equivalent OpenKLEM tools seem to 
work properly.

3) Availability of the source code.
OpenKLEM: The raster wrappers used in OpenKLEM are integrated into one of the 
two installation files. The source code is available for any changes / 
inspections.
Sextante: The source code of the wrapper and gui of Sextante (sextante.jar and 
sextante-gui.jar) integrated in OpenJUMP (ver 1, I believe) is not available 
(unless Stefan still  saves a copy). GvSigCE has a recent version (2014) of 
Sextante still subject to developmen untill 2017t. I tried to recompile t it 
for OJ and found more dependencies to GvGIG libraries. I suspect that by now 
the two Sextante (OJ and GvSIGCE are fork)

4) Users
Sextante. Apart from me I do not know other users who regularly use Sextante
OpenKLEM. It is used in an annual university course in Padua


Documentation: There are some papers and thesys about the usage of Kinematik 
Local Excess Model (KLEM, the hydrographic model used by OpenKLEM). In Italian.
I can resume the basics and  try to make a brief documentation about the tools, 
in English.

Source code. I can integrate OpenKLEM source code into OpenJUMP repository

Copyright: GNU General Public License. Alberto, you can correct me ;)

In this folder you can find OpenKLEM, its source code and the instruction to 
setup:
https://sourceforge.net/projects/opensit/files/Openjump/OpenKLEM/

I hope I have been brief and exhaustive. Waiting for your opinions

Best regards

Peppe



------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________

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



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to