New answers tagged geodesic
The following is a very close approximation to the right answer which works under the assumption that the vertices of the polygon and the point in question all lie within roughly 2000 km of each other: Download and install the my C++ library GeographicLib. Using the test point as the center of projection, use the Gnomonic class to transform the vertices of ...
In python, there's a library called shapely...one call will do it once you've constructed your polygon and point: point.within(polygon) See: http://stackoverflow.com/questions/217578/point-in-polygon-aka-hit-test/2922778#2922778 this was the result of a google search "c++ polygon point within"
Top 50 recent answers are included