Re: [JPP-Devel] Methods to calculate Frequency in OJ?

2018-05-21 Thread Stefan Steiniger

Hi Peppe,

not that I know of... I was thinking there could be something related to 
colors theming - but I don't think so with respect to the type you want 
i even doubt that jmath has. I used only "counts" (like for histograms); 
which is a bit different - or? But you could also check if Sextante has 
something?


For OJ source code you could just run a text search using "frequency"

cheers,

Stefan


On 5/21/18 17:44, Michaël Michaud wrote:


Hi Peppe,

I think that OpenJUMP plugins including statistical functions make use 
of jmatharray-20070905. It does not include so many functions, but it 
is very lightweight.

Maybe Stefan knows a bit more about it.

Maybe there are some other places where statistical functions have 
been coded. Do cou need it for feature attribute analysis or for image 
analysis ?


Michaël

Le 21/05/2018 à 20:03, Giuseppe Aruta a écrit :

Hi all,
do we have calsses/methods in OJ core to calculate frequencies 
(absolute, relative and cumulative) of an array of numbers? I can 
implement these methods but I would prefer to use something already 
in the OJ source.

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


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


Re: [JPP-Devel] Methods to calculate Frequency in OJ?

2018-05-21 Thread Michaël Michaud

Hi Peppe,

I think that OpenJUMP plugins including statistical functions make use 
of jmatharray-20070905. It does not include so many functions, but it is 
very lightweight.

Maybe Stefan knows a bit more about it.

Maybe there are some other places where statistical functions have been 
coded. Do cou need it for feature attribute analysis or for image analysis ?


Michaël

Le 21/05/2018 à 20:03, Giuseppe Aruta a écrit :

Hi all,
do we have calsses/methods in OJ core to calculate frequencies 
(absolute, relative and cumulative) of an array of numbers? I can 
implement these methods but I would prefer to use something already in 
the OJ source.

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


[JPP-Devel] Methods to calculate Frequency in OJ?

2018-05-21 Thread Giuseppe Aruta
Hi all,
do we have calsses/methods in OJ core to calculate frequencies (absolute,
relative and cumulative) of an array of numbers? I can implement these
methods but I would prefer to use something already in the OJ source.
thanks
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
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] SVN: [5807] core/trunk

2018-05-21 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 5807
  http://sourceforge.net/p/jump-pilot/code/5807
Author:   michaudm
Date: 2018-05-21 13:38:57 + (Mon, 21 May 2018)
Log Message:
---
handling date/time fields of JML datasets was still broken (empty strings was 
returned as String instead of null)

Modified Paths:
--
core/trunk/ChangeLog
core/trunk/src/com/vividsolutions/jump/feature/FlexibleFeature.java

Modified: core/trunk/ChangeLog
===
--- core/trunk/ChangeLog2018-05-19 21:22:51 UTC (rev 5806)
+++ core/trunk/ChangeLog2018-05-21 13:38:57 UTC (rev 5807)
@@ -3,6 +3,10 @@
 # 2. make sure that lines break at 80 chars for constricted display situations
 #< 80 chars 
-->#
 
+2018-05-21 mmichaud 
+  * bugfix: handling date/time fields of JML datasets was still broken (empty
+strings was returned as String instead of null)
+
 2018-05-12 ede
   * bugfix #475: log messages doubled in the console
 

Modified: core/trunk/src/com/vividsolutions/jump/feature/FlexibleFeature.java
===
--- core/trunk/src/com/vividsolutions/jump/feature/FlexibleFeature.java 
2018-05-19 21:22:51 UTC (rev 5806)
+++ core/trunk/src/com/vividsolutions/jump/feature/FlexibleFeature.java 
2018-05-21 13:38:57 UTC (rev 5807)
@@ -65,6 +65,8 @@
 // update the attribute object, so the conversion does not happen on
 // every getAttrib()
 setAttribute(i, attrib);
+  } else {
+attrib = null;
   }
 }
 // enforce time object if not converted already
@@ -76,6 +78,8 @@
 // update the attribute object, so the conversion does not happen on
 // every getAttrib()
 setAttribute(i, attrib);
+  } else {
+attrib = null;
   }
 }
 // enforce timestamp object if not converted already
@@ -87,6 +91,8 @@
 // update the attribute object, so the conversion does not happen on
 // every getAttrib()
 setAttribute(i, attrib);
+  } else {
+attrib = null;
   }
 }
 


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