I am looking for C or C++ code to identify whether the point (a co-ordinate) lies inside a KML polygon or not.
I have searched but all I got is javascript (google maps apis) which can achieve the same. I cannot even port it directly because I have a slight modified requirement:
As far as I have researched, the 2nd point has not been achieved anywhere yet. I would want to know how to achieve this in C or C++? Or, have I missed searching any existing sources?
Would like to have inputs.
Extended the opensource libkml C++ library and implemented point in polygon in it. This is the source code:
https://github.com/gumdal/libkml-pointinpolygon
I am yet to achieve the 2nd point in my question above. Any leads in that matter would be appreciated though :)