routing
                                
                                 routing copied to clipboard
                                
                                    routing copied to clipboard
                            
                            
                            
                        Modifying lua access_values is ignored
I modified car.lua and changed in access_values ["destination"] from true to false. But its ignored.
The following route ( from N 50,04559° O 8,92986° to N 50,05547° O 8,88755°) still takes a road marked with access=destination. This is just a service-exit from highway A3 and closed for public use.
https://www.openstreetmap.org/way/60914768#map=19/50.05539/8.91121
Where am I wrong?
Can you share the actual lua file you are using?
of course
Is this a bug in the lua? Then I can check myself maybe.
That would be my guess, but in any issue the first step is reproducing it, that's why I asked for the exact profile.
What I'm going to do first to debug this:
- write part of the routerdb to geojson open in QGIS and see what's in there. That could give an idea on what is going wrong. You can use this: https://github.com/itinero/routing/blob/develop/src/Itinero/RouterDbExtensions.cs#L1020
- check and make sure that all attributes you are using in the profile are in the result.attributes_to_keep dictionary.