Closed mraross closed 3 years ago
13197 232 St, Maple Ridge, BC 11555 225 St, Maple Ridge, BC
Thanks Michael.
Regarding Mt Seymour Parkway:
Confirming that Mt. Seymour Parkway WESTBOUND (uphill) should be part of the TRN (no dotted red line). However, EASTBOUND (downhill) has a weight restriction as per TRP cartographic layer (see below). Hence, reverse direction is correct.
Regarding Maple Ridge: The generated route is non-compliant. See below for correct route. Adjusting the truck route multiplier to 16 fixes it. I tried adjusting the GDF, but it doesn't seem to make any difference.
Thanks Greg. We will tune the machine appropriately.
This is a bit of an extreme case that would either need a multiplier of 21 or higher, or to add many LDFs along all of the north/south connecting roads between Lougheed Hwy and Dewdney Trunk Rd. There are probably a few other cases similar to this and neither option seems great.
Perhaps instead of continually applying custom tuning for each scenario like this that is discovered (which requires app restarts), we could design a smart truck mode routing approach. Not sure how possible/easy it would be to implement, but suppose a truck route is generated with a non-standard partition signature -- don't return that and instead double the multiplier and try generating a new route.
The app could even iterate like this until the signature is clean or a threshold (multiplier or number of attempts) is exceeded. Hypothetically in this case two iterations would take the multiplier from 9 up to 18 then 36, at which point a compliant route would be returned. It don't think this compliance mode would be triggered very often, but when it does, there would be good chance of an acceptable route being returned (or in some rare cases still remain impossible to be compliant).
There might an alternate approach - for the 5 municipalities that do not designate truck routes (yellow lines, Maple Ridge being one of them), all roads are truck routes (unless there is a posted truck restriction). Routing on the yellow lines, which we are treating as "equivalent" the TRN, is not mandatory. So while the route is not compliant with municipal preferences, it is not breaking a bylaw. What I'm getting at is that we could show the route as a blue line (i.e., a potential route). Not sure if that makes things easier, but it's another approach.
In the medium term, we could develop a tool that you could use to apply a local distortion field to all non-truck routes in a given area of interest. Better still, you could provide the offending route, draw the correct route, and the tool would create the needed local distortion.
In the short term, there are only twenty-one road segments that would need local distortion to handle this case.
My thought is to check with Maple Ridge about adding Laity Street and 227 St or 228 St as yellow lines (perhaps also 222 St).
Just looking around the area and 224 st might be another option, it is a larger divided road and appears to be the primary truck access to Haney Place Mall based on the position of the loading ramps.
224 Street goes right through the City centre and has undergone a road diet to make it more ped friendly.
Good to know.
Greg has identified additional truck routes in https://github.com/bcgov/smk-tlink/issues/119
I added LDF factors on 9 Mt. Seymour Pky segments -- the southern red line in the first image of this ticket. I have also posted a ticket to GeoBC for them to tag 52 Maple Ridge segments as truck routes. These are the cases identified by Greg in bcgov/smk-tlink#119.
For both updates they will become active next month in the May-based data release.
Thanks Graeme. Much appreciated.
Verified in delivery with May 2020 data:
Verified in delivery with May 2020 data:
2590 Badger Rd, District of North Vancouver, BC 4488 Indian River Dr, District of North Vancouver, BC
Reverse direction goes the long way around because of gap in truck route on Mt Seymour Pkwy
@gk-tl Please review