logger.info(trj_id+" trajectories inserted");
trj_id++;
}
}
trj = new Trajectory();
trj.setMovingObject(new MovingObject(userid));
}
if(pt != null)lastPt = pt;
pt = new GPSPoint(lat,lng,northing,easting,userid,datetime,name,desc);
pt.comparePrePoint(lastPt);
Episode lastEpisode = trj.getLastEpisode();