Thread: [SailfishOS] Pan Transit
View Single Post
otsaloma's Avatar
Posts: 141 | Thanked: 1,530 times | Joined on May 2011 @ Finland
#12
Originally Posted by bomo View Post
Just for me to understand it completely: Would you then propose to use/add a search provider that knows e.g. the bus/train stations and then a corresponding routing provider (probably coming from the same backend) for the routing / journey planning?
For the Digitransit router in Poor Maps, I have also added the corresponding geocoder that knows the names of all stops.

https://github.com/otsaloma/poor-map...digitransit.py

But note that usually you don't need to know the stop names. Routers usually work with coordinates and if you know the address or some other place name, any geocoder will convert that to coordinates. And if stops exist in OpenStreetMap data, then OpenStreetMap-based geocoders do find them too.
 

The Following 2 Users Say Thank You to otsaloma For This Useful Post: