The route seems taking detour on the outside of the housing area, I also did not see any suspicious OSM tag that could cause this. Does someone know why this happened?
Yes, and actually that is the case. GraphHopper does not block access for this kind of gate.
However, since this is a one-way and the other gate cannot be passed the whole road becomes inaccessible. This is because it would be possible to drive the one-way, but not to get out from there. We sometimes call this a one-way subnetwork.
wasn’t private it should be able to do a u-turn just before the private gates. Then again it seems strange to tag the lift_gates as permissive if they only lead to the private area.
Then again it seems strange to tag the lift_gates as permissive if they only lead to the private area.
I think this related on how OSM Mapper interpret the permissive vs private tag usage in OSM. Residential area in this case is actually accessible by vehicles if the origin or destination is located within that area.
Residential area in this case is actually accessible by vehicles if the origin or destination is located within that area.
Isn’t this what access=destination is meant for? But this wouldn’t be correct either in case this is only allowed for a selected group of drivers (private). Anyway, if the first gates are permissive maybe the little piece of road connecting the lanes before the private gates should be permissive as well (instead of private)?
Yes correct I think access=destination is the appropriate tag, no specific selected group of drivers allowed in that area as far as I know.
Anyway, if the first gates are permissive maybe the little piece of road connecting the lanes before the private gates should be permissive as well (instead of private)?
Yes probably the previous OSM mapper missed to update this tag combination.