I have a LINESTRING made of two points start point and end point in spatialite.
UPDATE points SET road_geometry = GeomFromText('LINESTRING(24.889142 67.196188,
24.889673 67.196579)',4326) where name='name';
and Now, I want to check that if any other point is within that line string or how far the point is from the LINESTRING.