Re: [OpenMap Users] method to determine if a (lat,lon) lies inside a polygon region?

From: Ken Anderson <kanderson@bbn.com>
Date: Mon Dec 23 2002 - 17:05:05 EST

I recently coded this up for a friend, but he has not integrated it into his application or tested it yet. When were' done, i should probably contribute it to openmap because i answer a handfull of such questions each year.
It does its computation on a three dimensional earth.

k

At 01:55 PM 12/23/2002, Ed MacKerrow wrote:
>I have the need to determine whether or not a given (lat,lon) position is inside a polygon region on a map (OMPoly). I have used the extents method of OMPoly to attempt this, however, for I have some very irregular shaped polygon regions which extents will not corrected for the "skewness" of this regions. Does anyone have any good ideas on how to do this?
>
>Thanks
>
>ed
>
>
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Ed MacKerrow
>Theoretical Division, T-13, Complex Systems
>Mail Stop - B213 Los Alamos National Laboratory
>Los Alamos, NM 87545
>(505) 665-3491 (office)
>(505) 603-0352 (cell)
>(505) 665 - 3003 (fax)
>mackerrow@lanl.gov
>
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Dec 23 17:07:03 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT