org.opentripplanner.graph_builder.services.ned.NEDTileSource 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 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