Just wondering if anyone has some good suggestions for a C++ library or example code to calculate if a GPS coordinate is ‘within’ a defined area (polygon preferred but rectangle would be a good basic alternative).
I’ve been looking around and haven’t found much luck.
There are a few good articles and stackoverflow posts, but nothing jumped out as tested and compelling.
(Ray tracing approach in particular has edge cases where it can fail).
Any tips would be greatly appreciated!