I'm trying to smooth a LineString through 1D Gaussian Smoothing and I'm having a doubt on the steps required to implement it, regardless of programming language. I couldn't find by myself anything explaining how to do it.
The linestring is a vector of coordinates, each having longitude and latitude. I'm supposed to use a 1D Gaussian Smoothing method, so that means I have to pass 2 times on the coordinates. I'm not very used to this kind of subject, so I'm a bit confused on how to apply this method.
If anyone had any experience doing this, I'd like to receive documentation or articles on the subject.
(Analogy) I'm trying to do what the least squares method does to XY coordinates. We feed it with the coordinates and calculate using some degree (linear, quadratic, etc.), then we'd get the best fitting polynomial. But in my case, I have to smooth both axis (longitude and latitude) using the 1D Gaussian filter.