public static class SpatialIndex.MemoryIndex
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
SpatialIndex.MemoryIndex() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 toprotected 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 toprotected 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.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details