public abstract class PrimitiveTable extends DcwRecordFile
Modifier and Type | Field and Description |
---|---|
protected CoverageTable |
covtable
the coverage table that we are working for
|
protected int |
idColumn
the id column position
|
protected TileDirectory |
tile
the tile we are for
|
byteorder, columnInfo, documentationFileName, filename, ID_COLUMN_NAME, inputFile, MSBFirst, recordLength, tableDescription, tablename, vli
Constructor and Description |
---|
PrimitiveTable(CoverageTable cov,
TileDirectory tile,
java.lang.String tablename)
Construct a PrimitiveTable.
|
Modifier and Type | Method and Description |
---|---|
abstract OMGraphic |
drawFeature(VPFFeatureWarehouse warehouse,
double dpplat,
double dpplon,
LatLonPoint ll1,
LatLonPoint ll2,
java.util.List<java.lang.Object> area,
java.lang.String featureType,
int primID)
Use the warehouse to create a graphic from a feature in the AreaTable.
|
abstract void |
drawTile(VPFGraphicWarehouse warehouse,
double dpplat,
double dpplon,
LatLonPoint ll1,
LatLonPoint ll2)
Parse the records for this tile, calling warehouse.createXXXX once for
each record.
|
CoverageTable |
getCoverageTable()
Get the coverage table that we are working on.
|
int |
getID(java.util.List<java.lang.Number> l)
Gets the id column value for the row.
|
TileDirectory |
getTileDirectory()
Gets the tile we are for.
|
close, finalize, finishInitialization, getColumnCount, getColumnInfo, getColumnName, getDescription, getDocumentationFilename, getRecordCount, getRecordLength, getRow, getRow, getTableFile, getTableName, getTilingAdapter, getTilingAdapter, getTilingAdapter, lookupSchema, lookupSchema, main, parseAllRowsAndPrintSome, parseRow, parseRow, parseSomeRowsAndPrint, printSchema, reopen, seekToRow, whatColumn
protected final CoverageTable covtable
protected final int idColumn
protected final TileDirectory tile
public PrimitiveTable(CoverageTable cov, TileDirectory tile, java.lang.String tablename) throws FormatException
cov
- the coverage table that is our "parent"tile
- the tile for the tabletablename
- must be a 3 character VPF tablenameFormatException
- if something goes wrong opening the filepublic CoverageTable getCoverageTable()
public int getID(java.util.List<java.lang.Number> l)
public TileDirectory getTileDirectory()
public abstract void drawTile(VPFGraphicWarehouse warehouse, double dpplat, double dpplon, LatLonPoint ll1, LatLonPoint ll2)
warehouse
- the warehouse used for createArea calls (must not be
null)dpplat
- threshold for latitude thinning (passed to warehouse)dpplon
- threshold for longitude thinngin (passed to warehouse)ll1
- upperleft of selection region (passed to warehouse)ll2
- lowerright of selection region (passed to warehouse) (passed
to warehouse)VPFGraphicWarehouse
public abstract OMGraphic drawFeature(VPFFeatureWarehouse warehouse, double dpplat, double dpplon, LatLonPoint ll1, LatLonPoint ll2, java.util.List<java.lang.Object> area, java.lang.String featureType, int primID)
warehouse
- the warehouse used for createXXXX calls (must not be
null)dpplat
- threshold for latitude thinning (passed to warehouse)dpplon
- threshold for longitude thinngin (passed to warehouse)ll1
- upperleft of selection region (passed to warehouse)ll2
- lowerright of selection region (passed to warehouse)area
- a List containing the AreaTable row contents.featureType
- the string representing the feature type, in case the
warehouse wants to do some intelligent rendering.primID
- the primitive ID of the feature, in order to gather attributes if necessary.VPFGraphicWarehouse.createEdge(com.bbn.openmap.layer.vpf.CoverageTable, com.bbn.openmap.layer.vpf.EdgeTable, java.util.List<java.lang.Object>, com.bbn.openmap.proj.coords.LatLonPoint, com.bbn.openmap.proj.coords.LatLonPoint, double, double, com.bbn.openmap.layer.vpf.CoordFloatString)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details