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);
}
}