-
Notifications
You must be signed in to change notification settings - Fork 140
Description
It is hard to add some of the new pseudo tags to a car profile. The only entry point for variable values is the maxspeed parameter.
However, the logic of, for example, consider river is: all paths that are not near a river are penalized. And when you add a penalty to maxspeed this will affect your route duration.
The code is not ready yet, but the feature for the moment is available for testing.
Please see this sample for a river test.
The link is set to car-fast. This is not the original but a replacement with a contact to a new KinematicModel class. This contains now an entry point for costfactor in a similar use as bike profiles.
When you place the penalty on costfactor, it should not bring a duration problem.
Please see the text inside the profile.
Another example for use with avoid_motorways, avoid_trunk and avoid_primary.
Please play around with this examples and test if this fits your needs.
The next summer will come with a cabrio ride.
The current car profile doesn't contain all pseudo tags. Which do we need for car driving?
Note:
On the testserver the tests for issue #848 and the PR #853 are running as well.