Pure maps navigation port
-
Okay, I get it, I've tried it and it works well that way, perfect,
Thank you very much
-
@Josele13 : great! as for too large data consumption - that should be resolved with the port of offline data server. hopefully, this year
-
Hello rinigus, first and foremost, thank you for porting a great app to Ubuntu Touch, I was just curious if there's any plans to add an option of trucks/lorries to the navigation options (like car, bus, train, ...) I have been driving a truck/lorry (not sure what you call them, they are trucks to me) for work and pure maps has worked out well, but there are a few routes its wanted me to go that I can't take the truck on. I would also like to take this moment to ask if you need volunteers for testing, I have Pure Maps working on my Galaxy Note 4 port of Ubuntu Touch and would love to help out, I lack knowledge on app programming though
-
Hi,
looks like there is support for trucks in Valhalla (https://github.com/valhalla/valhalla/issues/2044). Valhalla is a routing engine which calculates the best route and few other interesting parameters. It is used by offline OSM Scout Server (not ported yet, ping the porters) and Stadia. I don't know what's the status with Stadia in terms of being up-to-date with Valhalla development.
In addition, seems like HERE has truck support as well. In principal, we can add full HERE support as now I can comply with their license, see https://github.com/rinigus/pure-maps/issues/275 . There was one user who was interested, but I don't think (s)he implemented it. So, if there is interest, you or someone else are welcome to help.
Pure Maps has separate modules for each of the providers and the new functionality can be easily added via writing new extensions. If there is someone wishing to help, I'll be happy to guide through the code.
-
@rinigus I am always willing to help, when it comes to app development Im best classified as a noob, I can compile code though. I am willing to help implement features if theres someone that can help/guide me through the process.
-
If we start with HERE, see their API first. We need search (address->coordinates), routing and reverse search (coordinates->address).
Pure Maps uses REST API to communicate with the servers. So, check their REST API and see if you can get trucks support if you use it.
Docs are at https://developer.here.com/documentation
Routing at https://developer.here.com/documentation/routing/dev_guide/topics/request-a-simple-route.html
If routing seems OK, then let's start with search. Its API at https://developer.here.com/documentation/geocoder/dev_guide/topics/what-is.html
That API we will translate to code in https://github.com/rinigus/pure-maps/tree/master/geocoders , so Pure Maps will understand it