Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Dynamic path weight calculation #366

Open
alz86 opened this issue Aug 16, 2023 · 0 comments
Open

[Question] Dynamic path weight calculation #366

alz86 opened this issue Aug 16, 2023 · 0 comments

Comments

@alz86
Copy link

alz86 commented Aug 16, 2023

Hello @xivk ,

I am working on a project that suggests routes based on a street's perceived safety, primarily for women who seek an added assurance of security as they navigate.

We have employed Itinero as our routing engine and are pleased with its performance. Our goal is to combine OpenStreetMap (OSM) data with external sources to give each street a "safety score" based on factors such as reported crime rates, presence of street lighting, etc. We hope to then prioritize these scores when generating routes.

From my examination of the code, Itinero seems to compute weights generally during the initial OSM data load. Subsequent route calculations seem to use this pre-calculated weight data. Given this, for our project, it appears we'd need to regenerate our routing database frequently—every time our safety score data is updated, in fact.

Is our understanding and approach accurate? Is there a way for us to dynamically adjust weight calculations by incorporating our safety scores? What would be your recommended method to achieve our objectives?

Any insights would be greatly appreciated, and thank you for the invaluable work you've put into Itinero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant