|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.prep.aces.geomaps.AcesGeomapToXml
public class AcesGeomapToXml
AcesGeomapToXml constructs an xml file from an ACES GEOMAPS binary dataset file.See the source: AcesGeomapToXml
| Field Summary | |
|---|---|
(package private) java.io.BufferedInputStream |
bis
|
(package private) AcesClassType |
currentClassType
|
(package private) AcesLineStyle |
currentLineStyle
|
(package private) AcesSymbolType |
currentSymbolType
|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
(package private) DcpWord |
dcpw
|
private static Altitude |
DUMMY_ALT
|
(package private) Position |
endPosition
|
(package private) AcesGeomap |
geomap
|
(package private) AcesGeomapDB |
geomapDB
|
(package private) Position |
startPosition
|
(package private) Position |
tangency
|
| Constructor Summary | |
|---|---|
AcesGeomapToXml(java.io.File geomapFile,
java.io.File outFile,
java.io.File xmlFile)
Constructor - AcesGeomapToXml takes an ACES GEOMAPS input dataset file and constructs a Xml outputFile from it. |
|
AcesGeomapToXml(java.io.File geomapFile,
java.io.File outFile,
java.lang.String centerName)
Constructor - AcesGeomapToXml takes an ACES GEOMAPS input dataset file and constructs a Xml outputFile from it. |
|
| Method Summary | |
|---|---|
private void |
fillGeoLinePositions(DcpGeoLine dcpLine,
StereoMapProjection smp)
fillGeoLinePositions is a wrapper method for filling an AcesGeoLine start and end positions. |
private void |
fillGeoSymbolPosition(DcpGeoSymbol dcpSymbol,
StereoMapProjection smp)
fillGeoSymbolPosition is a wrapper method for filling an AcesGeoSymbol position. |
static void |
main(java.lang.String[] args)
Method main for stand alone use. |
private void |
runDcpFactory(Distance xDistortion,
Distance yDistortion)
Method runDcpFactory acquires various DcpWords through the BufferedInputStream and develops the AcesGeomapDB from them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CVS_VERSION_ID
java.io.BufferedInputStream bis
DcpWord dcpw
AcesLineStyle currentLineStyle
AcesClassType currentClassType
AcesSymbolType currentSymbolType
private static final Altitude DUMMY_ALT
AcesGeomap geomap
AcesGeomapDB geomapDB
Position startPosition
Position endPosition
Position tangency
| Constructor Detail |
|---|
public AcesGeomapToXml(java.io.File geomapFile,
java.io.File outFile,
java.lang.String centerName)
throws java.io.FileNotFoundException,
java.io.IOException
geomapFile - : the name of the geomapFile to read from.outFile - : the name of the desired output file.CenterName - : the centerName which corresponds to the
location of these maps. zdc, or zla are
examples.
java.io.FileNotFoundException
java.io.IOException
public AcesGeomapToXml(java.io.File geomapFile,
java.io.File outFile,
java.io.File xmlFile)
throws java.io.FileNotFoundException,
java.io.IOException
geomapFile - : the name of the geomapFile to read from.outFile - : the name of the desired output file.xmlFile - : the PointOfTangency xml File to read from
for lat/lon and Offset information. This file should conform
with the centers.dtd.
java.io.FileNotFoundException
java.io.IOException| Method Detail |
|---|
private void runDcpFactory(Distance xDistortion,
Distance yDistortion)
throws java.io.IOException
xDistortion - is a displacement to latitude coord's.yDistortion - is a displacement to longitude coord's.
java.io.IOExceptionfor information on how various words are returned.,
for various word information.
private void fillGeoLinePositions(DcpGeoLine dcpLine,
StereoMapProjection smp)
DcpGeoLine - : The DcpGeoLine from which it retrieves the
X and Y coords from.smp - is a StereoMapProjection used to acquire lat/lons from
Position data.
private void fillGeoSymbolPosition(DcpGeoSymbol dcpSymbol,
StereoMapProjection smp)
DcpGeoSymbol - : The DcpGeoSymbol from which it retrieves the
X and Y coords from.smp - is a StereoMapProjection used to acquire lat/lons from
Position data.public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||