All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.graph_builder.services.ned.NEDTileSource Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package org.opentripplanner.graph_builder.services.ned;

import java.io.File;
import java.util.List;
import org.opentripplanner.routing.graph.Graph;

/**
 * A source of NED tiles for NEDGridCoverageFactoryImpl -- maybe the USGS streaming server, maybe
 * one-degree tiles, maybe something else.
 *
 * @author novalis
 */
public interface NEDTileSource {
  /**
   * Fetches all of the required data and stores it in the specified cache directory. It is crucial
   * that this be somewhere permanent with plenty of disk space.  Don't use /tmp -- the downloading
   * process takes a long time and you don't want to repeat it if at all possible.
   */
  void fetchData(Graph graph, File cacheDirectory);

  /**
   * Download all the NED tiles into the cache.
   */
  List getNEDTiles();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy