what I'm trying to do it's quite simple, but I can't figure out how to do it with HERE. I have multiple polygons with a property [0...10] that defines the air quality of an area.
What I need to do is to create an optimal route for pedestrians in order move from A to B passing through areas with best air quality.
So my goal is that the route:
- Should categorically avoid areas with air_quality < 2 (that's simple I think with the "avoid" query parameter in the API)
- To pass through areas with the best air quality as possible. That's what I can't figure how to do.
Little suggestion. I think that the goal to "pass through areas with the best air quality as possible" is conceptually similar to a bike that has to be routed without changing too much its altitude. But again, I don't know how to do that with HERE APIs!