|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.layer.vpf.CoverageAttributeTable
public class CoverageAttributeTable
Handle the library level VPF directory. "noamer" in DCW is an example of the library level data. This class loads the associated tiling information, and the coverage types, and make them available to the client.
Nested Class Summary | |
---|---|
static class |
CoverageAttributeTable.CoverageEntry
A utility class to hold information about one coverage type. |
Field Summary | |
---|---|
protected DataBounds |
bounds
|
protected java.lang.String |
dirpath
the path to our directory |
protected java.lang.String |
libraryname
the name of the library we are, for example "noamer" in DCW |
Constructor Summary | |
---|---|
CoverageAttributeTable(java.lang.String dcwpath,
java.lang.String libname)
Construct a new coverage attribute table |
Method Summary | |
---|---|
DataBounds |
getBounds()
Gets a DataBounds object that specifies what the CAT covers. |
java.lang.String |
getCoverageDescription(java.lang.String covname)
Get the description of a coverage type |
java.lang.String[] |
getCoverageNames()
Return the list of coverages this library has |
CoverageTable |
getCoverageTable(java.lang.String covname)
Get the CoverageTable for a particular coverage type |
CoverageTable |
getCoverageTableForFeature(java.lang.String featureName)
|
int |
getCoverageTopologyLevel(java.lang.String covname)
Get the topology level of a coverage. |
java.lang.String |
getLibraryName()
the name of the library |
TileDirectory |
getTileWithID(int id)
Get the TileDirectory with the given ID number. |
TileDirectory |
getTileWithID(java.lang.String id)
Know that the tile id are the integers used in the tileref.aft file. |
boolean |
isTiledCoverage()
is this library tiled |
boolean |
isTiledData()
Find out if this library uses tiled data |
java.util.List<TileDirectory> |
tilesInRegion(float n,
float s,
float e,
float w)
get a list of tiles in the bounding region |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String libraryname
protected final java.lang.String dirpath
protected DataBounds bounds
Constructor Detail |
---|
public CoverageAttributeTable(java.lang.String dcwpath, java.lang.String libname) throws FormatException
libname
- the name of the librarydcwpath
- the path to the library
FormatException
- may throw FormatExceptionsMethod Detail |
---|
public final boolean isTiledCoverage()
true
for tiled coverage. false
elsepublic java.lang.String getLibraryName()
public java.lang.String getCoverageDescription(java.lang.String covname)
covname
- the name of the coverage type
public int getCoverageTopologyLevel(java.lang.String covname)
covname
- the name of the coverage type
public CoverageTable getCoverageTable(java.lang.String covname)
covname
- the name of the coverage type
public CoverageTable getCoverageTableForFeature(java.lang.String featureName)
public java.util.List<TileDirectory> tilesInRegion(float n, float s, float e, float w)
n
- northern boundarys
- southern boundarye
- eating foundryw
- wheat bread
public TileDirectory getTileWithID(int id)
public TileDirectory getTileWithID(java.lang.String id)
public boolean isTiledData()
public java.lang.String[] getCoverageNames()
public DataBounds getBounds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |