|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.shapefile.indexed.ShapeFileIndexer
public class ShapeFileIndexer
Utility class for Shapefile spatial indexing
Constructor Summary | |
---|---|
ShapeFileIndexer()
|
Method Summary | |
---|---|
java.lang.String |
id()
An id for the writer. |
int |
index(boolean verbose,
org.opengis.util.ProgressListener listener)
Index the shapefile denoted by setShapeFileName(String fileName) If when a thread starts, another thread is indexing the same file, this thread will wait that the first thread ends indexing; in this case zero is reurned as result of the indexing process. |
static void |
main(java.lang.String[] args)
|
void |
setByteOrder(java.lang.String byteOrder)
DOCUMENT ME! |
void |
setMax(int i)
For quad tree this is the max depth. |
void |
setShapeFileName(ShpFiles shpFiles)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeFileIndexer()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public int index(boolean verbose, org.opengis.util.ProgressListener listener) throws java.net.MalformedURLException, java.io.IOException, TreeException, StoreException, LockTimeoutException
verbose
- enable/disable printing of dots every 500 indexed recordslistener
- DOCUMENT ME!
java.net.MalformedURLException
java.io.IOException
TreeException
StoreException
- DOCUMENT ME!
LockTimeoutException
public void setMax(int i)
i
- public void setShapeFileName(ShpFiles shpFiles)
shpFiles
- public void setByteOrder(java.lang.String byteOrder)
byteOrder
- The byteOrder to set.public java.lang.String id()
FileWriter
id
in interface FileReader
id
in interface FileWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |