|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.layer.shape.SpatialIndex.FileIndex
public static class SpatialIndex.FileIndex
| Constructor Summary | |
|---|---|
protected |
SpatialIndex.FileIndex()
|
| Method Summary | |
|---|---|
static void |
create(java.lang.String shpFile)
|
void |
createIndex(java.lang.String inFile)
Creates a spatial index for a shape file. |
protected void |
indexNulls(java.io.InputStream is,
long ptr,
java.io.OutputStream os)
Writes the spatial index for a null shape file. |
protected void |
indexPoints(java.io.InputStream is,
long ptr,
java.io.OutputStream os)
Writes the spatial index for a point shape file. |
protected void |
indexPolygons(java.io.InputStream is,
long ptr,
java.io.OutputStream os)
Writes the spatial index for a polygon shape file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SpatialIndex.FileIndex()
| Method Detail |
|---|
public static void create(java.lang.String shpFile)
protected void indexPolygons(java.io.InputStream is,
long ptr,
java.io.OutputStream os)
is - the shape file input streamptr - the current position in the fileos - the spatial index file output stream
protected void indexPoints(java.io.InputStream is,
long ptr,
java.io.OutputStream os)
is - the shape file input streamptr - the current position in the fileos - the spatial index file output stream
protected void indexNulls(java.io.InputStream is,
long ptr,
java.io.OutputStream os)
is - the shape file input streamptr - the current position in the fileos - the spatial index file output streampublic void createIndex(java.lang.String inFile)
inFile - the shape file or spatial index file, the method will
figure it out based on the file name extension.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||