Hi,

With a DEM opened as a Sextante image the tools work fine. Pretty nice, even I 
do not know yet what to do with all of them. I tested with 3000x3000 pixel 
sized file because we have plenty of those and the algorithms run very fast 
with them. I found one issue: In the Frequency distribution, pressing the Sigma 
button starts something that obviously does nothing or at least gets never 
ready, and it is impossible to stop the process. The Cancel button has no 
effect, nor does the red cross. I had to kill Java with the task manager.

By change just last week I tried to find a raster tool that would report a 
minimum and maximum value from a raster AND the locations of the extremes, 
either as pixel coordinates or georeferenced coordinates. I did find some 
examples about finding them with numpy 
https://en.moonbooks.org/Articles/How-to-find-the-indexes-of-the-minimum-or-maximum-values-in-a-matrix-using-python-/.
 Now I was hoping that perhaps I could find such a tool from your toolbox, but 
I could not. However, I believe that some of the existing tools already have 
that information, and there should only be on option to write it out. 
Especially the 3D viewer seems to have everything ready.  For my needs it would 
be enough to save just one vector point feature for the minimum and another one 
for the maximum, even if the DEM contains large flat areas like sea.  Min and 
max would be used for spreading a color ramp along the full range, and vector 
data for visualizing the locations. Do you believe that such tool could have 
general interest among users? An advanced tool could take a polygon as input 
and report min/max values from the interior of the polygon.

-Jukka-



Lähettäjä: Giuseppe Aruta <giuseppe.ar...@gmail.com>
Lähetetty: maanantai 14. lokakuuta 2024 11.25
Vastaanottaja: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>
Aihe: Re: [JPP-Devel] Upgraded RasterTools to version 3.0 beta


Hi Jukka, the import raster of Raster tool is mainly a converter: it  converts 
to tif formats which are not supported by OJ, eventually users can open them 
into OJ workbench view. Regarding the conversion of JPG, PNG and TIF (which are 
supported by Open jump sextante open file),  it is an extra: it uses Commons 
Imagining instead of Image Io libraries. I added just in case it was impossible 
to open these files by regular open sextante. It is a work in progress: I 
recommend you to use regular "open sextante" with your tiff Fike and then to 
use "Raster tools". I will give it a look anyhow to correct the bug. Thanks for 
the warning
Peppe

Il lun 14 ott 2024, 09:45 Rahkonen Jukka 
<jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>>
 ha scritto:
Hi,

I have now RasterTools 3.0.0 gamma [2024-09-30] on my computer. I was planning 
to test the terrain analysis tools but I am confuced. My source DEM is float 32
Band 1 Block=3000x1 Type=Float32, ColorInterp=Gray
but when I import it with the Import raster option it gets changed into 8 bit 
RGB. This is what gdalinfo reports about the converted image:

Band 1 Block=3000x8 Type=Byte, ColorInterp=Red
Band 2 Block=3000x8 Type=Byte, ColorInterp=Green
Band 3 Block=3000x8 Type=Byte, ColorInterp=Blue

Am I doing something wrong?

-Jukka Rahkonen-

Lähettäjä: Giuseppe Aruta 
<giuseppe.ar...@gmail.com<mailto:giuseppe.ar...@gmail.com>>
Lähetetty: keskiviikko 25. syyskuuta 2024 12.02
Vastaanottaja: OpenJump develop and use 
<jump-pilot-devel@lists.sourceforge.net<mailto:jump-pilot-devel@lists.sourceforge.net>>
Aihe: Re: [JPP-Devel] Upgraded RasterTools to version 3.0 beta

THe new version of Raster Tool 3.0 beta is available at the following link:

https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/Raster%20Tools/RasterTools-3.0.0beta-20240918.jar/download

<https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/Raster%20Tools/RasterTools-3.0.0beta-20240918.jar/download>
S<https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/Raster%20Tools/RasterTools-3.0.0beta-20240918.jar/download>ouce
 code is available here:
https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/Raster%20Tools/Older/3.x/RasterTools-3.0.0beta-20240918.zip/download

In a few day we hopefully can integrate this new version into the current 
development snapshots of OpenJUMP

Giuseppe Aruta




Il giorno mer 25 set 2024 alle ore 10:50 Giuseppe Aruta 
<giuseppe.ar...@gmail.com<mailto:giuseppe.ar...@gmail.com>> ha scritto:
Hi all
Today I upgraded RasterTools to version 3.0 beta.

The main highlights are the following:

a) Reorganized menus in a more simple and intuitive order
b) added a 'Recent used tools' menu with the list  of the last 10 used plugins
c) Enhanced 'Help' option as a tree of documents
d) Added 'Warp raster' toolbox to warp images using affine, perspective and 
bicubic transformation
e) Added Multiflow accumulation algorithm (Freeman, 1991)
f) Added export raster to KMZ with embedded legend for  single banded raster.

The complete set of tools (some are multitools)  now reaches  the number of 70, 
mainly built using the huge reference available (a list of the minimum 
reference is available on the help option).
Together with Sextante and OpenKLEM, Rastertools will probably cover not all 
but almost the need for a teaching class and a base professional project, which 
includes:
1) land classification
2) hydraulic, visibility, cost/path, math, statistic analysis
3) creation, visualization, elaboration and overlay of images.

In the future, the brench  3 of RasterTools will be used for the correction of 
bugs and  a better  integration of the tools to OpenJUMP, OpenKLEM and Sextante.

Giuseppe Aruta

_______________________________________________
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
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to