├── .dockerignore ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── build.gradle ├── config.properties ├── docs ├── validation-results.html └── validation-results.json ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── src ├── main ├── java │ └── com │ │ └── mecatran │ │ └── gtfsvtor │ │ ├── cmdline │ │ ├── CmdLineArgs.java │ │ ├── FileDataIO.java │ │ ├── GtfsVtorMain.java │ │ └── ManifestReader.java │ │ ├── dao │ │ ├── AppendableDao.java │ │ ├── CalendarIndex.java │ │ ├── DaoSpatialIndex.java │ │ ├── IndexedReadOnlyDao.java │ │ ├── LinearGeometryIndex.java │ │ ├── ReadOnlyDao.java │ │ ├── inmemory │ │ │ ├── InMemoryCalendarIndex.java │ │ │ ├── InMemoryDao.java │ │ │ ├── InMemoryDaoSpatialIndex.java │ │ │ └── InMemoryLinearGeometryIndex.java │ │ ├── packing │ │ │ ├── GtfsIdIndexer.java │ │ │ └── ListPacker.java │ │ ├── shapepoints │ │ │ ├── AutoSwitchShapePointDao.java │ │ │ ├── PackedShapePoints.java │ │ │ ├── PackedUnsortedShapePoints.java │ │ │ ├── PackingShapePointsDao.java │ │ │ ├── PackingUnsortedShapePointsDao.java │ │ │ └── ShapePointsDao.java │ │ └── stoptimes │ │ │ ├── AutoSwitchStopTimesDao.java │ │ │ ├── DeferredGtfsTripAndTimes.java │ │ │ ├── PackedStopPattern.java │ │ │ ├── PackedStopTimes.java │ │ │ ├── PackedTimePattern.java │ │ │ ├── PackedUnsortedStopPattern.java │ │ │ ├── PackedUnsortedStopTimes.java │ │ │ ├── PackedUnsortedTimePattern.java │ │ │ ├── PackingStopTimesDao.java │ │ │ ├── PackingUnsortedStopTimesDao.java │ │ │ └── StopTimesDao.java │ │ ├── geospatial │ │ ├── GeoBounds.java │ │ ├── GeoCoordinates.java │ │ ├── Geodesics.java │ │ └── PackedCoordinates.java │ │ ├── lib │ │ ├── GtfsVtor.java │ │ └── GtfsVtorOptions.java │ │ ├── loader │ │ ├── DataLoader.java │ │ ├── DataObjectSourceInfo.java │ │ ├── DataRow.java │ │ ├── DataRowConverter.java │ │ ├── DataTable.java │ │ ├── NamedInputStreamSource.java │ │ ├── NamedTabularDataSource.java │ │ ├── TableSourceInfo.java │ │ ├── impl │ │ │ ├── ApacheCommonsCsvDataRow.java │ │ │ ├── ApacheCommonsCsvDataTable.java │ │ │ ├── CsvDataSource.java │ │ │ ├── DataObjectSourceInfoImpl.java │ │ │ ├── DefaultDataLoaderContext.java │ │ │ ├── FileSystemDataSource.java │ │ │ ├── GtfsDataLoader.java │ │ │ ├── SourceInfoDataReloader.java │ │ │ ├── TableSourceInfoImpl.java │ │ │ ├── UnivocityCsvDataRow.java │ │ │ ├── UnivocityCsvDataTable.java │ │ │ └── ZippedInputStreamSource.java │ │ └── schema │ │ │ ├── DefaultGtfsTableSchema.java │ │ │ ├── GtfsAgencyTableDescriptor.java │ │ │ ├── GtfsAreaTableDescriptor.java │ │ │ ├── GtfsAttributionTableDescriptor.java │ │ │ ├── GtfsCalendarDateTableDescriptor.java │ │ │ ├── GtfsCalendarTableDescriptor.java │ │ │ ├── GtfsFareAttributeTableDescriptor.java │ │ │ ├── GtfsFareLegRuleTableDescriptor.java │ │ │ ├── GtfsFareProductTableDescriptor.java │ │ │ ├── GtfsFareRuleTableDescriptor.java │ │ │ ├── GtfsFareTransferRuleTableDescriptor.java │ │ │ ├── GtfsFeedInfoTableDescriptor.java │ │ │ ├── GtfsFrequencyTableDescriptor.java │ │ │ ├── GtfsLevelTableDescriptor.java │ │ │ ├── GtfsPathwayTableDescriptor.java │ │ │ ├── GtfsRouteTableDescriptor.java │ │ │ ├── GtfsShapePointTableDescriptor.java │ │ │ ├── GtfsStopAreaTableDescriptor.java │ │ │ ├── GtfsStopTableDescriptor.java │ │ │ ├── GtfsStopTimeTableDescriptor.java │ │ │ ├── GtfsTableDescriptor.java │ │ │ ├── GtfsTableSchema.java │ │ │ ├── GtfsTransferTableDescriptor.java │ │ │ ├── GtfsTranslationTableDescriptor.java │ │ │ ├── GtfsTripTableDescriptor.java │ │ │ └── TableDescriptorPolicy.java │ │ ├── model │ │ ├── DataObjectSourceRef.java │ │ ├── GtfsAbstractId.java │ │ ├── GtfsAgency.java │ │ ├── GtfsArea.java │ │ ├── GtfsAttribution.java │ │ ├── GtfsBikeAccess.java │ │ ├── GtfsBlockId.java │ │ ├── GtfsCalendar.java │ │ ├── GtfsCalendarDate.java │ │ ├── GtfsCalendarDateExceptionType.java │ │ ├── GtfsColor.java │ │ ├── GtfsCompositeId.java │ │ ├── GtfsDirectionality.java │ │ ├── GtfsDropoffType.java │ │ ├── GtfsExactTime.java │ │ ├── GtfsFareAttribute.java │ │ ├── GtfsFareDurationLimitType.java │ │ ├── GtfsFareLegRule.java │ │ ├── GtfsFareProduct.java │ │ ├── GtfsFareRule.java │ │ ├── GtfsFareTransferRule.java │ │ ├── GtfsFareTransferType.java │ │ ├── GtfsFeedInfo.java │ │ ├── GtfsFrequency.java │ │ ├── GtfsId.java │ │ ├── GtfsLegGroup.java │ │ ├── GtfsLevel.java │ │ ├── GtfsLogicalDate.java │ │ ├── GtfsLogicalTime.java │ │ ├── GtfsNetwork.java │ │ ├── GtfsNumTransfers.java │ │ ├── GtfsObject.java │ │ ├── GtfsObjectWithSourceRef.java │ │ ├── GtfsPathway.java │ │ ├── GtfsPathwayMode.java │ │ ├── GtfsPaymentMethod.java │ │ ├── GtfsPickupType.java │ │ ├── GtfsRoute.java │ │ ├── GtfsRouteType.java │ │ ├── GtfsShape.java │ │ ├── GtfsShapePoint.java │ │ ├── GtfsShapePointSequence.java │ │ ├── GtfsStop.java │ │ ├── GtfsStopArea.java │ │ ├── GtfsStopTime.java │ │ ├── GtfsStopType.java │ │ ├── GtfsTimepoint.java │ │ ├── GtfsTransfer.java │ │ ├── GtfsTransferType.java │ │ ├── GtfsTranslation.java │ │ ├── GtfsTranslationTable.java │ │ ├── GtfsTrip.java │ │ ├── GtfsTripAndTimes.java │ │ ├── GtfsTripDirectionId.java │ │ ├── GtfsTripStopSequence.java │ │ ├── GtfsWheelchairAccess.java │ │ ├── GtfsZone.java │ │ └── impl │ │ │ ├── InternedGtfsTranslation.java │ │ │ ├── SimpleGtfsShapePoint.java │ │ │ ├── SimpleGtfsStopTime.java │ │ │ ├── SmallGtfsShapePoint.java │ │ │ ├── SmallGtfsStopTime.java │ │ │ └── StopIdSeqAndHeadsign.java │ │ ├── reporting │ │ ├── FormattingOptions.java │ │ ├── IssueFormatter.java │ │ ├── ReportFormatter.java │ │ ├── ReportIssue.java │ │ ├── ReportIssueCategory.java │ │ ├── ReportIssuePolicy.java │ │ ├── ReportIssueSeverity.java │ │ ├── ReportSink.java │ │ ├── ReviewReport.java │ │ ├── SourceInfoFactory.java │ │ ├── SourceRefWithFields.java │ │ ├── html │ │ │ ├── ClassifiedReviewReport.java │ │ │ ├── HtmlIssueFormatter.java │ │ │ └── HtmlReportFormatter.java │ │ ├── impl │ │ │ ├── InMemoryReportLog.java │ │ │ └── PlainTextIssueFormatter.java │ │ ├── issues │ │ │ ├── DeprecatedColumnWarning.java │ │ │ ├── DifferentHeadsignsIssue.java │ │ │ ├── DifferentStationTooCloseWarning.java │ │ │ ├── DuplicatedColumnError.java │ │ │ ├── DuplicatedFareRuleWarning.java │ │ │ ├── DuplicatedObjectIdError.java │ │ │ ├── DuplicatedStopSequenceError.java │ │ │ ├── DuplicatedTripIssue.java │ │ │ ├── EmptyCalendarWarning.java │ │ │ ├── EmptyTableError.java │ │ │ ├── ExpiredFeedWarning.java │ │ │ ├── FirstOrLastStopTimeMissingError.java │ │ │ ├── FutureFeedWarning.java │ │ │ ├── GeneralIOError.java │ │ │ ├── InconsistentNumberOfFieldsWarning.java │ │ │ ├── InvalidCharsetError.java │ │ │ ├── InvalidCoordinateError.java │ │ │ ├── InvalidEncodingError.java │ │ │ ├── InvalidFieldFormatError.java │ │ │ ├── InvalidFieldValueIssue.java │ │ │ ├── InvalidReferenceError.java │ │ │ ├── InvalidStopParentError.java │ │ │ ├── MissingMandatoryColumnError.java │ │ │ ├── MissingMandatoryTableError.java │ │ │ ├── MissingMandatoryValueError.java │ │ │ ├── MissingObjectIdError.java │ │ │ ├── MultipleFeedInfoError.java │ │ │ ├── NoServiceError.java │ │ │ ├── NoServiceExceptionWarning.java │ │ │ ├── NonIncreasingShapeDistTraveledError.java │ │ │ ├── OverlappingBlockIdIssue.java │ │ │ ├── RouteColorContrastIssue.java │ │ │ ├── SimilarRouteColorWarning.java │ │ │ ├── SpaceInColumnWarning.java │ │ │ ├── StatisticsInfo.java │ │ │ ├── StopTooCloseIssue.java │ │ │ ├── StopTooCloseToOriginError.java │ │ │ ├── StopTooFarFromParentStationIssue.java │ │ │ ├── StopTooFarFromShapeIssue.java │ │ │ ├── TableIOError.java │ │ │ ├── TimeTravelAtStopError.java │ │ │ ├── TimeTravelError.java │ │ │ ├── TooFastTravelIssue.java │ │ │ ├── TooFastWalkingSpeed.java │ │ │ ├── TooManyDaysWithoutServiceIssue.java │ │ │ ├── TooManyStopWithSameTimeIssue.java │ │ │ ├── TripTransferDifferentCalendarError.java │ │ │ ├── TripTransferDisjointCalendarError.java │ │ │ ├── TripTransferInvalidDurationError.java │ │ │ ├── TripTransferTooLargeDistanceError.java │ │ │ ├── UnknownFileInfo.java │ │ │ ├── UnrecognizedColumnInfo.java │ │ │ ├── UnusedObjectWarning.java │ │ │ ├── UselessCalendarDateWarning.java │ │ │ ├── UselessTimepointWarning.java │ │ │ ├── UselessValueWarning.java │ │ │ ├── WrongDropOffPickUpTypeForSplitTripsIssue.java │ │ │ ├── WrongPathwayStopTypeError.java │ │ │ ├── WrongStopTimeStopTypeError.java │ │ │ └── WrongTransferStopTypeError.java │ │ └── json │ │ │ ├── JsonReportFormatter.java │ │ │ └── model │ │ │ └── JsonReport.java │ │ ├── utils │ │ ├── AStar.java │ │ ├── Annotations.java │ │ ├── GenericInterner.java │ │ ├── Histogram.java │ │ ├── MiscUtils.java │ │ ├── Pair.java │ │ ├── PathFinder.java │ │ ├── SystemEnvironment.java │ │ └── Triplet.java │ │ └── validation │ │ ├── ConfigurableOption.java │ │ ├── DaoValidator.java │ │ ├── DefaultDaoValidator.java │ │ ├── DefaultDisabledValidator.java │ │ ├── DefaultStreamingValidator.java │ │ ├── DefaultTripTimesValidator.java │ │ ├── StreamingValidateType.java │ │ ├── StreamingValidator.java │ │ ├── TripTimesValidator.java │ │ ├── ValidatorConfig.java │ │ ├── dao │ │ ├── CalendarValidator.java │ │ ├── DifferentStationTooCloseValidator.java │ │ ├── DuplicatedFareRuleValidator.java │ │ ├── ReferencesValidator.java │ │ ├── RepeatedRouteNameValidator.java │ │ ├── RouteSimilarColorsValidator.java │ │ ├── ShapeDistValidator.java │ │ ├── StatisticsValidator.java │ │ ├── StopParentValidator.java │ │ ├── StopTooCloseValidator.java │ │ ├── StopTooFarFromParentStationValidator.java │ │ ├── StopTooFarFromShapeValidator.java │ │ ├── TripTransferValidator.java │ │ ├── UnusedObjectsValidator.java │ │ └── UselessCalendarDateValidator.java │ │ ├── impl │ │ ├── CompoundDaoValidator.java │ │ ├── CompoundStreamingValidator.java │ │ ├── CompoundTripTimesValidator.java │ │ ├── DefaultDaoValidatorContext.java │ │ ├── DefaultValidatorConfig.java │ │ ├── StreamingValidationUtils.java │ │ └── ValidatorInjector.java │ │ ├── streaming │ │ ├── AgencyStreamingValidator.java │ │ ├── AttributionStreamingValidator.java │ │ ├── CalendarDateStreamingValidator.java │ │ ├── CalendarStreamingValidator.java │ │ ├── FareAttributeStreamingValidator.java │ │ ├── FareLegRuleStreamingValidator.java │ │ ├── FareRuleStreamingValidator.java │ │ ├── FareTransferRuleStreamingValidator.java │ │ ├── FeedInfoStreamingValidator.java │ │ ├── FrequencyStreamingValidator.java │ │ ├── LevelStreamingValidator.java │ │ ├── PathwayStreamingValidator.java │ │ ├── RouteColorsStreamingValidator.java │ │ ├── RouteStreamingValidator.java │ │ ├── ShapePointStreamingValidator.java │ │ ├── StopAreaStreamingValidator.java │ │ ├── StopStreamingValidator.java │ │ ├── StopTimeStreamingValidator.java │ │ ├── TransferStreamingValidator.java │ │ ├── TranslationStreamingValidator.java │ │ ├── TripStreamingValidator.java │ │ └── ext │ │ │ └── IFOPTStopIDStreamingValidator.java │ │ └── triptimes │ │ ├── DropOffPickUpTypeForSplitOrJoinedTripsValidator.java │ │ ├── DuplicatedStopSequenceValidator.java │ │ ├── DuplicatedTripsValidator.java │ │ ├── FirstAndLastStopTimeSetValidator.java │ │ ├── OverlappingBlockIdValidator.java │ │ ├── StopTimesStatsValidator.java │ │ ├── TooFastTravelValidator.java │ │ └── UnusedStopsValidator.java └── resources │ └── com │ └── mecatran │ └── gtfsvtor │ └── reporting │ └── html │ ├── gtfsvtor_logo.svg │ ├── gtfsvtor_logo_bw.svg │ └── report.css └── test ├── java └── com │ └── mecatran │ └── gtfsvtor │ ├── model │ ├── TestColor.java │ ├── TestGeospatial.java │ ├── TestLogicalDate.java │ ├── TestLogicalTime.java │ └── impl │ │ ├── TestInternedTranslation.java │ │ ├── TestPackedShapePoints.java │ │ └── TestPackedStopTimes.java │ ├── reporting │ └── TestFormatter.java │ ├── test │ ├── TestGtfs.java │ ├── TestHtmlReport.java │ ├── TestUtils.java │ ├── TestVeryBad.java │ ├── stubs │ │ ├── TestConfig.java │ │ └── TestDataIO.java │ └── transitfeeds │ │ ├── TransitFeedsRepositoryDownloader.java │ │ └── TransitFeedsResponse.java │ ├── utils │ └── TestMiscUtils.java │ └── validation │ └── triptimes │ └── TestTooFastTravelValidator.java └── resources ├── configs ├── def.properties └── ifopt_format.properties ├── data ├── MBTA_42951766 │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stopids │ ├── stops.txt │ └── trips.txt ├── MBTA_random_shapes │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── feed_info.txt │ ├── levels.txt │ ├── pathways.txt │ ├── routes.txt │ ├── shapes.txt │ ├── shapes_ordered.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── aachener_73069683 │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── aachener_74431429 │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── bad_coords │ ├── agency.txt │ ├── calendar.txt │ ├── feed_info.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── bad_date_format │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── bad_eol.zip ├── bad_utf8 │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── bogus_calendars │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── bogus_fares │ ├── agency.txt │ ├── calendar.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── bogus_frequencies │ ├── agency.txt │ ├── calendar.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── bogus_pathways │ ├── agency.txt │ ├── calendar.txt │ ├── feed_info.txt │ ├── pathways.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── bogus_shape │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── bogus_transfers │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── bogus_transfers_extended │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── contains_null │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── deprecated_column │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── different_station_too_close │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── duplicate_ids │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── feed_info.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── duplicate_schedule_id │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── duplicate_stop │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── duplicate_stop_sequence │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── duplicate_trips │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── empty_calendar │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── empty_file │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── extra_row_cells │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── fares_v2 │ ├── agency.txt │ ├── areas.txt │ ├── calendar.txt │ ├── fare_leg_rules.txt │ ├── fare_products.txt │ ├── fare_transfer_rules.txt │ ├── routes.txt │ ├── stop_areas.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── good_feed.zip ├── good_feed │ ├── agency.txt │ ├── areas.txt │ ├── attributions.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── feed_info.txt │ ├── frequencies.txt │ ├── levels.txt │ ├── pathways.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_areas.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ ├── translations.txt │ └── trips.txt ├── ifopt_format │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── incomplete_shapes │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── interleaved_stoptimes │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── invalid_route_agency │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── invalid_stoptime_type │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── invalid_translations │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── feed_info.txt │ ├── levels.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ ├── translations.txt │ └── trips.txt ├── missing_agency │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── missing_calendar │ ├── agency.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── missing_column │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── missing_departure_time │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── missing_endpoint_times │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── missing_routes │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── missing_row_cells │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── missing_stop_times │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stops.txt │ └── trips.txt ├── missing_stops │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ └── trips.txt ├── missing_trips │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── stop_times.txt │ └── stops.txt ├── missing_weekday_column │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── negative_stop_sequence │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── noservice │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── noservice_exception │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── feed_info.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── only_calendar_dates │ ├── agency.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── overlapping_blockid │ ├── agency.txt │ ├── calendar.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── repeated_route_name │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── route_colors │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── route_names │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── shapes │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── single_agency │ ├── agency.txt │ ├── calendar.txt │ ├── feed_info.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── space_header │ ├── agency.txt │ ├── calendar.txt │ ├── feed_info.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── split_or_joined_trips │ ├── agency.txt │ ├── calendar.txt │ ├── feed_info.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── stop_areas │ ├── agency.txt │ ├── areas.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_areas.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── stops_toofar │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── sweg_zero_coordinates │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── timetravels │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── toofast_travel │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── toomanydayswoservice │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── transilien_tinytrip │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── trip_transfers_type_45 │ ├── agency.txt │ ├── calendar.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── undefined_stop │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── unknown_file │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frecuencias.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── unknown_format.zip ├── unrecognized_columns │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ └── trips.txt ├── unused_data │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── unused_stop │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── utf16 │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt ├── utf8bom │ ├── agency.txt │ ├── calendar.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── frequencies.txt │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt └── verybad │ ├── agency.txt │ ├── areas.txt │ ├── attributions.txt │ ├── calendar.txt │ ├── calendar_attributes.txt │ ├── calendar_dates.txt │ ├── fare_attributes.txt │ ├── fare_rules.txt │ ├── feed_info.txt │ ├── frequencies.txt │ ├── levels.txt │ ├── pathways.txt │ ├── routes.txt │ ├── shapes.txt │ ├── stop_areas.txt │ ├── stop_times.txt │ ├── stops.txt │ ├── transfers.txt │ ├── translations.txt │ └── trips.txt └── reports ├── good_feed.html ├── good_feed.json ├── good_feed_append.json ├── verybad.html └── verybad.json /.dockerignore: -------------------------------------------------------------------------------- 1 | build/ 2 | .*/ 3 | !.git 4 | gradle/ 5 | 6 | /Dockerfile 7 | /.dockerignore 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /bin 3 | /validation-results.html 4 | /validation-results.json 5 | /.classpath 6 | .gradle 7 | /.project 8 | /.settings 9 | /xdata 10 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gradle:jdk21 AS build 2 | COPY --chown=gradle:gradle . /home/gradle/src 3 | WORKDIR /home/gradle/src 4 | RUN git config --global --add safe.directory /home/gradle/src 5 | RUN gradle build 6 | RUN unzip -d /app build/distributions/gtfsvtor.zip 7 | RUN mv /app/*-* /app/gtfsvtor 8 | 9 | FROM openjdk:21-jdk-slim 10 | LABEL maintainer="Holger Bruch holger.bruch@mitfahrdezentrale.de" 11 | 12 | COPY --from=build /app /app 13 | WORKDIR /data 14 | 15 | ENV GTFSVTOR_OPTS=-Xmx4G 16 | 17 | ENTRYPOINT ["/app/gtfsvtor/bin/gtfsvtor"] 18 | CMD ["-h"] 19 | -------------------------------------------------------------------------------- /config.properties: -------------------------------------------------------------------------------- 1 | 2 | # This is a config file demo 3 | validator.StopTooCloseValidator.enabled=true 4 | validator.StopTooCloseValidator.minDistanceMeters=2.0 5 | validator.StopTooCloseValidator.minDistanceMetersWarning=0.1 6 | 7 | validator.TooFastTravelValidator.enabled=true 8 | validator.TooFastTravelValidator.errorSpeedMultiplier=2 9 | # Set default max speed for BUS type to 60 km/h 10 | validator.TooFastTravelValidator.maxSpeedKph.3=60 11 | 12 | validator.CalendarValidator.expiredCutoffDate=2020/12/31 13 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/dao/DaoSpatialIndex.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.dao; 2 | 3 | import java.util.stream.Stream; 4 | 5 | import com.mecatran.gtfsvtor.geospatial.GeoCoordinates; 6 | import com.mecatran.gtfsvtor.model.GtfsStop; 7 | 8 | public interface DaoSpatialIndex { 9 | 10 | public Stream getStopsAround(GeoCoordinates position, 11 | double distanceMeters, boolean exact); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/loader/DataObjectSourceInfo.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.loader; 2 | 3 | import java.util.List; 4 | 5 | public interface DataObjectSourceInfo extends Comparable { 6 | 7 | public TableSourceInfo getTable(); 8 | 9 | public List getFields(); 10 | 11 | public long getLineNumber(); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/loader/DataRow.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.loader; 2 | 3 | import com.mecatran.gtfsvtor.model.DataObjectSourceRef; 4 | 5 | public interface DataRow { 6 | 7 | /** 8 | * @param field Field name to return. 9 | * @return null if empty or undefined, trimmed field value otherwise. 10 | */ 11 | public String getString(String field); 12 | 13 | public DataObjectSourceInfo getSourceInfo(); 14 | 15 | public DataObjectSourceRef getSourceRef(); 16 | 17 | public int getRecordCount(); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/loader/NamedTabularDataSource.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.loader; 2 | 3 | import java.io.IOException; 4 | import java.util.Collection; 5 | 6 | public interface NamedTabularDataSource { 7 | 8 | public DataTable getDataTable(String tableName) throws IOException; 9 | 10 | public Collection getUnreadEntries(); 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/loader/TableSourceInfo.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.loader; 2 | 3 | import java.util.List; 4 | 5 | public interface TableSourceInfo extends Comparable { 6 | 7 | public String getTableName(); 8 | 9 | public List getHeaderColumns(); 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/model/GtfsObject.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.model; 2 | 3 | /** 4 | * @param The class of the internal ID (mainly String) 5 | */ 6 | public interface GtfsObject { 7 | 8 | // public GtfsId> getId(); 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/model/GtfsObjectWithSourceRef.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.model; 2 | 3 | /** 4 | */ 5 | public interface GtfsObjectWithSourceRef { 6 | 7 | public DataObjectSourceRef getSourceRef(); 8 | } 9 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/reporting/FormattingOptions.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.reporting; 2 | 3 | public class FormattingOptions { 4 | 5 | public enum SpeedUnit { 6 | MPS, KPH, MPH 7 | } 8 | 9 | private SpeedUnit speedUnit = SpeedUnit.MPS; 10 | 11 | public FormattingOptions() { 12 | } 13 | 14 | public FormattingOptions(SpeedUnit speedUnit) { 15 | this.speedUnit = speedUnit; 16 | } 17 | 18 | public SpeedUnit getSpeedUnit() { 19 | return speedUnit; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/reporting/ReportFormatter.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.reporting; 2 | 3 | import java.io.IOException; 4 | 5 | public interface ReportFormatter { 6 | 7 | public void format(ReviewReport report) throws IOException; 8 | } 9 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/reporting/ReportIssuePolicy.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.reporting; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.TYPE) 10 | public @interface ReportIssuePolicy { 11 | 12 | ReportIssueSeverity severity() default ReportIssueSeverity.ERROR; 13 | 14 | String categoryName() default ""; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/reporting/ReportIssueSeverity.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.reporting; 2 | 3 | public enum ReportIssueSeverity { 4 | INFO, WARNING, ERROR, CRITICAL 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/reporting/SourceInfoFactory.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.reporting; 2 | 3 | import java.util.Optional; 4 | 5 | import com.mecatran.gtfsvtor.loader.DataObjectSourceInfo; 6 | import com.mecatran.gtfsvtor.model.DataObjectSourceRef; 7 | 8 | public interface SourceInfoFactory { 9 | 10 | public Optional getSourceInfo( 11 | DataObjectSourceRef ref); 12 | 13 | public void registerSourceInfo(DataObjectSourceRef ref, 14 | DataObjectSourceInfo sourceInfo); 15 | 16 | public void registerSourceRef(DataObjectSourceRef ref); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/validation/ConfigurableOption.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.validation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.FIELD) 10 | public @interface ConfigurableOption { 11 | 12 | String name() default ""; 13 | 14 | String description() default ""; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/validation/DaoValidator.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.validation; 2 | 3 | import com.mecatran.gtfsvtor.dao.IndexedReadOnlyDao; 4 | import com.mecatran.gtfsvtor.reporting.ReportSink; 5 | 6 | public interface DaoValidator { 7 | 8 | public interface Context { 9 | 10 | public IndexedReadOnlyDao getDao(); 11 | 12 | public ReportSink getReportSink(); 13 | 14 | public ValidatorConfig getConfig(); 15 | } 16 | 17 | public void validate(Context context); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/validation/DefaultDisabledValidator.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.validation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.TYPE) 10 | public @interface DefaultDisabledValidator { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/mecatran/gtfsvtor/validation/StreamingValidateType.java: -------------------------------------------------------------------------------- 1 | package com.mecatran.gtfsvtor.validation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | import com.mecatran.gtfsvtor.model.GtfsObject; 9 | 10 | @Retention(RetentionPolicy.RUNTIME) 11 | @Target(ElementType.TYPE) 12 | public @interface StreamingValidateType { 13 | 14 | Class> value(); 15 | } 16 | -------------------------------------------------------------------------------- /src/test/resources/configs/def.properties: -------------------------------------------------------------------------------- 1 | 2 | # This is the default config file used for tests. 3 | # It forces the expiration date to a fixed value. 4 | # The date may seems old, but correspond to the 5 | # various test feed dates. 6 | 7 | validator.CalendarValidator.expiredCutoffDate=2010/12/31 8 | -------------------------------------------------------------------------------- /src/test/resources/configs/ifopt_format.properties: -------------------------------------------------------------------------------- 1 | validator.CalendarValidator.expiredCutoffDate=2010/12/31 2 | validator.IFOPTStopIDStreamingValidator.enabled=true 3 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_42951766/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone 2 | 1,MBTA,http://www.mbta.com,America/New_York,EN,617-222-3200 3 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_42951766/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | WinterSaturday,0,0,0,0,0,1,0,20200104,20200314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_42951766/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,route_sort_order,route_fare_class,line_id,listed_route 2 | 214216,1,214/216,Houghs Neck - Quincy Center via Germantown,Local Bus,3,,FFC72C,000000,52141,Local Bus,line-214216,1 3 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_42951766/stopids: -------------------------------------------------------------------------------- 1 | 13245 2 | 32002 3 | 3237 4 | 3239 5 | 3240 6 | 3241 7 | 3242 8 | 3243 9 | 3244 10 | 3245 11 | 3246 12 | 3247 13 | 3249 14 | 3250 15 | 3251 16 | 3252 17 | 3253 18 | 3254 19 | 3255 20 | 3256 21 | 3257 22 | 3258 23 | 3259 24 | 3260 25 | 3261 26 | 3262 27 | 3263 28 | 3265 29 | 3292 30 | 3295 31 | 3297 32 | 3298 33 | 3299 34 | 3300 35 | 3301 36 | 3302 37 | 3303 38 | 3304 39 | 3305 40 | 3306 41 | 3307 42 | 3308 43 | 3309 44 | 3310 45 | 3311 46 | 3312 47 | 3313 48 | 3314 49 | 3315 50 | 3316 51 | 3317 52 | 3318 53 | 3320 54 | 3321 55 | 3322 56 | 3323 57 | 3425 58 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_42951766/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,block_id,shape_id,wheelchair_accessible,trip_route_type,route_pattern_id,bikes_allowed 2 | 214216,WinterSaturday,42951766,Houghs Neck via Germantown,,0,Q215-12,2160080,1,,214216-2-0,1 3 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_random_shapes/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email 2 | 1,MBTA,http://www.mbta.com,America/New_York,en,617-222-3200,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_random_shapes/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | BUS12020-hbq10ns1-Wdy-02,0,1,1,1,1,0,0,20200218,20200221 3 | MartinLutherKingDay-WashingtonsBirthday,1,0,0,0,0,0,0 4 | WinterSunday,0,0,0,0,0,0,1,20200105,20200308 5 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_random_shapes/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | MartinLutherKingDay-WashingtonsBirthday,20200127,2 3 | MartinLutherKingDay-WashingtonsBirthday,20200203,2 4 | MartinLutherKingDay-WashingtonsBirthday,20200210,2 5 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_random_shapes/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date,feed_version,feed_contact_email,feed_contact_url 2 | MBTA,http://www.mbta.com,EN,20200102,20200314,"Winter 2020, 2020-01-09T15:34:50+00:00, version D",developer@mbta.com, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_random_shapes/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,route_sort_order,direction0_name,direction1_name,line_id,listed_route,route_fare_class 2 | 214216,1,214/216,Houghs Neck - Quincy Center via Germantown,Local Bus,3,,FFC72C,000000,52141,Outbound,Inbound,line-214216,1,Local Bus 3 | 215,1,215,Quincy Center - Ashmont via West Quincy,Local Bus,3,https://www.mbta.com/schedules/215,FFC72C,000000,52150,Outbound,Inbound,line-215,,Local Bus 4 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_random_shapes/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | 32000,place-qnctr,0, 3 | place-qnctr,32000,0, 4 | 32003,32002,2,170 5 | 32002,32003,2,170 6 | -------------------------------------------------------------------------------- /src/test/resources/data/MBTA_random_shapes/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,block_id,shape_id,wheelchair_accessible,bikes_allowed,route_pattern_id 2 | 214216,BUS12020-hbq10ns1-Wdy-02,42759331,Houghs Neck via Germantown,,0,Q230-89,2160080,1,1,214216-2-0 3 | 214216,MartinLutherKingDay-WashingtonsBirthday,42755227,Houghs Neck via McGrath & Germantown,,0,Q240-86,2160081,1,1,214216-4-0 4 | 215,BUS12020-hbq10ns1-Wdy-02,42759201,Quincy Center,,0,Q215-29,2150095,1,1,215-1-0 5 | 215,WinterSunday,42756023,Quincy Center,,0,Q215-9,2150097,1,1,215-3-0 6 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_73069683/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email 2 | 258,WestVerkehr GmbH,http://www.west-verkehr.de,Europe/Berlin,de,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_73069683/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | 1501,1,1,1,1,1,0,0,20200102,20200424 3 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_73069683/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | 1501,20200224,2 3 | 1501,20200410,2 4 | 1501,20200413,2 5 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_73069683/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,route_sort_order 2 | WEST___460_704,258,HÜ1,,,704,,B90276,FFFFFF, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_73069683/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,block_id,shape_id,wheelchair_accessible 2 | WEST___460_704,1501,73069683,"Hückelhoven, Rathaus (Parkhofstraße)",,0,,5016,0 3 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_74431429/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email 2 | 243,Aachener Straßenbahn und Energieversorgungs-AG,http://www.aseag.de,Europe/Berlin,de,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_74431429/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | 1025,1,1,1,1,1,0,0,20200219,20200612 3 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_74431429/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | 1025,20200224,2 3 | 1025,20200410,2 4 | 1025,20200413,2 5 | 1025,20200501,2 6 | 1025,20200521,2 7 | 1025,20200601,2 8 | 1025,20200611,2 9 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_74431429/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,route_sort_order 2 | ASEAG__33_704,243,33,,,704,,F3953F,FFFFFF, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/aachener_74431429/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,block_id,shape_id,wheelchair_accessible 2 | ASEAG__33_704,1025,74431429,"Aachen, Uniklinik",,0,2649,1258,1 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_coords/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_coords/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_coords/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_coords/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_coords/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,,CITY:1 6 | CITY,FULLW,CITY2,,1,,CITY:2 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,2007.01.01,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,2007-06-04,2 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_date_format/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/bad_eol.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/bad_eol.zip -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/agency.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/bad_utf8/agency.txt -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/routes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/bad_utf8/routes.txt -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/stop_times.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/bad_utf8/stop_times.txt -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/stops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/bad_utf8/stops.txt -------------------------------------------------------------------------------- /src/test/resources/data/bad_utf8/trips.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/bad_utf8/trips.txt -------------------------------------------------------------------------------- /src/test/resources/data/bogus_calendars/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_calendars/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | NODOW,0,0,0,0,0,0,0,20070101,20071231 5 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_calendars/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/bogus_calendars/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_calendars/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_calendars/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_calendars/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_fares/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_fares/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_fares/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | p,1.50€,EUROS,3,99,-100 5 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_fares/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,STBA,,, 5 | p,BFC,,, 6 | a,AAMV,,, 7 | z,,,, 8 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_fares/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_fares/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle,, 5 | CITY,FULLW,CITY1,,0, 6 | CITY,FULLW,CITY2,,1, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0, 10 | AAMV,WE,AAMV2,to Airport,1, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0, 12 | AAMV,WE,AAMV4,to Airport,1, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_frequencies/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_frequencies/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_frequencies/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,5:59:59,1800 5 | CITY1,8:00:00,,600 6 | CITY2,,9:59:59,600 7 | CITY1,10:00:00,15:59:59, 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 13 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_frequencies/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 3 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_frequencies/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | STBA,FULLW,STBA,Shuttle,, 3 | CITY,FULLW,CITY1,,0, 4 | CITY,FULLW,CITY2,,1, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_pathways/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_pathways/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_pathways/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_pathways/pathways.txt: -------------------------------------------------------------------------------- 1 | pathway_id,from_stop_id,to_stop_id,pathway_mode,traversal_time,stair_count 2 | p1,BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT_ENTRANCE_NORTH,1, 3 | p2,BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT_STATION,2, 4 | p1,BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT_ENTRANCE_NORTH,99,0 5 | p3,,,, 6 | p4,WRONGID1,WRONGID2,6, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_pathways/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_pathways/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | AB1,8:00:00,8:00:00,BEATTY_AIRPORT,1,,,, 3 | AB1,8:10:00,8:15:00,BULLFROG,2,,,, 4 | AB2,12:05:00,12:05:00,BULLFROG,1,,,, 5 | AB2,12:15:00,12:15:00,BEATTY_AIRPORT,2,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_pathways/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_shape/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1,AB 3 | AB,FULLW,AB2,to Airport,1,2,BOGUS 4 | STBA,FULLW,STBA,Shuttle,,,INEXISTING_SHAPE 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | EMSI,NANAA,1,1200 5 | INVALID,NANAA,1,-100 6 | BEATTY_AIRPORT_STATION,BEATTY_AIRPORT_ENTRANCE,1, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers_extended/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers_extended/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers_extended/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers_extended/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,from_route_id,to_route_id,from_trip_id,to_trip_id,transfer_type,min_transfer_time 2 | BEATTY_AIRPORT,BEATTY_AIRPORT,,,STBA,AB999,1, 3 | BEATTY_AIRPORT,BEATTY_AIRPORT,,,STBA,AB1,1, 4 | BEATTY_AIRPORT,BEATTY_AIRPORT,,,STBA,AB1,2, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/bogus_transfers_extended/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles 3 | -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode short name,3 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3 7 | -------------------------------------------------------------------------------- /src/test/resources/data/contains_null/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle 5 | CITY,FULLW,CITY1,Ō,0 6 | CITY,FULLW,CITY2,Ō,1 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0 10 | AAMV,WE,AAMV2,to Airport,1 11 | AAMV,WE,AAMV3,to Amargosa Valley,0 12 | AAMV,WE,AAMV4,to Airport,1 13 | -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,frequency 2 | STBA,6:00:00,22:00:00,1800 3 | -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | STBA,6:00:00,6:00:00,STAGECOACH,0,to airport,1,0,0.212 3 | STBA,6:20:00,6:20:00,BEATTY_AIRPORT,2,,0,0,1.043 4 | -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station,level_id 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0,BEATTY_AIRPORT_STATION,level_0 3 | BEATTY_AIRPORT_STATION,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1,, 4 | STAGECOACH,Stagecoach Hotel & Casino (Demo),,36.915682,-116.751677,,,1236,,, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/deprecated_column/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | STBA,FULLW,STBA,Shuttle,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/different_station_too_close/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/different_station_too_close/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/different_station_too_close/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/different_station_too_close/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | AB1,8:00:00,8:00:00,BEATTY_AIRPORT,1,,,, 3 | AB1,8:10:00,8:15:00,BULLFROG,2,,,, 4 | AB2,12:05:00,12:05:00,BULLFROG,1,,,, 5 | AB2,12:15:00,12:15:00,BEATTY_AIRPORT,2,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/different_station_too_close/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0,BEATTY_AIRPORT_STATION 3 | BEATTY_AIRPORT_STATION,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1, 4 | BEATTY_AIRPORT_STATION_2,Nye County Airport (Other),,36.868447,-116.784581,,,1236,1, 5 | BULLFROG,Bullfrog (Demo),,36.88108,-116.81797,,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/different_station_too_close/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | DTA,Autorité de passage de démonstration 2,http://google.com,America/Los_Angeles,123 12314 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | FULLW,1,1,1,1,1,0,0,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070601,2 3 | FULLW,20070601,2 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | p,1.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,AB,,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | AB,DTA,,Airport ⇒ Bullfrog 2,,3,,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | AB1,8:00:00,8:00:00,BEATTY_AIRPORT,1,,,, 3 | AB1,8:10:00,8:15:00,BULLFROG,2,,,, 4 | AB2,12:05:00,12:05:00,BULLFROG,1,,,, 5 | AB2,12:15:00,12:15:00,BEATTY_AIRPORT,2,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station,level_id 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0,BEATTY_AIRPORT_STATION,level_0 3 | BEATTY_AIRPORT_STATION,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1,, 4 | BULLFROG,Bullfrog (Demo),,36.88108,-116.81797,,,,,, 5 | BULLFROG,Bullfrog (Demo 2),,36.88108,-116.81797,,,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | BEATTY_AIRPORT,BEATTY_AIRPORT_STATION,2,1200 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_ids/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB1,to Bullfrog 2,0,1, 4 | AB,FULLW,AB2,to Airport,1,2, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 4 | WE,0,0,0,0,0,1,1,20070101,20101231 5 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode short name,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_schedule_id/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,Ō,0,, 6 | CITY,FULLW,CITY2,Ō,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3 5 | CITY,DTA,,City,,3 6 | AAMV,DTA,,Airport - Amargosa Valley,,3 -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle 5 | CITY,FULLW,CITY1,,0 6 | CITY,FULLW,CITY2,,1 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0 10 | AAMV,WE,AAMV2,to Airport,1 11 | AAMV,WE,AAMV3,to Amargosa Valley,0 12 | AAMV,WE,AAMV4,to Airport,1 -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop_sequence/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop_sequence/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop_sequence/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop_sequence/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | CITY1,6:00:00,6:00:00,STAGECOACH,0,,,, 3 | CITY1,6:05:00,6:07:00,NANAA,10,going to nadav,2,3, 4 | CITY1,6:12:00,6:14:00,NADAV,10,,,, 5 | CITY1,6:19:00,6:21:00,DADAN,15,,,, 6 | CITY1,6:26:00,6:28:00,EMSI,20,,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop_sequence/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code 2 | STAGECOACH,Stagecoach Hotel & Casino (Demo),,36.915682,-116.751677,,,1236 3 | NADAV,North Ave / D Ave N (Demo),,36.914893,-116.76821,,,1237 4 | NANAA,North Ave / N A Ave (Demo),,36.914944,-116.761472,,,1238 5 | DADAN,Doing Ave / D Ave N (Demo),,36.909489,-116.768242,,, 6 | EMSI,E Main St / S Irving St (Demo),,36.905697,-116.76218,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_stop_sequence/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | CITY,FULLW,CITY1,,0,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_trips/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_trips/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,0,0,20070101,20111231 3 | FULLW_OLD,1,1,1,1,1,0,0,20040101,20061231 4 | MONDAY,1,0,0,0,0,0,0,20070101,20111231 5 | WE,0,0,0,0,0,1,1,20070101,20111231 6 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_trips/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_trips/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0, 3 | BULLFROG,Bullfrog (Demo),,36.88108,-116.81797,,,,, 4 | STAGECOACH,Stagecoach Hotel & Casino (Demo),,36.915682,-116.751677,,,1236,, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/duplicate_trips/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA1,Shuttle,,, 5 | STBA,MONDAY,STBA2,Shuttle,,, 6 | STBA,WE,STBA3,Shuttle,,, 7 | STBA,FULLW_OLD,STBA4,Shuttle,,, 8 | STBA,FULLW,STBA5,Shuttle,,, 9 | STBA,FULLW,STBA6,Shuttle Express,,, 10 | STBA,FULLW,STBA7,Shuttle,,, 11 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | MONDAY,1,0,0,0,0,0,0,20070101,20070107 5 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 3 | MONDAY,20070101,2 4 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_calendar/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/agency.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/empty_file/agency.txt -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3 5 | CITY,DTA,,City,,3 6 | AAMV,DTA,,Airport - Amargosa Valley,,3 -------------------------------------------------------------------------------- /src/test/resources/data/empty_file/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle 5 | CITY,FULLW,CITY1,,0 6 | CITY,FULLW,CITY2,,1 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0 10 | AAMV,WE,AAMV2,to Airport,1 11 | AAMV,WE,AAMV3,to Amargosa Valley,0 12 | AAMV,WE,AAMV4,to Airport,1 -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type 2 | AB,DTA,,Airport - Bullfrog,,3 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3, 5 | CITY,DTA,,City,,3 6 | AAMV,DTA,,Airport - Amargosa Valley 7 | -------------------------------------------------------------------------------- /src/test/resources/data/extra_row_cells/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle,1, 5 | CITY,FULLW,CITY1,,0, 6 | CITY,FULLW,CITY2,,1, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0, 10 | AAMV,WE,AAMV2,to Airport,1, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0, 12 | AAMV,WE,AAMV4,to Airport,1, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/areas.txt: -------------------------------------------------------------------------------- 1 | area_id,area_name 2 | AREA1,First Area 3 | AREA2,Second Area 4 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/fare_leg_rules.txt: -------------------------------------------------------------------------------- 1 | leg_group_id,network_id,from_area_id,to_area_id,fare_product_id 2 | LG1,N1,,,SINGLE 3 | LG2,N2,,,SINGLE 4 | ,NX,AREA1,AREA3,UNKNOWN 5 | ,,AREA1,AREA2,SINGLE 6 | ,,AREA1,AREA2,SINGLE 7 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/fare_products.txt: -------------------------------------------------------------------------------- 1 | fare_product_id,fare_product_name,amount,currency 2 | SINGLE,Single ticket,1.00,USD 3 | ,Missing everything,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/fare_transfer_rules.txt: -------------------------------------------------------------------------------- 1 | from_leg_group_id,to_leg_group_id,transfer_count,duration_limit,duration_limit_type,fare_transfer_type,fare_product_id 2 | LG1,LG2,,,,0, 3 | LG1,LG2,,,,1, 4 | LG1,LG1,,3600,,, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,network_id 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,,,N1 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,,,N1 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,,,N2 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,,,N2 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/stop_areas.txt: -------------------------------------------------------------------------------- 1 | area_id,stop_id 2 | AREA1,BEATTY_AIRPORT_STATION 3 | AREA1,BULLFROG 4 | AREA2,BULLFROG 5 | 6 | -------------------------------------------------------------------------------- /src/test/resources/data/fares_v2/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/good_feed.zip -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/areas.txt: -------------------------------------------------------------------------------- 1 | area_id,area_name 2 | AREA1,First Area 3 | AREA2,Second Area 4 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/attributions.txt: -------------------------------------------------------------------------------- 1 | attribution_id,agency_id,route_id,organization_name,is_producer,is_operator,attribution_url,attribution_email,attribution_phone 2 | MECATRAN,,,Mecatran SAS,1,,https://www.mecatran.com/,info@mecatran.com, 3 | ,DTA,,Demo Operator,0,1,https://www.demotransitoperator.org/,info@demotransitoperator.org,+3312345678 4 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/levels.txt: -------------------------------------------------------------------------------- 1 | level_id,level_index,level_name 2 | level_0,0.0,Ground level 3 | level_1,1.0,Mezzanine 4 | level_2,2.0,On top 5 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/pathways.txt: -------------------------------------------------------------------------------- 1 | pathway_id,from_stop_id,to_stop_id,pathway_mode,is_bidirectional,traversal_time,stair_count 2 | p1,BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT,1,1,60, 3 | p2,BEATTY_AIRPORT_ENTRANCE_NORTH,BEATTY_AIRPORT,1,1,60, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,network_id 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,,,N1 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,,,N1 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,,,N2 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,,,N2 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/stop_areas.txt: -------------------------------------------------------------------------------- 1 | area_id,stop_id 2 | AREA1,BEATTY_AIRPORT_STATION 3 | AREA1,BULLFROG 4 | AREA2,BULLFROG 5 | 6 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/translations.txt: -------------------------------------------------------------------------------- 1 | table_name,field_name,language,translation,record_id,record_sub_id,field_value 2 | routes,route_long_name,fr,Aéroport vers la Grosse Grenouille,AB,, 3 | routes,route_long_name,de,Flughafen Nach Ochsenfrosch,AB,, 4 | routes,route_long_name,es,Aeropuerto hacia Rana Toro,AB,, 5 | routes,route_long_name,fr,La Grosse Grenouille vers Hôtel du Ruisseau de la Fournaise,BFC,, 6 | stops,stop_name,fr,Aéroport du Comté de Nye (Démo),,,Nye County Airport (Demo) 7 | -------------------------------------------------------------------------------- /src/test/resources/data/good_feed/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,,CITY:1 6 | CITY,FULLW,CITY2,,1,,CITY:2 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/ifopt_format/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/ifopt_format/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/ifopt_format/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 3 | -------------------------------------------------------------------------------- /src/test/resources/data/ifopt_format/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/ifopt_format/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | AB1,8:00:00,8:00:00,us:00001:000000001:1:airport,1,,,, 3 | AB1,8:10:00,8:15:00,US:FOOBAR;,2,,,, 4 | AB2,12:05:00,12:05:00,US:FOOBAR;,1,,,, 5 | AB2,12:15:00,12:15:00,us:00001:000000001:1:airport,2,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/ifopt_format/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | us:00001:000000001:1:airport,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0,us:00001:000000001 3 | us:00001:000000001,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1, 4 | us:00001:000000001:1:north,Nye County Airport (Entrance North),,36.868546,-116.784582,,,1236,2,us:00001:000000001 5 | us:00001:000000001:2:south,Nye County Airport (Entrance South),,36.868346,-116.784582,,,1237,2,us:00001:000000001 6 | US:FOOBAR;,Bullfrog (Demo),,36.88108,-116.81797,,,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/ifopt_format/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | -------------------------------------------------------------------------------- /src/test/resources/data/incomplete_shapes/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | A1,Agency,http://google.com/,America/Los_Angeles,1234567 3 | -------------------------------------------------------------------------------- /src/test/resources/data/incomplete_shapes/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | C1,1,1,1,1,1,0,0,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/incomplete_shapes/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | C1,20070604,2 3 | -------------------------------------------------------------------------------- /src/test/resources/data/incomplete_shapes/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | R1,A1,,Route One,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/incomplete_shapes/shapes.txt: -------------------------------------------------------------------------------- 1 | shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled 2 | S1S2S3,45.000,0.000,1,0.000 3 | S1S2S3,45.000,0.100,2,1.000 4 | S1S2S3S4,45.000,0.000,1, 5 | S1S2S3S4,45.000,0.800,2, 6 | S1S2S3S4,45.000,1.600,3, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/incomplete_shapes/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | S1,Stop One,,45.000,0.000,,,,, 3 | S2,Stop Two,,,,,,,, 4 | S3,Stop Three,,45.000,0.100,,,,, 5 | S4,Stop Four,,45.000,0.150,,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/incomplete_shapes/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | R1,C1,T1,S1-S2-S3,0,,S1S2S3 3 | R1,C1,T2,S1-S2-S3-S4,0,, 4 | R1,C1,T3,S1-S2-S3-S4,0,,S1S2S3S4 5 | R1,C1,T4,S1-SX-S3,0,,S1S2S3 6 | R1,C1,T5,S1-SX-S3-S4,0,, 7 | R1,C1,T6,S1-SX-S3-S4,0,,S1S2S3S4 8 | -------------------------------------------------------------------------------- /src/test/resources/data/interleaved_stoptimes/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/interleaved_stoptimes/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/interleaved_stoptimes/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/interleaved_stoptimes/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0, 3 | BULLFROG,Bullfrog (Demo),,36.88108,-116.81797,,,,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/interleaved_stoptimes/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Bullfrog,0,2, 4 | AB,FULLW,AB3,to Bullfrog,0,1, 5 | AB,FULLW,AB4,to Bullfrog,0,2, 6 | AB,FULLW,AB5,to Bullfrog,0,1, 7 | AB,FULLW,AB6,to Airport,1,2, 8 | AB,FULLW,AB7,to Airport,1,1, 9 | AB,FULLW,AB8,to Airport,1,2, 10 | AB,FULLW,AB9,to Airport,1,1, 11 | AB,FULLW,AB10,to Airport,1,2, 12 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_route_agency/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/invalid_route_agency/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/invalid_route_agency/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/invalid_route_agency/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DVT,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_route_agency/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/invalid_stoptime_type/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_stoptime_type/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_stoptime_type/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_stoptime_type/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | STBA,6:00:00,6:00:00,STAGECOACH,0,to airport,1,0,0.212 3 | STBA,6:20:00,6:20:00,BEATTY_AIRPORT_STATION,2,,0,0,1.043 4 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_stoptime_type/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | BEATTY_AIRPORT_STATION,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1, 3 | STAGECOACH,Stagecoach Hotel & Casino (Demo),,36.915682,-116.751677,,,1236,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_stoptime_type/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | STBA,FULLW,STBA,Shuttle,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/levels.txt: -------------------------------------------------------------------------------- 1 | level_id,level_index,level_name 2 | level_0,0.0,Ground level 3 | level_1,1.0,Mezzanine 4 | level_2,2.0,On top 5 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/invalid_translations/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle,, 5 | CITY,FULLW,CITY1,,0, 6 | CITY,FULLW,CITY2,,1, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0, 10 | AAMV,WE,AAMV2,to Airport,1, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0, 12 | AAMV,WE,AAMV4,to Airport,1, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_agency/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_agency/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_agency/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_agency/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_agency/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_agency/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type 2 | AB,DTA,,Airport - Bullfrog,,3 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3 5 | CITY,DTA,,City,,3 6 | AAMV,DTA,,Airport - Amargosa Valley,,3 7 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_agency/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id 2 | AB,FULLW,AB1,to Bullfrog,0 3 | AB,FULLW,AB2,to Airport,1 4 | STBA,FULLW,STBA,Shuttle 5 | CITY,FULLW,CITY1,,0 6 | CITY,FULLW,CITY2,,1 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0 8 | BFC,FULLW,BFC2,to Bullfrog,1 9 | AAMV,WE,AAMV1,to Amargosa Valley,0 10 | AAMV,WE,AAMV2,to Airport,1 11 | AAMV,WE,AAMV3,to Amargosa Valley,0 12 | AAMV,WE,AAMV4,to Airport,1 13 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_calendar/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/missing_calendar/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_calendar/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_calendar/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_calendar/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/missing_calendar/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_url,agency_timezone 2 | DTA,http://google.com,America/Los_Angeles 3 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3 5 | CITY,DTA,,City,,3 6 | AAMV,DTA,,Airport - Amargosa Valley,,3 -------------------------------------------------------------------------------- /src/test/resources/data/missing_column/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle 5 | CITY,FULLW,CITY1,,0 6 | CITY,FULLW,CITY2,,1 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0 10 | AAMV,WE,AAMV2,to Airport,1 11 | AAMV,WE,AAMV3,to Amargosa Valley,0 12 | AAMV,WE,AAMV4,to Airport,1 -------------------------------------------------------------------------------- /src/test/resources/data/missing_departure_time/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles 3 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_departure_time/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_departure_time/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_departure_time/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | CITY1,6:00:00,6:00:00,STAGECOACH,0,,,, 3 | CITY1,6:12:00,,NADAV,10,,,, 4 | CITY1,6:19:00,6:21:00,DADAN,15,,,, 5 | CITY1,6:26:00,6:28:00,EMSI,20,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_departure_time/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code 2 | STAGECOACH,Stagecoach Hotel & Casino (Demo),,36.915682,-116.751677,,,1236 3 | NADAV,North Ave / D Ave N (Demo),,36.914893,-116.76821,,,1237 4 | NANAA,North Ave / N A Ave (Demo),,36.914944,-116.761472,,,1238 5 | DADAN,Doing Ave / D Ave N (Demo),,36.909489,-116.768242,,, 6 | EMSI,E Main St / S Irving St (Demo),,36.905697,-116.76218,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_departure_time/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | CITY,FULLW,CITY1,,0,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles 3 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode short name,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_endpoint_times/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,Ō,0,, 6 | CITY,FULLW,CITY2,Ō,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_routes/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/missing_routes/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_routes/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_routes/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_routes/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_routes/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_routes/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles 3 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url 2 | AB,DTA,,Airport ⇒ Bullfrog,,3, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,http://google.com 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_row_cells/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,Ō,,, 6 | CITY,FULLW,CITY2,Ō,,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/missing_stop_times/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3 5 | CITY,DTA,,City,,3 6 | AAMV,DTA,,Airport - Amargosa Valley,,3 -------------------------------------------------------------------------------- /src/test/resources/data/missing_stops/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/missing_trips/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/missing_trips/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/missing_trips/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_trips/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/calendar.txt: -------------------------------------------------------------------------------- 1 | "service_id","monday","tuesday","wednesday","friday","saturday","sunday","start_date","end_date" 2 | "FULLW",1,1,1,1,1,1,20070101,20101231 3 | "WE",0,0,0,0,1,1,20070101,20101231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3 5 | CITY,DTA,,City,,3 6 | AAMV,DTA,,Airport - Amargosa Valley,,3 -------------------------------------------------------------------------------- /src/test/resources/data/missing_weekday_column/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | STBA,FULLW,STBA,Shuttle 5 | CITY,FULLW,CITY1,,0 6 | CITY,FULLW,CITY2,,1 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1 8 | BFC,FULLW,BFC2,to Bullfrog,1,2 9 | AAMV,WE,AAMV1,to Amargosa Valley,0 10 | AAMV,WE,AAMV2,to Airport,1 11 | AAMV,WE,AAMV3,to Amargosa Valley,0 12 | AAMV,WE,AAMV4,to Airport,1 -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/negative_stop_sequence/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/noservice/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,0,0,20200410,20200412 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20200410,2 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | AB1,8:00:00,8:00:00,BEATTY_AIRPORT,1,,,, 3 | AB1,8:10:00,8:15:00,BULLFROG,2,,,, 4 | AB2,12:05:00,12:05:00,BULLFROG,1,,,, 5 | AB2,12:15:00,12:15:00,BEATTY_AIRPORT,2,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0, 3 | BULLFROG,Bullfrog (Demo),,36.88108,-116.81797,,,,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,0,0,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070101,1 3 | FULLW,20061231,2 4 | WE,20070101,2 5 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | STBA,6:00:00,6:00:00,STAGECOACH,0,to airport,1,0,0.212 3 | STBA,6:20:00,6:20:00,BEATTY_AIRPORT,2,,0,0,1.043 4 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0, 3 | STAGECOACH,Stagecoach Hotel & Casino (Demo),,36.915682,-116.751677,,,1236,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/noservice_exception/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | STBA,FULLW,STBA,Shuttle,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/only_calendar_dates/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/only_calendar_dates/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,1 3 | WE,20070605,1 4 | -------------------------------------------------------------------------------- /src/test/resources/data/only_calendar_dates/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/only_calendar_dates/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/only_calendar_dates/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/only_calendar_dates/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/only_calendar_dates/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/overlapping_blockid/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/overlapping_blockid/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WEEK,1,1,1,1,1,0,0,20070101,20111231 4 | WE,0,0,0,0,0,1,1,20070101,20111231 5 | -------------------------------------------------------------------------------- /src/test/resources/data/overlapping_blockid/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/overlapping_blockid/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/overlapping_blockid/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | STBB,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 6 | STBC,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 7 | STBD,DTA,D,Stagecoach ⇒ Airport Shuttle,,3,,, 8 | CITY,DTA,,City,,3,,, 9 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 10 | -------------------------------------------------------------------------------- /src/test/resources/data/repeated_route_name/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,FF0000,000000 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,00FF00,00AA00 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,0000FE,0000AB 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,000000, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,FE0000,000002 7 | AAMV2,DTA,,Airport ⇒ Amargosa Valley Express,,3,,FC0000,200000 8 | -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/route_colors/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/route_names/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/route_names/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/route_names/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/route_names/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/route_names/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/route_names/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/route_names/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,Stage,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,City,City,,3,,, 6 | AAMV,DTA,Airport/Amargosa,Airport - Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/route_names/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/shapes/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | A,Agency,http://google.com,Europe/Paris,02 03 04 05 06 3 | -------------------------------------------------------------------------------- /src/test/resources/data/shapes/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | C1,1,1,1,1,1,1,1,20200101,20201231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/shapes/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | R1,A,R1,ROUTE 1,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/shapes/shapes.txt: -------------------------------------------------------------------------------- 1 | shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled 2 | SHAPE1,45.00,0.00,1, 3 | SHAPE1,45.00,0.07,2, 4 | SHAPE2,45.000000,0.00,1, 5 | SHAPE2,45.000001,0.02,2, 6 | SHAPE2,45.000002,0.01,3, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/shapes/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | T1,8:00:00,8:00:00,S1,1,,,, 3 | T1,9:00:00,9:00:00,S2,2,,,, 4 | T1,10:00:00,10:00:00,S3,3,,,, 5 | T2,8:00:00,8:00:00,S3,1,,,, 6 | T2,9:00:00,9:00:00,S2,2,,,, 7 | T2,10:00:00,10:00:00,S1,3,,,, 8 | T3,8:00:00,8:00:00,S1,1,,,, 9 | T3,9:00:00,9:00:00,S3,2,,,, 10 | T3,10:00:00,10:00:00,S2,3,,,, 11 | -------------------------------------------------------------------------------- /src/test/resources/data/shapes/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station 2 | S1,Stop 1,,45.00,0.00,,,,, 3 | S2,Stop 2,,45.00,0.01,,,,, 4 | S3,Stop 3,,45.00,0.02,,,,, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/shapes/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | R1,C1,T1,Inbound,0,,SHAPE1 3 | R1,C1,T2,Outbound,1,,SHAPE1 4 | R1,C1,T3,Inbound,1,,SHAPE2 5 | -------------------------------------------------------------------------------- /src/test/resources/data/single_agency/agency.txt: -------------------------------------------------------------------------------- 1 | agency_name,agency_url,agency_timezone,agency_phone 2 | Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/single_agency/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/single_agency/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/single_agency/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/single_agency/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,,CITY:1 6 | CITY,FULLW,CITY2,,1,,CITY:2 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/space_header/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id, agency_name, agency_url, agency_timezone, agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/space_header/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/space_header/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/space_header/routes.txt: -------------------------------------------------------------------------------- 1 | route_id, agency_id, route_short_name, route_long_name, route_desc, route_type, route_url, route_color, route_text_color 2 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/space_header/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | STBA,6:00:00,6:00:00,STAGECOACH,0,to airport,1,0,0.212 3 | STBA,6:20:00,6:20:00,BEATTY_AIRPORT,2,,0,0,1.043 4 | -------------------------------------------------------------------------------- /src/test/resources/data/space_header/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id, stop_name, stop_desc, stop_lat, stop_lon, zone_id, stop_url, stop_code, location_type, parent_station 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0,BEATTY_AIRPORT_STATION 3 | BEATTY_AIRPORT_STATION,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1, 4 | STAGECOACH,Stagecoach Hotel & Casino (Demo),,36.915682,-116.751677,,,1236,, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/space_header/trips.txt: -------------------------------------------------------------------------------- 1 | route_id, service_id, trip_id, trip_headsign, direction_id, block_id 2 | STBA,FULLW,STBA,Shuttle,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/split_or_joined_trips/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/split_or_joined_trips/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/split_or_joined_trips/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date 2 | Autorité de passage de démonstration,http://google.com,en,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/split_or_joined_trips/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,2,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Demo agency,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/areas.txt: -------------------------------------------------------------------------------- 1 | area_id,area_name 2 | AREA1,First Area 3 | AREA2,Second Area 4 | AREA1, 5 | ,Missing ID area 6 | AREA3, 7 | AREA4,Unused area 8 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | 4 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/stop_areas.txt: -------------------------------------------------------------------------------- 1 | area_id,stop_id 2 | AREA1,BEATTY_AIRPORT 3 | AREA1,BEATTY_AIRPORT 4 | AREA1,BEATTY_AIRPORT_STATION 5 | AREA1,MISSING_STOP 6 | AREA9,BEATTY_AIRPORT 7 | AREA9,MISSING_STOP 8 | AREA2,BEATTY_AIRPORT 9 | AREA2,BULLFROG 10 | AREA3,BULLFROG 11 | 12 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled 2 | AB1,8:00:00,8:00:00,BEATTY_AIRPORT,1,,,, 3 | AB1,8:10:00,8:15:00,BULLFROG,2,,,, 4 | AB2,12:05:00,12:05:00,BULLFROG,1,,,, 5 | AB2,12:15:00,12:15:00,BEATTY_AIRPORT,2,,,, 6 | 7 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station,level_id 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0,BEATTY_AIRPORT_STATION,level_0 3 | BEATTY_AIRPORT_STATION,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1,, 4 | BULLFROG,Bullfrog (Demo),,36.88108,-116.81797,,,,,, 5 | 6 | -------------------------------------------------------------------------------- /src/test/resources/data/stop_areas/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | AB,FULLW,AB1,to Bullfrog,0,1 3 | AB,FULLW,AB2,to Airport,1,2 4 | -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/stops_toofar/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/sweg_zero_coordinates/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email 2 | 2,SWEG Breisgau Kaiserstuhl,https://www.sweg.de/,Europe/Berlin,de,+49 78219960770,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/sweg_zero_coordinates/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date,service_name 2 | T0+ss,1,1,1,1,1,0,0,20191216,20201211,"2019-12-16 → 2020-12-11 (33 M, 33 D, 33 M, 31 D, 32 F)" 3 | -------------------------------------------------------------------------------- /src/test/resources/data/sweg_zero_coordinates/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,route_sort_order,direction0_name,direction1_name 2 | 0-104-j20-1,2,104,Vogtsburg - Schelingen - Oberrotweil - Achkarren - Breisach,,3,,,,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/sweg_zero_coordinates/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled,timepoint 2 | 11.T0.0-104-j20-1.1.H,07:20:00,07:20:00,gen:8315:367:0:3,1,Bickensohl Ort,0,0,,1 3 | 11.T0.0-104-j20-1.1.H,07:22:00,07:22:00,de:08315:11400,2,Achkarren Ort,0,0,,1 4 | 11.T0.0-104-j20-1.1.H,07:26:00,07:26:00,de:08315:365,3,Achkarren WG,0,0,,1 5 | 11.T0.0-104-j20-1.1.H,07:27:00,07:27:00,de:08315:363,4,Achkarren Bahnhof,0,0,,1 6 | 11.T0.0-104-j20-1.1.H,07:29:00,07:29:00,de:08315:6691:3:1,5,,0,0,,1 7 | -------------------------------------------------------------------------------- /src/test/resources/data/sweg_zero_coordinates/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_code,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,location_type,parent_station,wheelchair_boarding,platform_code 2 | de:08315:6691:3:1,,Achkarren Bahnhof,,48.05972100,7.60838000,,,0,,0, 3 | de:08315:365,,Achkarren Ort,,48.06935000,7.62875400,,,0,,0, 4 | de:08315:363,,Achkarren WG,,48.06616300,7.62049800,,,0,,0, 5 | de:08315:11400,,Bickensohl Ort,,48.07672700,7.64484300,,,0,,0, 6 | gen:8315:367:0:3,,Oberrotweil Linde,,0.00000000,0.00000000,,,0,,0, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/sweg_zero_coordinates/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,block_id,shape_id,wheelchair_accessible 2 | 0-104-j20-1,T0+ss,11.T0.0-104-j20-1.1.H,Vogtsburg - Schelingen - Oberrotweil - Achkarren - Breisach,,0,,0-104-j20-1.1.H,0 3 | -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/timetravels/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/toofast_travel/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/toomanydayswoservice/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/toomanydayswoservice/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | -------------------------------------------------------------------------------- /src/test/resources/data/toomanydayswoservice/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 3 | FULLW,20070605,2 4 | FULLW,20070606,2 5 | FULLW,20070607,2 6 | FULLW,20070608,2 7 | FULLW,20070609,2 8 | FULLW,20070610,2 9 | FULLW,20070611,2 10 | -------------------------------------------------------------------------------- /src/test/resources/data/toomanydayswoservice/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 3 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/toomanydayswoservice/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | STBA,FULLW,STBA,Shuttle,, 3 | CITY,FULLW,CITY1,,0, 4 | CITY,FULLW,CITY2,,1, 5 | -------------------------------------------------------------------------------- /src/test/resources/data/transilien_tinytrip/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email 2 | DUA854,Paris St Lazare,http://www.transilien.com,Europe/Paris,fr,,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/transilien_tinytrip/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | 407,1,1,1,1,1,0,0,20190902,20190906 3 | -------------------------------------------------------------------------------- /src/test/resources/data/transilien_tinytrip/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color,route_sort_order 2 | DUA800854042,DUA854,L,Gare St-Lazare - Versailles R. Droite / Cergy Le Haut / Noisy le-Roi / St-Germain-en-Laye GC,,2,,7577C0,FFFFFF, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/transilien_tinytrip/stop_times.txt: -------------------------------------------------------------------------------- 1 | trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled,timepoint 2 | DUASN135888F01002-1_138467,,,StopPoint:DUA8738642,0,,0,0,,1 3 | -------------------------------------------------------------------------------- /src/test/resources/data/transilien_tinytrip/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_code,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,location_type,parent_station,wheelchair_boarding,platform_code 2 | StopArea:DUA8738642,,MAISONS LAFFITTE,,48.94566600,2.14429100,,,1,,0, 3 | StopPoint:DUA8738642,,MAISONS LAFFITTE,,48.94591300,2.14464800,,,0,StopArea:DUA8738642,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/transilien_tinytrip/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,block_id,shape_id,wheelchair_accessible 2 | DUA800854042,407,DUASN135888F01002-1_138467,POPU,,1,,,0 3 | -------------------------------------------------------------------------------- /src/test/resources/data/trip_transfers_type_45/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Demo agency,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/trip_transfers_type_45/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW1,1,1,1,1,1,1,1,20070101,20111231 3 | WE1, 0,0,0,0,0,1,1,20070101,20111231 4 | FULLW2,1,1,1,1,1,1,1,20120101,20121231 5 | WE2, 0,0,0,0,0,1,1,20120101,20121231 6 | WE12, 0,0,0,0,0,1,1,20070101,20121231 7 | 8 | -------------------------------------------------------------------------------- /src/test/resources/data/trip_transfers_type_45/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | 4 | -------------------------------------------------------------------------------- /src/test/resources/data/trip_transfers_type_45/stops.txt: -------------------------------------------------------------------------------- 1 | stop_id,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,stop_code,location_type,parent_station,level_id 2 | BEATTY_AIRPORT,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,0,BEATTY_AIRPORT_STATION,level_0 3 | BEATTY_AIRPORT_STATION,Nye County Airport (Demo),,36.868446,-116.784582,,,1235,1,, 4 | BULLFROG,Bullfrog (Demo),,36.88108,-116.81797,,,,,, 5 | 6 | -------------------------------------------------------------------------------- /src/test/resources/data/trip_transfers_type_45/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,from_trip_id,to_trip_id,transfer_type,min_transfer_time 2 | ,,AB1,AB3,4, 3 | ,,AB1,AB3,4, 4 | ,,AB1,AB3B,4, 5 | ,,AB1,AB3C,4, 6 | ,,AB1,AB4,5, 7 | BULLFROG,BEATTY_AIRPORT,,,5, 8 | 9 | -------------------------------------------------------------------------------- /src/test/resources/data/trip_transfers_type_45/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id 2 | AB,FULLW1,AB1,to Bullfrog,0,1 3 | AB,FULLW1,AB2,to Airport,1,2 4 | AB,WE1,AB3,to Airport,1,1 5 | AB,WE1,AB3B,to Airport (second shuttle),1,1 6 | AB,FULLW1,AB3C,to Airport (second shuttle),1,1 7 | AB,FULLW2,AB4,to Bullfrog,0,1 8 | -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/undefined_stop/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone,agency_phone 2 | DTA,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314 3 | -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/frecuencias.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport ⇒ Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog ⇒ Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach ⇒ Airport Shuttle,,3,,, 5 | CITY,DTA,Ō,Bar Circle,Route with ĸool unicode shortname,3,,, 6 | AAMV,DTA,,Airport ⇒ Amargosa Valley,,3,,, 7 | -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,3, 3 | EMSI,NANAA,2,1200 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unknown_file/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/unknown_format.zip: -------------------------------------------------------------------------------- 1 | not a real zip file 2 | -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_url,agency_url,agency_timezone,agency_lange 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles,en 3 | -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date,leap_day 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231, 3 | WE,0,0,0,0,0,1,1,20070101,20101231, -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type,leap_day 2 | FULLW,20070604,2, -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_time 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,source_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs,superfluous 2 | STBA,6:00:00,22:00:00,1800, 3 | CITY1,6:00:00,7:59:59,1800, 4 | CITY2,6:00:00,7:59:59,1800, 5 | CITY1,8:00:00,9:59:59,600, 6 | CITY2,8:00:00,9:59:59,600, 7 | CITY1,10:00:00,15:59:59,1800, 8 | CITY2,10:00:00,15:59:59,1800, 9 | CITY1,16:00:00,18:59:59,600, 10 | CITY2,16:00:00,18:59:59,600, 11 | CITY1,19:00:00,22:00:00,1800, 12 | CITY2,19:00:00,22:00:00,1800, -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,Route_Text_Color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,transfer_type,min_transfer_time,to_stop 2 | NADAV,NANAA,3,, 3 | -------------------------------------------------------------------------------- /src/test/resources/data/unrecognized_columns/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,sharpe_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles 3 | UNUSED_AGENCY,Unused,http://google.com,Europe/Paris 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 4 | UNUSED_CALENDAR,1,0,0,0,0,0,0,20070101,20101231 5 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 3 | UNUSED_CALENDAR_DATE,20070821,1 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, 7 | UNUSED_ROUTE,DTA,,Unused route,,3,,, 8 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/shapes.txt: -------------------------------------------------------------------------------- 1 | shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled 2 | UNUSED_SHAPE,36.884,-116.789,1, 3 | UNUSED_SHAPE,36.856,-116.887,2, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_data/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/unused_stop/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/utf16/agency.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/agency.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/calendar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/calendar.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/calendar_dates.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/calendar_dates.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/fare_attributes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/fare_attributes.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/fare_rules.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/fare_rules.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/frequencies.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/frequencies.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/routes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/routes.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/stop_times.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/stop_times.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/stops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/stops.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf16/trips.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mecatran/gtfsvtor/b52f19d3569444be0adbd7f78fbf69eb52f334fb/src/test/resources/data/utf16/trips.txt -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_name,agency_url,agency_timezone 2 | DTA,Demo Transit Authority,http://google.com,America/Los_Angeles -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20101231 3 | WE,0,0,0,0,0,1,1,20070101,20101231 -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20070604,2 -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration 2 | p,1.25,USD,0,0, 3 | a,5.25,USD,0,0, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,16:00:00,18:59:59,600 10 | CITY2,16:00:00,18:59:59,600 11 | CITY1,19:00:00,22:00:00,1800 12 | CITY2,19:00:00,22:00:00,1800 -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/routes.txt: -------------------------------------------------------------------------------- 1 | route_id,agency_id,route_short_name,route_long_name,route_desc,route_type,route_url,route_color,route_text_color 2 | AB,DTA,,Airport - Bullfrog,,3,,, 3 | BFC,DTA,,Bullfrog - Furnace Creek Resort,,3,,, 4 | STBA,DTA,,Stagecoach - Airport Shuttle,,3,,, 5 | CITY,DTA,,City,,3,,, 6 | AAMV,DTA,,Airport - Amargosa Valley,,3,,, -------------------------------------------------------------------------------- /src/test/resources/data/utf8bom/trips.txt: -------------------------------------------------------------------------------- 1 | route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id 2 | AB,FULLW,AB1,to Bullfrog,0,1, 3 | AB,FULLW,AB2,to Airport,1,2, 4 | STBA,FULLW,STBA,Shuttle,,, 5 | CITY,FULLW,CITY1,,0,, 6 | CITY,FULLW,CITY2,,1,, 7 | BFC,FULLW,BFC1,to Furnace Creek Resort,0,1, 8 | BFC,FULLW,BFC2,to Bullfrog,1,2, 9 | AAMV,WE,AAMV1,to Amargosa Valley,0,, 10 | AAMV,WE,AAMV2,to Airport,1,, 11 | AAMV,WE,AAMV3,to Amargosa Valley,0,, 12 | AAMV,WE,AAMV4,to Airport,1,, -------------------------------------------------------------------------------- /src/test/resources/data/verybad/agency.txt: -------------------------------------------------------------------------------- 1 | agency_id,agency_lang,agency_url,agency_url,agency_timezone,agency_phone,agency_email 2 | DTA,en,Autorité de passage de démonstration,http://google.com,America/Los_Angeles,123 12314, 3 | DTA_UNUSED,ZZ,,badurl.com,Mars/Pluto,Unknown phone,@bogusmail 4 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/areas.txt: -------------------------------------------------------------------------------- 1 | area_id,area_name 2 | AREA1,First Area 3 | AREA2,Second Area 4 | AREA1,Duplicated Area 5 | ,Missing ID area 6 | AREA3, 7 | AREA4,Unused area 8 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/attributions.txt: -------------------------------------------------------------------------------- 1 | attribution_id,agency_id,route_id,organization_name,is_producer,is_operator,attribution_url,attribution_email,attribution_phone 2 | MECATRAN,,,Mecatran,1,,https://www.mecatran.com/,info@mecatran.com, 3 | MECATRAN,AGENCY,,Mecatran SAS,,false,https://www.mecatran.com/,info@mecatran.com, 4 | ,DTA,BFC,,0,0,www.demotransitoperator.org,3312345678,info@demotransitoperator.org 5 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/calendar.txt: -------------------------------------------------------------------------------- 1 | service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date 2 | FULLW,1,1,1,1,1,1,1,20070101,20111231 3 | WE,0,0,0,0,0,1,1,20070101,20111231 4 | MONDAY,1,0,0,0,0,0,0,20070101,20070107 5 | UNUSED,0,1,0,1,0,1,0,20070101,20111231 6 | INVERTED,0,1,0,1,0,1,0,22120101,19001231 7 | NODOW,0,0,0,0,0,0,0,20070101,20070101 8 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/calendar_attributes.txt: -------------------------------------------------------------------------------- 1 | service_id,service_name 2 | FULLW,Full week 3 | WE,Week-end 4 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/calendar_dates.txt: -------------------------------------------------------------------------------- 1 | service_id,date,exception_type 2 | FULLW,20061231,2 3 | FULLW,20070101,1 4 | FULLW,20070604,2 5 | FULLW,20070605,2 6 | FULLW,20070606,2 7 | FULLW,20070607,2 8 | FULLW,20070608,2 9 | FULLW,20070609,2 10 | FULLW,20070610,2 11 | FULLW,20070611,2 12 | WE,20070609,2 13 | WE,20070610,2 14 | MONDAY,20070101,2 15 | MONDAY2,20070101,2 16 | INVERTED,20073108,1 17 | UNUSED,20070831,1 18 | INVERTED,19000101,1 19 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/fare_attributes.txt: -------------------------------------------------------------------------------- 1 | fare_id,price,currency_type,payment_method,transfers,transfer_duration,agency_id 2 | p,1.25,USD,0,0,, 3 | a,5.25,USD,0,0,, 4 | d,€2,Euros,3,,, 5 | d,,,,,-10,INEXISTANT_AGENCY 6 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/fare_rules.txt: -------------------------------------------------------------------------------- 1 | fare_id,route_id,origin_id,destination_id,contains_id 2 | p,AB,,, 3 | p,STBA,,, 4 | p,BFC,,, 5 | a,AAMV,,, 6 | d,AAMV,,, 7 | d,AAMV,,, 8 | unknown,AB,,, 9 | unknown,UNKNOWN_ROUTE,UNKNOWN_ORIGIN_ZONE,UNKNOWN_DEST_ZONE,UNKNOWN_CONTAINS_ZONE 10 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/feed_info.txt: -------------------------------------------------------------------------------- 1 | feed_publisher_name,feed_publisher_url,feed_lang,default_lang,feed_version,feed_start_date,feed_end_date,feed_contact_name,feed_contact_url 2 | Mecatran,https://www.mecatran.com/,en,en,V1,20070101,20111231,Joe Smith, 3 | Foobar,ftp:abc,,ZZ,V2,20200101,20111231,, 4 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/frequencies.txt: -------------------------------------------------------------------------------- 1 | trip_id,start_time,end_time,headway_secs 2 | STBA,6:00:00,22:00:00,1800 3 | CITY1,6:00:00,7:59:59,1800 4 | CITY2,6:00:00,7:59:59,1800 5 | CITY1,8:00:00,9:59:59,600 6 | CITY2,8:00:00,9:59:59,600 7 | CITY1,10:00:00,15:59:59,1800 8 | CITY2,10:00:00,15:59:59,1800 9 | CITY1,19:00:00,18:59:59,-600 10 | CITY2,16:00:00,18:59:59, 11 | CITY2,,,600 12 | CITY1,19:00,22:00,1800 13 | ,19:00:00,22:00:00,1800 14 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/levels.txt: -------------------------------------------------------------------------------- 1 | level_id,level_index,level_name 2 | level_0,0.0,Ground floor 3 | level_1,1,Mezzanine 4 | level_1,2,Mezzanine 2 5 | level_99,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/pathways.txt: -------------------------------------------------------------------------------- 1 | pathway_id,from_stop_id,to_stop_id,pathway_mode,traversal_time,stair_count 2 | p1,BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT_ENTRANCE_NORTH,1, 3 | p2,BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT_STATION,2, 4 | p1,BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT_ENTRANCE_NORTH,99,0 5 | p3,,,, 6 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/shapes.txt: -------------------------------------------------------------------------------- 1 | shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled 2 | SHAPE1,36.868,-116.784,1, 3 | SHAPE1,36.881,-116.817,2, 4 | SHAPE2,36.881,-116.817,1, 5 | SHAPE2,36.868,-116.784,2, 6 | SHAPE3,35.476,-115.176,1,1.000 7 | SHAPE3,35.698,-115.455,2,1.765 8 | SHAPE3,35.399,-115.945,3,1.667 9 | UNUSED_SHAPE,36.884,-116.789,1, 10 | UNUSED_SHAPE,36.856,-116.887,2, 11 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/stop_areas.txt: -------------------------------------------------------------------------------- 1 | area_id,stop_id 2 | AREA1,BEATTY_AIRPORT 3 | AREA1,BEATTY_AIRPORT 4 | AREA1,BEATTY_AIRPORT_STATION 5 | AREA1,MISSING_STOP 6 | AREA9,BEATTY_AIRPORT 7 | AREA9,MISSING_STOP 8 | AREA2,BEATTY_AIRPORT 9 | AREA2,BULLFROG 10 | AREA3,BULLFROG 11 | ,MISSING 12 | MISSING, 13 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/transfers.txt: -------------------------------------------------------------------------------- 1 | from_stop_id,to_stop_id,from_route_id,to_route_id,from_trip_id,to_trip_id,transfer_type,min_transfer_time 2 | NADAV,NANAA,,,,,3, 3 | EMSI,NANAA,,,,,2,1200 4 | BOGUS,BOGUS,,,,,1,1200 5 | NADAV,TOOLARGE1,,,,,2,14000 6 | NANAA,TOOLARGE2,,,,,2,140000 7 | NADAV,NANAA,,,,,,-100 8 | ,,,,,,timed,120sec 9 | BEATTY_AIRPORT_ENTRANCE_SOUTH,BEATTY_AIRPORT_ENTRANCE_NORTH,,,,,2,3400 10 | ,,R1,R2,,,5, 11 | ,,,,BFC2,BFC1,4, 12 | ,,,,AAMV1,BFC1,4, 13 | ,,,,AAMV2,BFC1,5, 14 | -------------------------------------------------------------------------------- /src/test/resources/data/verybad/translations.txt: -------------------------------------------------------------------------------- 1 | table_name,field_name,language,translation,record_id,record_sub_id,field_value 2 | routes,route_long_name,fr,Aéroport vers la Grosse Grenouille,AB,,, 3 | routes,route_long_name,fr,Aéroport vers Grenouille,AB,,, 4 | stop,stop_long_name,zz,Foobar,XX,,, 5 | --------------------------------------------------------------------------------