Still having problems with pedestrian street

In this issue I mentioned problems with a pedestrian street.

I tried to fix it but still have problems.

I can’t figure out what I am missing.
Road: https://www.openstreetmap.org/way/10663498

Example showing that Graphhopper Maps does not use the road either:
https://graphhopper.com/maps/?point=Næstved%2C%20Denmark&point=Hjultorv%2C%204700%2C%20Næstved%2C%20Denmark&locale=da&vehicle=car&weighting=fastest&elevation=true&layer=Omniscale

Hmmh, it could be that we do not allow cars on highway=pedestrian probably regardless of vehicle=yes etc. But if that is the reality then we need to make it working, somehow :slight_smile:

Here is the line which returns “no access”: https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/CarFlagEncoder.java#L205

Maybe we just need to move the getFirstPrio call a bit early, but unit test (failings) will guide you :wink:

BTW: thanks for opening this issue again, I’ve now disabled auto closing of topics here, which is too often not nice.

1 Like

Hi,

We’ve found another road with the same issue.

Here “Storetorv” is listed as “highway: pedestrian” but it does have “vehicles: yes”, yet it’s excluded from car navigation. Just to confirm is this the code that controls this?

It seems we did not consider this when we did a refactoring for an earlier version (7.0), I think.

The access code is the correct one @Sam_Ruston but there is another pre-filtering mechanism which is the problem here: https://github.com/graphhopper/graphhopper/blob/c4c07cc7f17f999fe3ed25c670bb178cb02701f4/config-example.yml#L187

We’ll change the config for production and it should be fixed next week.

1 Like