It is sometimes said that a point charge is equivalent to an electric current. If it were a steady current, I should be able to find it from Ampere’s law or Biot-Savart’s law. Even if the current is time dependent I have to first determine $\vec J(\vec r,t)$ and then use $$\vec \nabla\times \vec B=\mu_0\vec J+\mu_0\epsilon_0\frac{\partial \vec E}{\partial t}$$ However, I find it difficult to think of a moving charge in a straight line (or any other open trajectory) not only as steady current but also I think that the concept of current itself is not well-defined in this case. By current we mean putting a surface perpendicular to the trajectory and calculate the current by counting number of charges flowing through it in a given time and then by dividing that by the time of observation. In this case $q$ is fixed, but time of observation $t$ is not, the current not a very meaningful object here. Therefore, I think the magnetic field produced by a moving charge cannot be calculated from Biot-Savart’s law. I think the magnetic field has to calculated as follows. A moving charge has a time-dependent charge density, which creates a time dependent electric field and the time-variation of the electric field is what creates this magnetic field from the equation $$\vec \nabla\times \vec B=\mu_0\vec J+\mu_0\epsilon_0\frac{\partial \vec E}{\partial t}$$ through the second term and I think $\vec J$ is irrelevant in this case. Am I correct?
I think I can use $\nabla\cdot\vec E=\frac{\rho(\vec r,t)}{\epsilon_0}$ to find out $\vec E(\vec r,t)$ and then put in $$\vec \nabla\times \vec B=\mu_0\epsilon_0\frac{\partial \vec E}{\partial t}$$ to determine $\vec B$? But I find it equally difficult to solve this. I cannot make out what should be the boundary conditions to solve this differential equations. For a charge moving in a straight line with uniform velocity $\vec v$ I think I can take the charge density to be $\rho(\vec r,t)=q\delta^{(3)}(\vec r-(\vec r_0+\vec vt))$ at time $t$, where $\vec r_0$ is the position of the charge at $t=0$.