Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused storages (Issue #536) #537

Merged
merged 1 commit into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Moved walking and hiking flag encoders to the ORS core system (#440)
- Remove route optimization code (#499)
- Reduced distance for neighbourhood point search in isochrones when small isochrones are generated (#494)
- Removed obsolete storages (#536)
### Deprecated

## [5.0.1] - 2019-04-08
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,13 +583,8 @@ private RouteSearchContext createSearchContext(RouteSearchParameters searchParam
if (RoutingProfileType.isHeavyVehicle(profileType) && searchParams.hasParameters(VehicleParameters.class)) {
VehicleParameters vehicleParams = (VehicleParameters) profileParams;

if (vehicleParams.hasAttributes()) {

if (profileType == RoutingProfileType.DRIVING_HGV)
edgeFilters.add(new HeavyVehicleEdgeFilter(flagEncoder, searchParams.getVehicleType(), vehicleParams, gs));
else if (profileType == RoutingProfileType.DRIVING_EMERGENCY)
edgeFilters.add(new EmergencyVehicleEdgeFilter(vehicleParams, gs));
}
if (vehicleParams.hasAttributes() && profileType == RoutingProfileType.DRIVING_HGV)
edgeFilters.add(new HeavyVehicleEdgeFilter(flagEncoder, searchParams.getVehicleType(), vehicleParams, gs));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public class RoutingProfileType {
// DRIVING STUFF
public static final int DRIVING_CAR = 1;
public static final int DRIVING_HGV = 2;
public static final int DRIVING_EMERGENCY = 3;
public static final int DRIVING_EMERGENCY = 3; // not supported
public static final int DRIVING_CAROFFROAD = 4; // not supported
public static final int DRIVING_SEGWAY = 5; // not supported
public static final int DRIVING_SEGWAY = 5; // not implemented
public static final int DRIVING_ELECTRIC_CAR = 6;
public static final int DRIVING_MOTORCYCLE = 7;
public static final int DRIVING_TRAFFIC = 8;
Expand Down

This file was deleted.

This file was deleted.

Loading