org.gcube.contentmanagement.timeseries.geotools.vti.test.experiments
Class ClusterStylesGenerator

java.lang.Object
  extended by org.gcube.contentmanagement.timeseries.geotools.vti.test.experiments.ClusterStylesGenerator

public class ClusterStylesGenerator
extends Object


Constructor Summary
ClusterStylesGenerator(String configFolder, String geoNetworkURL, String geoServerBackupURL, String geoNetworkUser, String geoNetworkPwd, String geoServerUser, String geoServerPwd, String geoServerDBURL, String geoServerDBUser, String geoServerDBPWD, String workspace, String datastore)
           
 
Method Summary
static org.geotools.styling.Rule addRule(org.geotools.styling.StyleBuilder sb, String attributeName, Object equal, Color fillColor)
           
static String createPointsStyleMapString(String styleName, String styleAttribute, int numberOfClusters, Class typeValue, Object minValue, Object maxValue)
           
static String createStyleScatterColors(String nameStyle, String attributeName, int nClasses, Class typeValue, Object maxValue, Object minValue)
           
 boolean generateStyleMap(String clusteringAlgorithmName, String clusterTable, String destinationMapTable, String datastore, String clusteridField, String outliersField)
           
static void main(String[] args)
           
static void main1(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterStylesGenerator

public ClusterStylesGenerator(String configFolder,
                              String geoNetworkURL,
                              String geoServerBackupURL,
                              String geoNetworkUser,
                              String geoNetworkPwd,
                              String geoServerUser,
                              String geoServerPwd,
                              String geoServerDBURL,
                              String geoServerDBUser,
                              String geoServerDBPWD,
                              String workspace,
                              String datastore)
Method Detail

createPointsStyleMapString

public static String createPointsStyleMapString(String styleName,
                                                String styleAttribute,
                                                int numberOfClusters,
                                                Class typeValue,
                                                Object minValue,
                                                Object maxValue)
                                         throws Exception
Throws:
Exception

generateStyleMap

public boolean generateStyleMap(String clusteringAlgorithmName,
                                String clusterTable,
                                String destinationMapTable,
                                String datastore,
                                String clusteridField,
                                String outliersField)
                         throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

main1

public static void main1(String[] args)
                  throws Exception
Throws:
Exception

createStyleScatterColors

public static String createStyleScatterColors(String nameStyle,
                                              String attributeName,
                                              int nClasses,
                                              Class typeValue,
                                              Object maxValue,
                                              Object minValue)
                                       throws Exception
Throws:
Exception

addRule

public static org.geotools.styling.Rule addRule(org.geotools.styling.StyleBuilder sb,
                                                String attributeName,
                                                Object equal,
                                                Color fillColor)


Copyright © 2013. All Rights Reserved.