@Override
	public DetailedAisTarget getTargetDetails(int id, boolean pastTrack) {
		DetailedAisTarget aisTarget = new DetailedAisTarget();
		AisVesselTarget target = getById(id);
		if (target != null) {
			aisTarget.init(target);
		}
		if (pastTrack) {
			// Determine secondsBack based on source
			int secondsBack = 120 * 60; // 2 hours
			boolean checkMaxGap = true;
			if (aisTarget.getSource().equals("SAT")) {
				secondsBack = 36 * 60 * 60; // 36 hours
				checkMaxGap = false;
			}						
			aisTarget.setPastTrack(getPastTrack(target.getMmsi(), secondsBack, checkMaxGap));
		}
		return aisTarget;
	}