This is small part of our application. Really we are looking for developer for full time freelance work for a long period. This is just entry task.
Application for iOs, algorithm should be written on SWIFT
The analyze track algorithm
There is a track as an array (list) of points. Point this is class GeoPoint, which includes latitude, longitude and altitude. The track - record of movement of the skier (snowboarder) on ski resort during the all day.
The algorithm should separate the following types of parts of the track
• ascending with lift up
• descending down
• stop points (sitting in a restaurant, etc.)
• Standing in line for the lift
• Movement on the horizontal surface.
The entire day should be separated to parts of the track. Algorithm should return an array (list) of pairs - the type of track parts and a part of the track itself as an array (list) of points.
The criteria for the algorithm:
• Raising the lift up - increase in height.
• downhill skiing down - falling height
• marking time (sitting in a restaurant, etc.) - all points within XX meters apart
• Standing in line for the lift - very slow motion at a sufficiently short interval
• Driving on a horizontal surface - other movements with a small difference in height between adjacent points
• ascending with lift up – altitude is increased
• descending down – altitude is decreased
• stop points - all points within XX meters around
• Standing in line for the lift - very slow motion at a sufficiently short distance
• Movement on the horizontal surface - other movements with a small difference in height between nearby points