org.geotools.data.gen.tool
Class Toolbox
Object
Toolbox
public class Toolbox
- extends Object
Utility class
1) Validate xml config 2) generalize shape files
- Author:
- Chrisitan Mueller
- Module:
modules/plugin/feature-pregeneralized (gt-feature-pregeneralized.jar)
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Toolbox
public Toolbox()
main
public static void main(String[] args)
parse
public boolean parse(String[] args)
throws IOException
- Throws:
IOException
validate
protected void validate(String xmlLocation)
throws IOException
- Throws:
IOException
generalizeShapeFile
protected void generalizeShapeFile(String shapeFileName,
String targetDirName,
String generalizations)
throws IOException
- Throws:
IOException
generalizeShapeFile
protected void generalizeShapeFile(File shapeFile,
DataStore shapeDS,
File targetDir,
Double[] distanceArray)
throws IOException
- Throws:
IOException
Copyright © 1996-2009 Geotools. All Rights Reserved.