I'm a beginner with the following situation:
There are fixed checkpoints on a road.
The GPS of a vehicle traveling on the road registers timestamped points with a certain frequency, with a low level of precision.
I need to know the timestamp of the GPS point closest to the checkpoint.The premise is that the road is unknown. I can't make the map necessary for validation. For example, to use a snap to road solution.
The premise is that the road is unknown. I can't make the map necessary for validation. For example, to use a snap to road solution.
I've made an image to illustrate.

cross join(and remove thep1.id <> idcondition) – JGH Feb 08 '24 at 19:11