Hello Stefan,
very nice new plugin!! I am very happy to see a classification tool!!
I tested the attribute classification with a point data set.
a) classification mehtods "Equal-Range" and "Mean Standard Deviation"
worked fine
b) classification method "Equal-Numbers-/-Quantiles" brought following
exception
"No Class Def Found Error"
org/math/array/util/Sorting (No Class Def Found Error)
java.lang.NoClassDefFoundError: org/math/array/util/Sorting
at org.math.array.DoubleArray.sort(DoubleArray.java:1732)
at
org.openjump.core.classify.Classifier1D.classifyEqualNumber(Classifier1D.java:85)
at
org.openjump.core.ui.plugin.ClassifyAttributesPlugIn.classifyAndCreatePlot(ClassifyAttributesPlugIn.java:296)
at
org.openjump.core.ui.plugin.ClassifyAttributesPlugIn.run(ClassifyAttributesPlugIn.java:179)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
at java.lang.Thread.run(Unknown Source)
c) classification method "Maximal Breaks" brought following exception:
"No Class Def Found Error"
org/math/array/util/Sorting (No Class Def Found Error)
java.lang.NoClassDefFoundError: org/math/array/util/Sorting
at org.math.array.DoubleArray.sort(DoubleArray.java:1732)
at
org.openjump.core.classify.Classifier1D.classifyMaxBreaks(Classifier1D.java:154)
at
org.openjump.core.ui.plugin.ClassifyAttributesPlugIn.classifyAndCreatePlot(ClassifyAttributesPlugIn.java:305)
at
org.openjump.core.ui.plugin.ClassifyAttributesPlugIn.run(ClassifyAttributesPlugIn.java:179)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
at java.lang.Thread.run(Unknown Source)
Is it possible to get additionally a user definable classification
method like this (e.g. a dataset with values from 0-12.5):
Set all values from "0.0" to "5.0" to "low" (string) or 2.5 (double)
Set all values from "5.5" to "8.0" to "middle" (string) or 6.8 (double)
Set all values from "8.0" to "12.5" to "high" (string) or 10.3 (double)
Kindly regards
Arnd
Stefan Steiniger schrieb:
Hei Users,
I took me a long time to had a go, but now I have done a first
testable version of a data exploration plugin.
http://www.geo.unizh.ch/~sstein/oj/oj_dataexplotation_plugins.zip
(unzip the 3 jar files to O.-JUMP subfolder /lib/ext)
It contains the following functionality (see menu Plugin\Analysis\):
A) Classification of layer attributes:
*implemented methods:
1. equal range,
2. equal number (quantiles),
3. max breaks,
4. mean-standard-deviation
(for literature see T.A. Slocum, 1999; B.D. Dent, 1999)
*optimized class breaks can be calculated using a k-means algorithm.
(note: I also tried to implement Jenks' optimal breaks, but I could
not find a sufficient description of the method - only a not feasable
"try all possible breaks" description. That is why I implemented
k-means for a pseudo-optimization/fine tuning of the derived class
breaks from the other methods.)
B) Plotting of layer attributes
* Histogram
* Bar Plot (no real bars)
* Scatter Plot
(note A: with left cklick on the plotted points/bars the
corresponding features are "flashed" in the layer view
note B: I also thought about adding line plot and stair case plot,
but both plot types assume ordered data which we can't assume within a
geographic layer)
I know the graphics does not look that "fancy" as with JFreeChart
library.. but for (my) analysis purposes I think it is sufficient.
Basically all plots are created by use of JMathPlot library from
JMathTools project. I also used the JMathArray library during the
classification methods.
Any suggestions.. except improvements on the plot-graphics? ;)
cheers
stefan
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users