Outils pour utilisateurs

Outils du site


projets:plim:20142015:gr2

MAIN INFORMATIONS about the Project

MEMBERS

TASSOUX William
BOUILLET Pierre

Title of the Project : Modalités de déplacement

Name of the members of the Group

TASSOUX
William
Architecture Logicielle
tassoux@polytech.unice.fr

BOUILLET
Pierre
Architecture Logicielle
bouillet@polytech.unice.fr

Equipments

Nokia Lumia 925
Téléphone personnel: Oui
IMEI: N/A

Content of the Project

The goal of the application is to be able to get information about transportation methods, sorted by geographical regions
The application will make use of your phone's GPS to gather your location information. The specific APIs used are:

  • Windows.Devices.Geolocation (for GPS usage)
  • Microsoft.Phone.Controls (for user interaction / GUI)
  • Microsoft.Phone.Maps.Controls (for map display)

By exploiting GPS data, we can determine two informations:

  • The speed of the user at a current point
  • The most visited places by the user.

The calculation of the speed of the user is made by calculating the distance between the last two points, and dividing the distance by the time elapsed between each data reception.

Determining the most visited places by the user is more difficult. To enable this feature on our application, we used the k-means algorithm included in the library alglib.

The major problem we've encountered is that it is impossible to calculate directly the k-means because the data we have is in specific GPS coordinate, named WGS-84. The k-means algorithm implemented required the data to be compatible with euclidean distance.

To solve this issue the application converts on the fly the WGS-84 coordinates into euclidean coordinates, then the k-means algorithm computes clusters based on the user configuration. As soon as the clusters are computed, the application converts the data back into WGS-84 coordinates, which allows us to draw the clusters as green circles onto the map.

SOFTWARE PACKAGES of the Project

  • README File

To deploy the project on your computer, simply download the zip and open the Visual Studio solution file (.sln). You'll then be able to compile the application either to your phone or to an emulator. Windows Phone 8.0 or later is required.

  • Project zip file

https://mega.co.nz/#!U9RgGTzI!umPeXGJMP4Nnwk05mtPbGbIghRcQEBeGVVL2JHXKL2Q

The software uses alglib, which is included in the project. You do not need additional steps in order to build the application

HOW TO USE IT

By running the application, the main screen of the application will appear:


The usage of our application is quite straightforward. It will automatically collect the data from the GPS and add points on the map.
The application is composed of two pages, “infos” and “map”. To switch from one to another, you juste have to slide horizontally on the pages' name.

It is possible to interact with the map as in any application using a map . It is therefore possible to zoom, unzoom and move on the map.
The application will gradually draw dots for each GPS data recieved. The application will compute your current speed, and draw either a purple dot (if your speed exceeds 25kph) or red (if your speed is lower than 25kph).
This data helps you understand which are your favorite transportation method for each geographical zone.

It is possible to set the number of clusters used by the application by dragging the slider below the map page.
It is possible to delete the data recorded by clicking on the “Effacer les données” button at the bottom of the “Infos” page. This will reset all the data stored by the application, which can be useful if you want to get rid of old measurements.

RESULTS

The application works pretty well and give data precise enough to get good information about the transportation methods.
Of course because of the GPS potential inaccuracies, sometimes the calculated speed doesn't match the reality.

The clusters works pretty well too and groups position with accuracy to give a good preview of the visited location.

projets/plim/20142015/gr2.txt · Dernière modification : 2014/11/23 22:53 de bouillet