Class GTFSLoader
java.lang.Object
rgu.transport.geospatial.multimodal.gtfs.GTFSLoader
Deprecated, for removal: This API element is subject to removal in a future version.
Old utility class to load GTFS data files as a TransitNetwork.
- Author:
- Lee A. Christie
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidload(GTFSDataSource source, TransitNetwork.Builder builder, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) Deprecated, for removal: This API element is subject to removal in a future version.static voidload(GTFSDataSource source, TransitNetwork.Builder builder, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) Deprecated, for removal: This API element is subject to removal in a future version.static voidload(GTFSDataSource source, TransitNetwork.Builder builder, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) Deprecated, for removal: This API element is subject to removal in a future version.static voidload(GTFSDataSource source, TransitNetwork.Builder builder, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) Deprecated, for removal: This API element is subject to removal in a future version.static voidload(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) Deprecated, for removal: This API element is subject to removal in a future version.static voidload(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) Deprecated, for removal: This API element is subject to removal in a future version.static voidload(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) Deprecated, for removal: This API element is subject to removal in a future version.static voidload(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
load
public static void load(GTFSDataSource source, TransitNetwork.Builder builder, Set<GeoLocation> points, Predicate<GeoLocation> spatialFilter, Predicate<LocalTime> temporalFilter, AtomicReference<Runnable> cancel, BiConsumer<GeoLocation, GeoLocation> drawLine, boolean skipMissingInRoute, GTFSProgressListener progress) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionInterruptedException
-
GTFSParser