[Photon] location bias
Peter
graphhopper at gmx.de
Mon Jan 15 08:00:43 UTC 2018
Hi,
When upgrading from the old to the new geocoding I can see a good
average speed improvement overall.
One bigger headache I have is that the location bias previously wasn't
that well working and now is very strict. Here is an example
illustrating the necessary different strengths. Always assume I use
"berlin" as location bias (e.g. from a guessed location via IP address).
Now if I use the location bias and
1. I type "railway station" (or "bahnhof") then I want stations of this
city as first result, but
2. if I type another city like Paris I usually want a mix of "Berlin,
Pariser Platz" and results from the city "Paris".
Currently the location bias will only work in the first scenario. We
could reduce the strength until it works but other use cases might
require a different value, but I doubt that we'll improve the situation
if we let the user tune this strength.
Maybe I have to mix the results from two requests (one with the location
bias, one without) on the client side? What do you think?
Regards
Peter
--
GraphHopper.com - fast and flexible route planning
More information about the Photon
mailing list