public class GtfsBundle extends Object
Modifier and Type | Field and Description |
---|---|
File |
cacheDirectory |
boolean |
linkStopsToParentStations
Connect parent station vertices to their constituent stops to allow beginning and
ending paths (itineraries) at them.
|
int |
maxInterlineDistance |
boolean |
parentStationTransfers
Create direct transfers between the constituent stops of each parent station.
|
int |
subwayAccessTime |
Boolean |
useCached |
Constructor and Description |
---|
GtfsBundle() |
GtfsBundle(File gtfsFile) |
Modifier and Type | Method and Description |
---|---|
void |
checkInputs() |
boolean |
doesTransfersTxtDefineStationPaths()
Transfers.txt usually specifies where the transit operator prefers people to transfer,
due to schedule structure and other factors.
|
Map<String,String> |
getAgencyIdMappings() |
org.onebusaway.csv_entities.CsvInputSource |
getCsvInputSource() |
String |
getDataKey() |
Boolean |
getDefaultBikesAllowed()
When a trip doesn't contain any bicycle accessibility information, should taking a bike
along a transit trip be permitted?
A trip doesn't contain bicycle accessibility information if both route_short_name and
trip_short_name contain missing/0 values.
|
GtfsFeedId |
getFeedId()
So that we can load multiple gtfs feeds into the same database.
|
double |
getMaxStopToShapeSnapDistance() |
void |
setAgencyIdMappings(Map<String,String> agencyIdMappings) |
void |
setCsvInputSource(org.onebusaway.csv_entities.CsvInputSource csvInputSource) |
void |
setDefaultBikesAllowed(Boolean defaultBikesAllowed) |
void |
setFeedId(GtfsFeedId feedId) |
void |
setMaxStopToShapeSnapDistance(double maxStopToShapeSnapDistance) |
void |
setPath(File path) |
void |
setTransfersTxtDefinesStationPaths(boolean transfersTxtDefinesStationPaths) |
void |
setUrl(URL url) |
String |
toString() |
public boolean parentStationTransfers
public boolean linkStopsToParentStations
public int subwayAccessTime
public int maxInterlineDistance
public Boolean useCached
public File cacheDirectory
public GtfsBundle()
public GtfsBundle(File gtfsFile)
public void setPath(File path)
public void setUrl(URL url)
public void setCsvInputSource(org.onebusaway.csv_entities.CsvInputSource csvInputSource)
public String getDataKey()
public org.onebusaway.csv_entities.CsvInputSource getCsvInputSource() throws IOException
IOException
public GtfsFeedId getFeedId()
public void setFeedId(GtfsFeedId feedId)
public Boolean getDefaultBikesAllowed()
public void setDefaultBikesAllowed(Boolean defaultBikesAllowed)
public boolean doesTransfersTxtDefineStationPaths()
public void setTransfersTxtDefinesStationPaths(boolean transfersTxtDefinesStationPaths)
public void checkInputs()
public double getMaxStopToShapeSnapDistance()
public void setMaxStopToShapeSnapDistance(double maxStopToShapeSnapDistance)
Copyright © 2018. All rights reserved.