-
Notifications
You must be signed in to change notification settings - Fork 143
Not-drivable lane misclassified #430
Description
I am experiencing an issue with LaneAssistanceListener: it returns tram-reserved lanes classified as isRegular.
I am calculating the route with calculateRouteWithRoutingOptions, using setRoutingOptions and TransportMode.car.
With this setup, I obtain the polyline and the lane suggestion logs reported below.
As can also be verified in Google Street View, there is a tram-reserved lane at that location. However, HERE reports it as isRegular, whereas I would have expected it to be classified differently, not as a normal drivable lane for car navigation that can be suggested to follow or avoid, but rather as something I could filter out from suggestions, for example isHighOccupancyVehicle.
My goal is to avoid showing lane suggestions for lanes that should not even be considered, because they are not legally drivable or should not be used by a car.
Am I perhaps missing some routing or lane-related setting?
Please note that I am seeing the same issue at other points in the city as well, which suggests that this is not just a spot-specific misclassification.
Below are the logs captured when LaneAssistanceListener fires, together with the geo-coordinates at the moment the listener is triggered, in case you want to inspect the location in Google Street View.
POLYLINE POINTS FROM ROUTING ENGINE:
47.403262, 8.534765
47.40307, 8.53496
47.40286, 8.53516
47.4025, 8.53549
47.40239, 8.53528
47.40213, 8.53501
47.4018, 8.53472
47.40131, 8.53436
47.40115, 8.53425
47.4007, 8.53394
47.40009, 8.53349
47.39991, 8.53337
47.39964, 8.53323
47.39944, 8.53316
47.39926, 8.53312
47.3991, 8.5331
47.399, 8.53307
47.39888, 8.53299
47.39874, 8.53285
47.39869, 8.53274
47.39861, 8.53259
47.39854, 8.53252
47.39839, 8.53249
47.39822, 8.53245
47.39798, 8.5325
47.39777, 8.53241
47.39771, 8.53234
47.39763, 8.53217
47.39743, 8.53148
47.39729, 8.53106
47.39712, 8.53075
47.39709, 8.53066
47.39699, 8.5303
47.39673, 8.52942
47.39662, 8.52904
47.396561, 8.528824
Lane assistance fired with 3 lanes at position 47.40318995900452, 8.534837868064642
Lane 0: notRecommended, isRegular=true,
Lane 1: notRecommended, isBicycle=true
Lane 2: highlyRecommended, isTurn=true,
Lane assistance fired with 3 lanes at position 47.40318995900452, 8.534837868064642
Lane 0: notRecommended, isRegular=true,
Lane 1: notRecommended, isBicycle=true
Lane 2:highlyRecommended, isTurn=true,
Lane assistance fired with 2 lanes at position 47.402466516941786, 8.535425942391157
Lane 0: highlyRecommended, isRegular=true,
Lane 1: isBicycle=true, notRecommended
Lane assistance fired with 0 lanes at position 47.40126136690378, 8.534326488152146
Lane assistance fired with 7 lanes at position 47.40036718547344, 8.533694325014949
Lane 0: notRecommended, isRegular=true,
Lane 1: notRecommended, isRegular=true,
Lane 2: notRecommended, isBicycle=true
Lane 3: highlyRecommended, isRegular=true,
Lane 4: notRecommended, isBicycle=true
Lane 5: notRecommended, isTurn=true,
Lane 6: notRecommended, isBicycle=true
Lane assistance fired with 7 lanes at position 47.40036718547344, 8.533694325014949
Lane 0: notRecommended, isRegular=true,
Lane 1: notRecommended, isRegular=true,
Lane 2: notRecommended, isBicycle=true
Lane 3: highlyRecommended, isRegular=true,
Lane 4: notRecommended, isBicycle=true
Lane 5: notRecommended, isTurn=true,
Lane 6: notRecommended, isBicycle=true
Lane assistance fired with 0 lanes at position 47.39795512519777, 8.53248942643404