So, I have groups of polylines returned from google map API (Green, Red and Yellow), some starting point
p (blue one), and a radius
r. I need to find all routes whose distance from p is no greater than r (in this case red and yellow)
I know that I can calculate it manually (find equation of each line and compare it to the equation of the circle) but it can be inefficient for many routes. So my question is:
Is there builtin function in PostGIS which will help me accomplish this task?