How can I create a line, with Python functions, with many points that are records in Postgis? Thank you
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking.If this question can be reworded to fit the rules in the help center, please edit the question.
Not 100% what you are asking for, but why not creating the line in PostGIS first?
That will create a different line for each gps track and order them by time. I use that to create bus routes, ordered by stop sequence.
Really fast too.