I am sorry I can not to find about customize EdgeFilter in those docs.
What are you trying to do?
Hi,we want to avoid snapping some road like primary highway when on foot.But the
snap_prevention parameter can not support
By the way,we are using the graphhopper 0.13.
You will have to modify the Java code to adjust the snap prevention behavior like this (for recent 2.3, master and 0.13). The recommended approach to do this is Option 2 here: https://github.com/graphhopper/graphhopper/pull/2106#issuecomment-688914649
But do you want to prevent only snapping to primary highways or do you want to avoid primary highways in general? The latter can be done with custom weightings and the snapping will then also be avoided.
Yeah,I know the custom weightings and also using them.I want to the start point not choice primary highways when on foot,although the footway farther way.
I found that the choice of starting point seems to have nothing to do with weight.
Ok, so did this answer your question?