deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.tools.shape
Class IndexShapeFile

java.lang.Object
  extended by org.deegree.tools.shape.IndexShapeFile

public class IndexShapeFile
extends Object

IndexShapeFile is an application that can be used to index an ESRI ShapeFiles(tm). It indexes both the geometry and the alphanumeric attributes

The application shows a file chooser with which the user can select a file. When a file is choosen the application opens it and shows the attributes. The user can now select the attributes that has to be indexed. Already indexed attributes are already selected and can be deselected. For alphanumeric attributes the user can indicate if the attribute is unique or not.

After selecting the attributes the application creates the needed indexes and loops over all the features in the shape file. For every feature the application inserts the attributes in the right index. After looping over the features the application closes the shapefile and the created indexes and removes the indexes that are no longer needed (eg. the index for the attributes that are deselected).

It is not possible to transform a unique index to a non-unique index or back.


Constructor Summary
IndexShapeFile()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexShapeFile

public IndexShapeFile()
Method Detail

main

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

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org