Esempio n. 1
0
        public static int SnapTripToRoad(int tripId)
        {
            TripPathService service      = new TripPathService();
            var             measurements = service.GetTripMeasuremnts(tripId);

            measurements.MapToSnappedLocations();
            return(service.SaveChanges());
        }
Esempio n. 2
0
        public static int SnapSampleRangeToRoad(int FromSampleId, int ToSampleId)
        {
            TripPathService service      = new TripPathService();
            var             measurements = service.GetTripMeasuremnts(FromSampleId, ToSampleId);

            measurements.MapToSnappedLocations();
            return(service.SaveChanges());
        }
Esempio n. 3
0
 public TripController()
 {
     service        = new TripPathService();
     anomalyService = new AnomalyService();
 }