|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.layer.shape.SpatialIndex.MemoryIndex
public static class SpatialIndex.MemoryIndex
| Constructor Summary | |
|---|---|
protected |
SpatialIndex.MemoryIndex()
|
| Method Summary | |
|---|---|
static java.util.List<SpatialIndex.Entry> |
create(java.lang.String shpFile)
|
java.util.List<SpatialIndex.Entry> |
createIndex(java.lang.String inFile)
Creates a spatial index for a shape file. |
protected void |
indexNulls(java.io.InputStream is,
long ptr,
java.util.List<SpatialIndex.Entry> entries)
Writes the spatial index for a null shape file. |
protected void |
indexPoints(java.io.InputStream is,
long ptr,
java.util.List<SpatialIndex.Entry> entries)
Writes the spatial index for a point shape file. |
protected void |
indexPolygons(java.io.InputStream is,
long ptr,
java.util.List<SpatialIndex.Entry> entries)
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.MemoryIndex()
| Method Detail |
|---|
public static java.util.List<SpatialIndex.Entry> create(java.lang.String shpFile)
protected void indexPolygons(java.io.InputStream is,
long ptr,
java.util.List<SpatialIndex.Entry> entries)
is - the shape file input streamptr - the current position in the fileentries - a List of Entries to add to
protected void indexPoints(java.io.InputStream is,
long ptr,
java.util.List<SpatialIndex.Entry> entries)
is - the shape file input streamptr - the current position in the fileentries - a List of Entries to add to
protected void indexNulls(java.io.InputStream is,
long ptr,
java.util.List<SpatialIndex.Entry> entries)
is - the shape file input streamptr - the current position in the fileentries - a List of Entries to add topublic java.util.List<SpatialIndex.Entry> createIndex(java.lang.String inFile)
inFile - the shape file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||