Browse > Article
http://dx.doi.org/10.6109/jicce.2019.17.2.142

Android Application for Connecting Cycling Routes on Strava Segments  

Mulasastra, Intiraporn (Department of Computer Engineering, Kasetsart University)
Kao-ian, Wichpong (Department of Computer Engineering, Kasetsart University)
Abstract
Relatively few countries provide separate bicycle lanes for cyclists. Hence, tools for suggesting cycling routes are essential for a safe and pleasant cycling experience. This study aims to develop a mobile application to build cycling routes based on user preferences, specifically location, search radius, ride distance, and number of optimal routes. Our application calls the Strava API to retrieve Strava cycling segments crowdsourced from the cycling community. Then, it creates a graph consisting of the start and end points of these segments. Beginning from a user-specified location, the depth-first search algorithm (DFS) is applied to find routes that conform to the user's preferences. Next, a set of optimal routes is obtained by computing a trade-off ratio for every discovered route. This ratio is calculated from the lengths of all segments and the lengths of all connecting paths. The connected routes can be displayed on a map on an Android device or exported as a GPX file to a bike computer. Future work must be performed to improve the design of the user interface and user experience.
Keywords
Android application; Bike navigator; Depth-First Search; GPX; Strava segments;
Citations & Related Records
연도 인용수 순위
  • Reference
1 S. Hu and T. Dai, "Online map application development using Google Maps API, SQL database, and ASP.NET," International Journal of Information and Communication Technology Research, vol. 3, no. 3, pp. 102-110, 2013.
2 A. Pinandito, A. P. Kharisma, and R. S. Perdana, "Framework design for map-based navigation in Google Android platform," Journal of Telecommunication, vol. 10, no. 1-8, pp. 35-40 , 2018.
3 Strava, en.wikipedia.org, 2017, [online] Available: https://en.wikipedia.org/wiki/Strava.
4 USAF, "Global positioning system standard positioning service signal specification," US Government, 1995.
5 GPX: the GPS exchange format, 2017, [online] Available: http://www.topografix.com/gpx.asp.
6 The GPS exchange format, 2017, [online] Available: http://www.topografix.com/gpx_for_users.asp.
7 GPS exchange format, 2017, [online] Available: https://en.wikipedia.org/wiki/GPS_Exchange_Format.
8 HTTP/1.1: Request, 2017, [online] Available: https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.
9 J. Lennon, "Introduction to JSON," in Beginning CouchDB, New York, NY: Apress, pp. 87-105, 2009. DOI: 10.1007/978-1-4302-7236-6_6.   DOI
10 C. Bell, Strava Segments, [online] Available: https://www.doogal.co.uk/strava.php.
11 Explore segments, Strava Developer, [online] Available: http://developers.strava.com/docs/reference/#api-Segments-exploreSegments.
12 Polyline, Google APIs for Android, 2017, [online] Available: https://developers.google.com/android/reference/com/google/android/gms/maps/model/Polyline.
13 Encoded polyline algorithm format, Google Maps APIs, 2017, [online] Available: https://developers.google.com/maps/documentation/utilities/polylinealgorithm.
14 Best practices using google maps APIs web services, Google Map Platform, [online] Available: https://developers.google.com/maps/documentation/roads/web-servise-best-practices.
15 Developer guide, Google Maps Platform, [online] Available: https://developers.google.com/maps/documentation/directions/intro#RequestParameters.
16 T. Cormen, C. Leiserson, R. Rivest, and C. Stein, Introduction to Algorithms, 3rd ed., Cambridge, MA: MIT Press and McGraw-Hill, 2009.
17 R. Lafore, Data Structures and Algorithms in Java, 2nd ed. Indiana: Sams Publishing, 2002.
18 Google direction library, 2017, [online] Available: http://www.akexorcist.com/2015/12/google-direction-library-for-android-th.html
19 Polyline, [online] Available: https://docs.eegeo.com/eegeo.js/v0.1.680/docs/leaflet/L.Polyline/.
20 M. Needham, Leaflet: Mapping Strava runs/polylines on Open Street Map, [online] Available: https://markhneedham.com/blog/2017/04/29/leaflet-strava-polylines-osm/.
21 KML and GeoRSS layers, Google Maps Platform, [online] Available: https://developers.google.com/maps/documentation/javascript/kmllayer.
22 W. Kao-Ian and I. Mulasastra, "Creating cycle routes on Strava segments", in Proceeding of the 2nd International Conference on Cultural Technology, Tokyo, Japan, pp. 143-146, 2018.
23 M. Schmidt and P. Weiser, "Web mapping services: development and trends," in Online Maps with APIs and WebServices, Berlin, Heidelberg: Springer, pp. 13-21, 2012. DOI: 10.1007/978-3-642-27485-5_2.   DOI
24 M. Loidl and H. H. Hochmair, "Do online bicycle routing portals adequately address prevalent safety concerns?," Safety, vol. 4, no. 9, pp. 1-13, 2018. DOI: 10.3390/safety4010009.