Hiyas,
I’ve implemented low level API and its currently processing at about half the time it takes using standard GH requests. I would like to implement forced curbsides in the low lvl API
Normally I would force curbsides in the GHRequest;
GHRequest request = new GHRequest(fLat, fLong, tLat, tLong).setProfile("van").setCurbsides(CURBSIDES).putHint(Parameters.Routing.FORCE_CURBSIDE, false);
Now when using low level API - I’m unsure how to force curbsides.
Does it have to be set in the algo?
BidirRoutingAlgorithm algo = new CHRoutingAlgorithmFactory(graph.getRoutingCHGraph("van"), queryGraph).createAlgo(new PMap());
Or the path?
Path path = algo.calcPath(fromSnap.getClosestNode(), toSnap.getClosestNode());