I have a line and a series of points as geometry objects in SQL spatial. I would like to determine which side of the line each point falls on. The line represents a coastline - so some points are in the ocean, and others are on the land. Is this possible?
Asked
Active
Viewed 186 times
0
-
1Tag the dbms you're using. – jarlh Apr 25 '17 at 12:14
-
You can use a Cross Product... This is easy to find, for example these answers: http://stackoverflow.com/questions/1560492/how-to-tell-whether-a-point-is-to-the-right-or-left-side-of-a-line – Milney Apr 25 '17 at 12:15