IlvRasterDTEDReader r = new IlvRasterDTEDReader();
try {
r.addMap(filename);
} catch (IOException e1) {
e1.printStackTrace();
}
IlvMapDataSource source =
IlvRasterDataSourceFactory.buildImageDataSource(manager, r, null);
try {
source.start();
} catch (Exception e) {
e.printStackTrace();
}
IlvRasterDTEDReader r = new IlvRasterDTEDReader();
try {
r.addMap(filename);
} catch (IOException e) {
e.printStackTrace();
}
IlvMapDataSource source =
IlvRasterDataSourceFactory.buildTiledImageDataSource(manager, r, true, true, null);
try {
source.start();
} catch (Exception e) {
e.printStackTrace();
}