Join GitHub today
Photon – advanced searching #28
Implementing better search feature
Our current search feature is based on Nominatim, which makes it very basic and sometimes unstable.
Wouldn't it be great to use a service, like Photon?
This would give us:
@voltagex You can find the corresponding part of the app in the search controller: https://github.com/sozialhelden/wheelmap/blob/master/app/controllers/search_controller.rb
Here you will find the current implementation of the Nominatim API. To change this implementation to use Photon should be quite trivial. The maybe a bit more difficult part is to handle the Photon response as Nominatim has an own format and Photon uses GeoJSON.
If you have any more questions, don't hesitate to ask.