I have a bunch of points representing the movement of a target:
Track_123 = [Point_1, Point_2, Point_3 ... Point_N]
Where each point is a multidimensional vector:
Point_N = [Lat, Lon, Time, Speed, Bearing, ... Var_X]
What I would like to do is to turn the list of points into a simplified track. This is sitting in a PostgreSQL/PostGIS database. I'd like to use something like ST_Simplify but that's limited to 2D or maybe 3D data. Should I do somekind of simplify in numpy and then store those as a linestring in PostgreSQL?
EDIT: What I'm hoping to achieve: So the points are not evenly distributed along the linestring and some don't add any meaningful extra information. I'm hoping to simplify the line but maintain the other info in the vector. I am leaning towards using some kind of spline to evenly space the positions and time (Lat, Lon, Time_x) and then do individual interpolation along the other vectors: interp(Time_x, Speed), interp(Time_x, Bearing) etc