use of org.opentripplanner.graph_builder.module.osm.WayPropertySet in project OpenTripPlanner by opentripplanner.
the class OSMWayTest method getWayProperties.
private P2<StreetTraversalPermission> getWayProperties(OSMWay way) {
WayPropertySet wayPropertySet = new WayPropertySet();
WayProperties wayData = wayPropertySet.getDataForWay(way);
StreetTraversalPermission permissions = OSMFilter.getPermissionsForWay(way, wayData.getPermission(), null);
return OSMFilter.getPermissions(permissions, way);
}
Aggregations