Package | Description |
---|---|
org.transitime.gtfs |
Contains classes for reading and writing GTFS configuration data.
|
org.transitime.gtfs.gtfsStructs |
Contains the classes the correspond directly to the GTFS data.
|
org.transitime.gtfs.readers |
For reading in a GTFS file in CSV format.
|
org.transitime.gtfs.writers |
For writing GTFS configuration data in CSV format to files.
|
Constructor and Description |
---|
StopPathProcessor(java.util.Collection<GtfsShape> gtfsShapes,
java.util.Map<java.lang.String,Stop> stopsMap,
java.util.Collection<TripPattern> tripPatterns,
double offsetDistance,
double maxStopToPathDistance,
double maxDistanceForEliminatingVertices,
boolean trimPathBeforeFirstStopOfTrip)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
GtfsShape.compareTo(GtfsShape arg0)
So can use Collections.sort() to sort an Array of GtfsStopTime objects by
stop sequence.
|
Constructor and Description |
---|
GtfsShape(GtfsShape original,
double shapePtLat,
double shapePtLon)
Creates a copy of the GtfsShape but updates the latitude and longitude.
|
GtfsShape(GtfsShape originalShape,
GtfsShape supplementShape)
When combining a regular shape point with a supplemental one need to
create a whole new object since this class is Immutable to make it safer
to use.
|
Modifier and Type | Method and Description |
---|---|
GtfsShape |
GtfsShapesSupplementReader.handleRecord(org.apache.commons.csv.CSVRecord record,
boolean supplemental) |
GtfsShape |
GtfsShapesReader.handleRecord(org.apache.commons.csv.CSVRecord record,
boolean supplemental) |
Modifier and Type | Method and Description |
---|---|
void |
GtfsShapesWriter.write(GtfsShape gtfsShape) |