org.opentripplanner.graph_builder.services.ned.ElevationGridCoverageFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.graph_builder.services.ned;
import org.geotools.coverage.grid.GridCoverage2D;
import org.opengis.coverage.Coverage;
import org.opentripplanner.routing.graph.Graph;
/**
* Factory interface specifying the ability to generate GeoTools {@link GridCoverage2D} objects
* representing National Elevation Dataset (NED) raster data.
*
* @author demory
*
*/
public interface ElevationGridCoverageFactory {
/** Creates a new coverage instance from files already fetched */
public Coverage getGridCoverage();
public void checkInputs();
/** Sets the graph of the factory and initiates the fetching of data that is not present in the cache */
public void fetchData(Graph graph);
}