Package org.onebusaway.uk.network_rail.gtfs_realtime.graph.RailwayGraph

Examples of org.onebusaway.uk.network_rail.gtfs_realtime.graph.RailwayGraph.RailwayPath


          BerthPath berthPath = new BerthPath(path, currentNode.getDistance());
          double d = fromLocation.getDistance(toLocation);
          if (d > 30000) {
            continue;
          }
          RailwayPath railwayPath = _railwayShapeService.getPath(
              fromLocation.getPoint(), toLocation.getPoint());
          if (railwayPath != null) {
            snapBerthsToRailwayPath(berthPath, railwayPath);
          }
          break;
View Full Code Here


      BerthPath berthPath = getShortestPathBetweenNodes(stanoxNode,
          nearbyStanoxNode, distance);
      if (berthPath != null) {
        _log.info("railway path");
        RailwayPath railwayPath = _railwayShapeService.getPath(p.getPoint(),
            pTo.getPoint());
        if (railwayPath != null) {
          snapBerthsToRailwayPath(berthPath, railwayPath);
        }
      }
View Full Code Here

TOP

Related Classes of org.onebusaway.uk.network_rail.gtfs_realtime.graph.RailwayGraph.RailwayPath

Copyright © 2018 www.massapicom. 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.