graphBuilder.addGraphBuilder(embeddedConfigBuilder);
}
if (params.elevation) {
File cacheDirectory = new File(params.cacheDirectory, "ned");
ElevationGridCoverageFactory gcf = new NEDGridCoverageFactoryImpl(cacheDirectory);
GraphBuilder elevationBuilder = new ElevationGraphBuilderImpl(gcf);
graphBuilder.addGraphBuilder(elevationBuilder);
}
graphBuilder.serializeGraph = ( ! params.inMemory ) || params.preFlight;
return graphBuilder;
}