Hello I am making a animation time series map in CARTO builder. The animation works fine, but I would like my points to continuously move from point A to B, not just populate from point A to B like its doing now if theres a vast distance for the particular ID for that point. I know this would work if I had many more coordinates filling in from point A to B like in this example, but I don't. So is there a way to do this in cartodb?
Asked
Active
Viewed 306 times
1 Answers
1
CARTO BUILDER allows you to analyze and visualize your data according to your values. So as you pointed out, you would need to enrich your dataset with data among those dates and locations. Regarding dates, you can use generate_series
PostgreSQL function as explained here. In relation to generating points between two coordinates, you would need to create a line (via Connect with lines
analysis or ST_MakeLine
) and then apply ST_DumpPoints
).

ramiroaznar
- 266
- 5
- 15
-
Thank you for your advice! That's all i needed to know:) – Michael McKeever May 22 '17 at 16:17