Check if a point cordinate is between linestring cordinates

المشرف العام

Administrator
طاقم الإدارة
I know that, linestring is a vector and if i want to check that, if point cordinates are between linestring begginning and ending cordinates then i need to use vector comparison (x2 > x && x2 < x1 && y2 > y && y2 < y1) that comparison show me if x2(Point) cordinate is between a linestring(vector) codrinates.

But i dont know how do comparisson linestring cordinates and point cordinates,

Im woder if somebody give me tips how do compare that if point cordinate is between linestring cordinates?



أكثر...
 
أعلى