public class Toolbox extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DefaultCharset |
static boolean |
DefaultForceLonLat |
| Constructor and Description |
|---|
Toolbox() |
Toolbox(Map<String,gr.cite.geoanalytics.common.ShapeAttributeDataType> featureTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatureTypes(Map<String,gr.cite.geoanalytics.common.ShapeAttributeDataType> types) |
Map<String,String> |
analyzeAttributesOfFeatureSource(org.geotools.data.simple.SimpleFeatureSource featureSource,
boolean inferTypes) |
Map<String,String> |
analyzeAttributesOfShapeFile(String filename,
String charset,
boolean inferTypes) |
void |
clearFeatureTypes() |
Set<String> |
getAttributeValuesFromFeatureSource(org.geotools.data.simple.SimpleFeatureSource featureSource,
String attribute) |
Set<String> |
getAttributeValuesFromShapeFile(String pathname,
String charset,
String attribute) |
public static final String DefaultCharset
public static final boolean DefaultForceLonLat
public void addFeatureTypes(Map<String,gr.cite.geoanalytics.common.ShapeAttributeDataType> types)
public void clearFeatureTypes()
public Map<String,String> analyzeAttributesOfFeatureSource(org.geotools.data.simple.SimpleFeatureSource featureSource, boolean inferTypes) throws Exception
Exceptionpublic Map<String,String> analyzeAttributesOfShapeFile(String filename, String charset, boolean inferTypes) throws Exception
Exceptionpublic Set<String> getAttributeValuesFromFeatureSource(org.geotools.data.simple.SimpleFeatureSource featureSource, String attribute) throws Exception
ExceptionCopyright © 2018. All Rights Reserved.