Riaan Koegelenberg wrote:
Have anyone ever done something like this? I need to determine whether this polygon then contain a specific point (coordinates also in lat/long).
This is really, /really/! hard to do if you need any sort of acccuracy. The Earth is a spheroid, not flat, so any 2D-based solutions are wrong.
Best is to search for Great Circle navigation code, or ask Mr Ulrich Schultz in the Hydrographer's office - I don't think too many other people in the country know the math involved.
-- mike morris :: mike.morris (at) cocosoft . co . za cOcO technologies :: www . coco-technologies . co . za http://mikro2nd.blogspot.com/ http://www.openseed.org/farm/ ----- A day without chillies is a day wasted ------
