Examples of RepeatedStops


Examples of org.opentripplanner.graph_builder.annotation.RepeatedStops

            /* Fetch the stop times for this trip. Copy the list since it's immutable. */
            List<StopTime> stopTimes = new ArrayList<StopTime>(_dao.getStopTimesForTrip(trip));

            /* GTFS stop times frequently contain duplicate, missing, or incorrect entries. Repair them. */
            if (removeRepeatedStops(stopTimes)) {
                LOG.warn(graph.addBuilderAnnotation(new RepeatedStops(trip)));
            }
            filterStopTimes(stopTimes, graph);
            interpolateStopTimes(stopTimes);  
           
            /* If after filtering this trip does not contain at least 2 stoptimes, it does not serve any purpose. */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.